diff options
Diffstat (limited to 'NxWidgets/libnxwidgets/include')
-rw-r--r-- | NxWidgets/libnxwidgets/include/ccyclebutton.hxx | 2 | ||||
-rw-r--r-- | NxWidgets/libnxwidgets/include/cnxwidget.hxx | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/NxWidgets/libnxwidgets/include/ccyclebutton.hxx b/NxWidgets/libnxwidgets/include/ccyclebutton.hxx index f7f965933..d8a32175e 100644 --- a/NxWidgets/libnxwidgets/include/ccyclebutton.hxx +++ b/NxWidgets/libnxwidgets/include/ccyclebutton.hxx @@ -152,7 +152,7 @@ namespace NXWidgets * @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. diff --git a/NxWidgets/libnxwidgets/include/cnxwidget.hxx b/NxWidgets/libnxwidgets/include/cnxwidget.hxx index 32e3dfbc6..a6982660b 100644 --- a/NxWidgets/libnxwidgets/include/cnxwidget.hxx +++ b/NxWidgets/libnxwidgets/include/cnxwidget.hxx @@ -797,6 +797,13 @@ 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. * * @param isBorderless The border state. |