summaryrefslogtreecommitdiff
path: root/NxWidgets/nxwm/include/nxwmconfig.hxx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-29 14:34:56 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-29 14:34:56 +0000
commit530e4e8173cbbdc299b7244ef5ba839f17b49556 (patch)
treea1b741f5bd64efb9dbae3d238b08072ebcc2883c /NxWidgets/nxwm/include/nxwmconfig.hxx
parente35aa390b0d57483b82638952ad62f3a7f5373b5 (diff)
downloadnuttx-530e4e8173cbbdc299b7244ef5ba839f17b49556.tar.gz
nuttx-530e4e8173cbbdc299b7244ef5ba839f17b49556.tar.bz2
nuttx-530e4e8173cbbdc299b7244ef5ba839f17b49556.zip
Fix STM32 USART4/5 vs UART4/5 confusion
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4671 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/nxwm/include/nxwmconfig.hxx')
-rw-r--r--NxWidgets/nxwm/include/nxwmconfig.hxx38
1 files changed, 38 insertions, 0 deletions
diff --git a/NxWidgets/nxwm/include/nxwmconfig.hxx b/NxWidgets/nxwm/include/nxwmconfig.hxx
index 18b35d83a..e5a85ac5a 100644
--- a/NxWidgets/nxwm/include/nxwmconfig.hxx
+++ b/NxWidgets/nxwm/include/nxwmconfig.hxx
@@ -47,7 +47,16 @@
/****************************************************************************
* Pre-Processor Definitions
****************************************************************************/
+/* General Configuration ****************************************************/
+/**
+ * NX Multi-user support is required
+ */
+
+#ifndef CONFIG_NX_MULTIUSER
+# warning "NX multi-user support is required (CONFIG_NX_MULTIUSER)"
+#endif
+/* Colors *******************************************************************/
/**
* Normal background color
*/
@@ -80,5 +89,34 @@
# define CONFIG_NXWM_DEFAULT_SELECTEDFOREGROUNDCOLOR MKRGB(248,248,248)
#endif
+/* Task Bar Configuation ***************************************************/
+/* At present, all icons are 25 pixels in "widgth" and, hence require a
+ * task bar of at least that size.
+ */
+
+#ifndef CONFIG_NXWM_TASKBAR_WIDTH
+# define CONFIG_NXWM_TASKBAR_WIDTH (25+2*2)
+#endif
+
+/* Check task bar location */
+
+#if defined(CONFIG_NXWM_TASKBAR_TOP)
+# if defined(CONFIG_NXWM_TASKBAR_BOTTOM) || defined (CONFIG_NXWM_TASKBAR_LEFT) || defined (CONFIG_NXWM_TASKBAR_RIGHT)
+# warning "Multiple task positions specified"
+# endif
+#elif defined(CONFIG_NXWM_TASKBAR_BOTTOM)
+# if defined (CONFIG_NXWM_TASKBAR_LEFT) || defined (CONFIG_NXWM_TASKBAR_RIGHT)
+# warning "Multiple task positions specified"
+# endif
+#elif defined(CONFIG_NXWM_TASKBAR_LEFT)
+# if defined defined (CONFIG_NXWM_TASKBAR_RIGHT)
+# warning "Multiple task positions specified"
+# endif
+#elif !defined(CONFIG_NXWM_TASKBAR_RIGHT)
+# warning "No task positions specified"
+# define CONFIG_NXWM_TASKBAR_TOP 1
+#endif
+
+/* Colors *******************************************************************/
#endif // __INCLUDE_NXWM_CONFIG_HXX