summaryrefslogtreecommitdiff
path: root/NxWidgets/nxwm/src/ctaskbar.cxx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-15 16:40:43 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-05-15 16:40:43 +0000
commit91e38a73cd93af894ecaf44476ae8e6313670cb5 (patch)
treecb7832604175934e7af73bad5da00c0581f4fbef /NxWidgets/nxwm/src/ctaskbar.cxx
parentdf1d64bd97cfc3039c113a258af134da6e6ba742 (diff)
downloadpx4-nuttx-91e38a73cd93af894ecaf44476ae8e6313670cb5.tar.gz
px4-nuttx-91e38a73cd93af894ecaf44476ae8e6313670cb5.tar.bz2
px4-nuttx-91e38a73cd93af894ecaf44476ae8e6313670cb5.zip
NxWidgets: New pre-release event. Action now raised on pre-release. NxWM: Use action event to process icon touches; Fix initialization of image highlighted state.
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4740 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'NxWidgets/nxwm/src/ctaskbar.cxx')
-rw-r--r--NxWidgets/nxwm/src/ctaskbar.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/NxWidgets/nxwm/src/ctaskbar.cxx b/NxWidgets/nxwm/src/ctaskbar.cxx
index b15916b0a..ec3d8460b 100644
--- a/NxWidgets/nxwm/src/ctaskbar.cxx
+++ b/NxWidgets/nxwm/src/ctaskbar.cxx
@@ -1277,14 +1277,14 @@ void CTaskbar::hideApplicationWindow(IApplication *app)
}
/**
- * Handle a mouse button click event.
+ * Handle a widget action event. For CImage, this is a mouse button pre-release event.
*
* @param e The event data.
*/
-void CTaskbar::handleClickEvent(const NXWidgets::CWidgetEventArgs &e)
+void CTaskbar::handleActionEvent(const NXWidgets::CWidgetEventArgs &e)
{
- // icon was clicked?
+ // Was a n ICON clicked?
for (int i = 0; i < m_slots.size(); i++)
{