diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:15:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:15:03 +0300 |
commit | 67a349cefcb72c7770b98bf645a7eca35695bb2b (patch) | |
tree | 07dbd166893ef783e56e361ed5be7559fef7a2a4 /src/gui/widgets/checkbox.h | |
parent | 7d57a3aaa1fec1f28fa8c65e6e5ca56b97871cc2 (diff) | |
download | manaplus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.gz manaplus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.bz2 manaplus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.xz manaplus-67a349cefcb72c7770b98bf645a7eca35695bb2b.zip |
add final keyword to widgets files.
Diffstat (limited to 'src/gui/widgets/checkbox.h')
-rw-r--r-- | src/gui/widgets/checkbox.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/checkbox.h b/src/gui/widgets/checkbox.h index 22316730a..e23ffda46 100644 --- a/src/gui/widgets/checkbox.h +++ b/src/gui/widgets/checkbox.h @@ -58,7 +58,7 @@ class CheckBox final : public gcn::CheckBox, /** * Draws the caption, then calls drawBox to draw the check box. */ - void draw(gcn::Graphics *const graphics) override; + void draw(gcn::Graphics *const graphics) override final; /** * Update the alpha value to the checkbox components. @@ -73,14 +73,14 @@ class CheckBox final : public gcn::CheckBox, /** * Called when the mouse enteres the widget area. */ - void mouseEntered(gcn::MouseEvent& event) override; + void mouseEntered(gcn::MouseEvent& event) override final; /** * Called when the mouse leaves the widget area. */ - void mouseExited(gcn::MouseEvent& event) override; + void mouseExited(gcn::MouseEvent& event) override final; - void keyPressed(gcn::KeyEvent& keyEvent) override; + void keyPressed(gcn::KeyEvent& keyEvent) override final; void adjustSize(); |