summaryrefslogtreecommitdiff
path: root/NxWidgets/nxwm/src/ctaskbar.cxx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-13 14:36:59 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-13 14:36:59 +0000
commit193f6fa1764c7d1d88efced8af88c785ebff891f (patch)
treead7cd2e11ec8b196ca588de12508afb294a689c8 /NxWidgets/nxwm/src/ctaskbar.cxx
parentdddc850bfc8afdd0fb6e02d1541636931abaa70a (diff)
downloadpx4-nuttx-193f6fa1764c7d1d88efced8af88c785ebff891f.tar.gz
px4-nuttx-193f6fa1764c7d1d88efced8af88c785ebff891f.tar.bz2
px4-nuttx-193f6fa1764c7d1d88efced8af88c785ebff891f.zip
NxWM: Fix detection of touch events in the tool bar; Start window should not have a stop icon
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4729 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/nxwm/src/ctaskbar.cxx')
-rw-r--r--NxWidgets/nxwm/src/ctaskbar.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/NxWidgets/nxwm/src/ctaskbar.cxx b/NxWidgets/nxwm/src/ctaskbar.cxx
index 9558e47a8..c6e1b574b 100644
--- a/NxWidgets/nxwm/src/ctaskbar.cxx
+++ b/NxWidgets/nxwm/src/ctaskbar.cxx
@@ -264,9 +264,11 @@ bool CTaskbar::startWindowManager(void)
*
* 4. Call CTaskBar::startApplication start the application and bring its window to
* the top.
+ *
+ * @param flags. CApplicationWindow flugs for window customization.
*/
-CApplicationWindow *CTaskbar::openApplicationWindow(void)
+CApplicationWindow *CTaskbar::openApplicationWindow(uint8_t flags)
{
// Get a framed window for the application
@@ -282,7 +284,7 @@ CApplicationWindow *CTaskbar::openApplicationWindow(void)
// Use this window to instantiate the application window
- CApplicationWindow *appWindow = new CApplicationWindow(window);
+ CApplicationWindow *appWindow = new CApplicationWindow(window, flags);
if (!appWindow)
{
delete window;