summaryrefslogtreecommitdiff
path: root/NxWidgets/libnxwidgets/include/cimage.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'NxWidgets/libnxwidgets/include/cimage.hxx')
-rw-r--r--NxWidgets/libnxwidgets/include/cimage.hxx15
1 files changed, 12 insertions, 3 deletions
diff --git a/NxWidgets/libnxwidgets/include/cimage.hxx b/NxWidgets/libnxwidgets/include/cimage.hxx
index 0b7be14f2..0fe275624 100644
--- a/NxWidgets/libnxwidgets/include/cimage.hxx
+++ b/NxWidgets/libnxwidgets/include/cimage.hxx
@@ -143,16 +143,25 @@ namespace NXWidgets
virtual void onClick(nxgl_coord_t x, nxgl_coord_t y);
/**
- * Raises an action event and redraws the button.
+ * Raises an action.
*
* @param x The x coordinate of the mouse.
* @param y The y coordinate of the mouse.
*/
- virtual void onRelease(nxgl_coord_t x, nxgl_coord_t y);
+ virtual void onPreRelease(nxgl_coord_t x, nxgl_coord_t y);
/**
- * Redraws the button.
+ * Redraws the image.
+ *
+ * @param x The x coordinate of the mouse.
+ * @param y The y coordinate of the mouse.
+ */
+
+ virtual void onRelease(nxgl_coord_t x, nxgl_coord_t y);
+
+ /**
+ * Redraws the image.
*
* @param x The x coordinate of the mouse.
* @param y The y coordinate of the mouse.