diff options
Diffstat (limited to 'NxWidgets/libnxwidgets/include/cnxwidget.hxx')
-rw-r--r-- | NxWidgets/libnxwidgets/include/cnxwidget.hxx | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/NxWidgets/libnxwidgets/include/cnxwidget.hxx b/NxWidgets/libnxwidgets/include/cnxwidget.hxx index f8c472e75..dd1880cc2 100644 --- a/NxWidgets/libnxwidgets/include/cnxwidget.hxx +++ b/NxWidgets/libnxwidgets/include/cnxwidget.hxx @@ -74,7 +74,7 @@ /**************************************************************************** * Included Files ****************************************************************************/ - + #include <nuttx/config.h> #include <stdint.h> @@ -95,11 +95,11 @@ /**************************************************************************** * Pre-Processor Definitions ****************************************************************************/ - + /**************************************************************************** * Implementation Classes ****************************************************************************/ - + #if defined(__cplusplus) namespace NXWidgets @@ -192,7 +192,7 @@ namespace NXWidgets CWidgetEventHandlerList *m_widgetEventHandlers; /**< List of event handlers. */ // Double-clicking - + struct timespec m_lastClickTime; /**< System timer when last clicked. */ nxgl_coord_t m_lastClickX; /**< X coordinate of last click. */ nxgl_coord_t m_lastClickY; /**< Y coordinate of last click. */ @@ -281,7 +281,7 @@ namespace NXWidgets */ virtual inline void onClick(nxgl_coord_t x, nxgl_coord_t y) { } - + /** * Called when the widget is double-clicked. Override this when * creating new widgets if the widget should exhibit additional @@ -305,7 +305,7 @@ namespace NXWidgets */ virtual inline void onPreRelease(nxgl_coord_t x, nxgl_coord_t y) { } - + /** * Called just after the widget is released; the widget will be in the * released stated. Override this when creating new widgets if the @@ -316,7 +316,7 @@ namespace NXWidgets */ virtual inline void onRelease(nxgl_coord_t x, nxgl_coord_t y) { } - + /** * Called when the widget is released outside of its boundaries. * Override this when creating new widgets if the widget should exhibit @@ -327,7 +327,7 @@ namespace NXWidgets */ virtual inline void onReleaseOutside(nxgl_coord_t x, nxgl_coord_t y) { } - + /** * Called when the widget is dragged. Override this when creating new * widgets if the widget should exhibit additional behaviour when it is @@ -341,7 +341,7 @@ namespace NXWidgets virtual inline void onDrag(nxgl_coord_t x, nxgl_coord_t y, nxgl_coord_t vX, nxgl_coord_t vY) { } - + /** * Called when the widget starts being dragged. Override this when * creating new widgets if the widget should exhibit additional @@ -349,7 +349,7 @@ namespace NXWidgets */ virtual inline void onDragStart(void) { } - + /** * Called when the widget stops being dragged. Override this when * creating new widgets if the widget should exhibit additional @@ -357,7 +357,7 @@ namespace NXWidgets */ virtual inline void onDragStop(void) { } - + /** * Called when the widget gains focus. Override this when creating new * widgets if the widget should exhibit additional behaviour when @@ -365,7 +365,7 @@ namespace NXWidgets */ virtual inline void onFocus(void) { } - + /** * Called when the widget loses focus. Override this when creating new * widgets if the widget should exhibit additional behaviour when @@ -381,7 +381,7 @@ namespace NXWidgets */ virtual inline void onEnable(void) { } - + /** * Called when the widget is disabled. Override this when creating new * widgets if the widget should exhibit additional behaviour when @@ -389,7 +389,7 @@ namespace NXWidgets */ virtual inline void onDisable(void) { } - + /** * Called when the widget is resized. Override this when creating new * widgets if the widget should exhibit additional behaviour when @@ -478,7 +478,7 @@ namespace NXWidgets /** * Has the widget been marked for deletion? This function recurses up the widget * hierarchy and only returns true if all of the widgets in the ancestor - * chain are not deleted. + * chain are not deleted. * * Widgets marked for deletion are automatically deleted and should not be * interacted with. @@ -798,11 +798,11 @@ namespace NXWidgets /** * Get the style used by this widget - * + * * @return Const pointer to CWidgetStyle stored inside this widget. */ inline const CWidgetStyle *getWidgetStyle() const { return &m_style; } - + /** * Sets this widget's border state. * |