summaryrefslogtreecommitdiff
path: root/NxWidgets/nxwm/include/cnxtaskbar.hxx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-29 22:10:52 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-29 22:10:52 +0000
commit45f021f2a88d9f76c7802aa31d3fc67827ff288d (patch)
tree4a7abb3a751f790f2ac18f842ee27f32c5941818 /NxWidgets/nxwm/include/cnxtaskbar.hxx
parentc38d91a6cda19491b56dfb2e298e28ea3de06086 (diff)
downloadnuttx-45f021f2a88d9f76c7802aa31d3fc67827ff288d.tar.gz
nuttx-45f021f2a88d9f76c7802aa31d3fc67827ff288d.tar.bz2
nuttx-45f021f2a88d9f76c7802aa31d3fc67827ff288d.zip
NxWM update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4676 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/nxwm/include/cnxtaskbar.hxx')
-rw-r--r--NxWidgets/nxwm/include/cnxtaskbar.hxx17
1 files changed, 13 insertions, 4 deletions
diff --git a/NxWidgets/nxwm/include/cnxtaskbar.hxx b/NxWidgets/nxwm/include/cnxtaskbar.hxx
index 5f1a81527..3809e17ff 100644
--- a/NxWidgets/nxwm/include/cnxtaskbar.hxx
+++ b/NxWidgets/nxwm/include/cnxtaskbar.hxx
@@ -60,11 +60,11 @@ namespace NxWM
* This class describes the NX window manager's task bar
*/
- class CNxTaskBar : public NxWidgets::CNxServer
+ class CNxTaskBar : public NXWidgets::CNxServer, private NXWidgets::CWidgetEventHandler
{
private:
- NxWidgets:INxWindow *m_taskbar; /**< The toolbar window */
- NxWidgets:INxWindow *m_background; /**< The background window */
+ NXWidgets:INxWindow *m_taskbar; /**< The toolbar window */
+ NXWidgets:INxWindow *m_background; /**< The background window */
INxApplication *m_start; /**< The start window */
/**
@@ -110,7 +110,7 @@ namespace NxWM
* @param window. The window to be resized and repositioned
*/
- void setApplicationGeometry(NxWidgets::INxWindow *window);
+ void setApplicationGeometry(NXWidgets::INxWindow *window);
/**
* Create the toolbar window.
@@ -128,6 +128,15 @@ namespace NxWM
bool createBackgroundWindow(void);
+
+ /**
+ * Handle a mouse button click event.
+ *
+ * @param e The event data.
+ */
+
+ void handleClickEvent(const CWidgetEventArgs &e);
+
/**
* CNxTaskBar Destructor
*/