diff options
Diffstat (limited to 'src/gui/widgets/widget.h')
-rw-r--r-- | src/gui/widgets/widget.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/widget.h b/src/gui/widgets/widget.h index e69e1c061..b94f81251 100644 --- a/src/gui/widgets/widget.h +++ b/src/gui/widgets/widget.h @@ -121,9 +121,9 @@ class Widget notfinal : public Widget2 * @param graphics aA graphics object to draw with. * @since 0.1.0 */ - virtual void draw(Graphics* graphics) A_NONNULL(2) = 0; + virtual void draw(Graphics *const graphics) A_NONNULL(2) = 0; - virtual void safeDraw(Graphics* graphics) A_NONNULL(2) = 0; + virtual void safeDraw(Graphics *const graphics) A_NONNULL(2) = 0; /** * Called when a widget is given a chance to draw a frame around itself. @@ -721,7 +721,7 @@ class Widget notfinal : public Widget2 * @return True if an instance of the widget exists, false otherwise. * @since 0.1.0 */ - static bool widgetExists(const Widget* widget) A_WARN_UNUSED; + static bool widgetExists(const Widget *const widget) A_WARN_UNUSED; /** * Checks if tab in is enabled. Tab in means that you can set focus |