diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-17 20:03:14 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-17 20:03:14 +0300 |
commit | 55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d (patch) | |
tree | b1108bef76eed589fcb0028c4bd97f14510e940f /src/gui/widgets/button.h | |
parent | 72b9b0b8b7f3e0b60bf7a926b44aaa589dd131e8 (diff) | |
download | manaplus-55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.tar.gz manaplus-55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.tar.bz2 manaplus-55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.tar.xz manaplus-55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.zip |
Remove override keyword, if it present with final.
Diffstat (limited to 'src/gui/widgets/button.h')
-rw-r--r-- | src/gui/widgets/button.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/gui/widgets/button.h b/src/gui/widgets/button.h index 2e20be616..7bd5e90b9 100644 --- a/src/gui/widgets/button.h +++ b/src/gui/widgets/button.h @@ -153,16 +153,16 @@ class Button final : public Widget, /** * Draws the button. */ - void draw(Graphics *const graphics) override final A_NONNULL(2); + void draw(Graphics *const graphics) final A_NONNULL(2); - void safeDraw(Graphics *const graphics) override final A_NONNULL(2); + void safeDraw(Graphics *const graphics) final A_NONNULL(2); /** * Update the alpha value to the button components. */ static void updateAlpha(); - void mouseReleased(MouseEvent& event) override final; + void mouseReleased(MouseEvent& event) final; void setDescription(const std::string &text) { mDescription = text; } @@ -185,11 +185,11 @@ class Button final : public Widget, void setPressed(bool b) { mPressed = b; } - void widgetResized(const Event &event) override final; + void widgetResized(const Event &event) final; - void widgetMoved(const Event &event) override final; + void widgetMoved(const Event &event) final; - void widgetHidden(const Event &event) override final; + void widgetHidden(const Event &event) final; void loadImage(const std::string &imageName); @@ -197,9 +197,9 @@ class Button final : public Widget, void adjustSize(); - void keyPressed(KeyEvent &event) override final; + void keyPressed(KeyEvent &event) final; - void keyReleased(KeyEvent &event) override final; + void keyReleased(KeyEvent &event) final; bool isPressed2() const A_WARN_UNUSED; @@ -241,19 +241,19 @@ class Button final : public Widget, Graphics::Alignment getAlignment() const { return mAlignment; } - void focusLost(const Event& event) override final; + void focusLost(const Event& event) final; - void mousePressed(MouseEvent& event) override final; + void mousePressed(MouseEvent& event) final; - void mouseEntered(MouseEvent& event) override final; + void mouseEntered(MouseEvent& event) final; - void mouseExited(MouseEvent& event) override final; + void mouseExited(MouseEvent& event) final; - void mouseDragged(MouseEvent& event) override final; + void mouseDragged(MouseEvent& event) final; - void setParent(Widget *widget) override final; + void setParent(Widget *widget) final; - void setWindow(Widget *const widget) override final; + void setWindow(Widget *const widget) final; void setImageWidth(const int width) { mImageWidth = width; } |