summaryrefslogtreecommitdiff
path: root/src/gui/widgets/button.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-24 12:15:03 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-24 12:15:03 +0300
commit67a349cefcb72c7770b98bf645a7eca35695bb2b (patch)
tree07dbd166893ef783e56e361ed5be7559fef7a2a4 /src/gui/widgets/button.h
parent7d57a3aaa1fec1f28fa8c65e6e5ca56b97871cc2 (diff)
downloadmv-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.gz
mv-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.bz2
mv-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.xz
mv-67a349cefcb72c7770b98bf645a7eca35695bb2b.zip
add final keyword to widgets files.
Diffstat (limited to 'src/gui/widgets/button.h')
-rw-r--r--src/gui/widgets/button.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/widgets/button.h b/src/gui/widgets/button.h
index e07a3bc1d..15567ea52 100644
--- a/src/gui/widgets/button.h
+++ b/src/gui/widgets/button.h
@@ -97,14 +97,14 @@ class Button final : public gcn::Button,
/**
* Draws the button.
*/
- void draw(gcn::Graphics *graphics) override;
+ void draw(gcn::Graphics *graphics) override final;
/**
* Update the alpha value to the button components.
*/
void updateAlpha();
- void mouseReleased(gcn::MouseEvent& mouseEvent) override;
+ void mouseReleased(gcn::MouseEvent& mouseEvent) override final;
void setDescription(std::string text)
{ mDescription = text; }
@@ -127,9 +127,9 @@ class Button final : public gcn::Button,
void setPressed(bool b)
{ mPressed = b; }
- void widgetResized(const gcn::Event &event) override;
+ void widgetResized(const gcn::Event &event) override final;
- void widgetMoved(const gcn::Event &event) override;
+ void widgetMoved(const gcn::Event &event) override final;
void loadImage(const std::string &imageName);
@@ -139,9 +139,9 @@ class Button final : public gcn::Button,
void setCaption(const std::string& caption);
- void keyPressed(gcn::KeyEvent &keyEvent) override;
+ void keyPressed(gcn::KeyEvent &keyEvent) override final;
- void keyReleased(gcn::KeyEvent &keyEvent) override;
+ void keyReleased(gcn::KeyEvent &keyEvent) override final;
bool isPressed2() const A_WARN_UNUSED;