diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:19:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:19:35 +0300 |
commit | 3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 (patch) | |
tree | 2053748aba4fd1e01020effe9322757426354d28 /src/gui/widgets/basiccontainer.h | |
parent | 2577a25f8a4acf587526809fda2ded95875e1222 (diff) | |
download | mv-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.tar.gz mv-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.tar.bz2 mv-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.tar.xz mv-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.zip |
Add missing const in gui directory.
Diffstat (limited to 'src/gui/widgets/basiccontainer.h')
-rw-r--r-- | src/gui/widgets/basiccontainer.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/widgets/basiccontainer.h b/src/gui/widgets/basiccontainer.h index 8fe2bc54b..a6420db67 100644 --- a/src/gui/widgets/basiccontainer.h +++ b/src/gui/widgets/basiccontainer.h @@ -110,9 +110,9 @@ class BasicContainer notfinal : public Widget, // Inherited from Widget - void moveToTop(Widget *widget) restrict2 override; + void moveToTop(Widget *const widget) restrict2 override; - void moveToBottom(Widget *widget) restrict2 override; + void moveToBottom(Widget *const widget) restrict2 override; Rect getChildrenArea() restrict2 override A_WARN_UNUSED; @@ -125,7 +125,7 @@ class BasicContainer notfinal : public Widget, void setFocusHandler(FocusHandler *restrict const focusHandler) restrict2 override; - void setInternalFocusHandler(FocusHandler *restrict focusHandler) + void setInternalFocusHandler(FocusHandler *const restrict focusHandler) restrict2; Widget *getWidgetAt(int x, int y) restrict2 override A_WARN_UNUSED; @@ -151,7 +151,7 @@ class BasicContainer notfinal : public Widget, * @param widget The widget to remove. * @see add, clear */ - virtual void remove(Widget *restrict widget) restrict2; + virtual void remove(Widget *const restrict widget) restrict2; /** * Clears the basic container from all widgets. @@ -166,10 +166,10 @@ class BasicContainer notfinal : public Widget, * * @param graphics A graphics object to draw with. */ - virtual void drawChildren(Graphics *restrict graphics) + virtual void drawChildren(Graphics *const restrict graphics) restrict2 A_NONNULL(2); - virtual void safeDrawChildren(Graphics *restrict graphics) + virtual void safeDrawChildren(Graphics *const restrict graphics) restrict2 A_NONNULL(2); /** |