summaryrefslogtreecommitdiff
path: root/src/gui/windowmenu.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-22 02:34:48 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-22 21:22:21 +0300
commit4a5cdfe19cbb50e3b58149c6e91312366ee4b771 (patch)
tree7a2bbae95b5f6642731f2a1257913baad71d028d /src/gui/windowmenu.h
parent3dcf21babe03cee5080a25e787e1d7e72124288e (diff)
downloadmanaplus-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.gz
manaplus-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.bz2
manaplus-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.xz
manaplus-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.zip
Add override keyword to most overriden methods.
Diffstat (limited to 'src/gui/windowmenu.h')
-rw-r--r--src/gui/windowmenu.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/gui/windowmenu.h b/src/gui/windowmenu.h
index 1a2956df1..1a869c41b 100644
--- a/src/gui/windowmenu.h
+++ b/src/gui/windowmenu.h
@@ -55,15 +55,13 @@ class WindowMenu final : public Container,
~WindowMenu();
- void action(const gcn::ActionEvent &event);
+ void action(const gcn::ActionEvent &event) override;
-// void valueChanged(const gcn::SelectionEvent &event);
+ void mousePressed(gcn::MouseEvent &event) override;
- void mousePressed(gcn::MouseEvent &event);
+ void mouseMoved(gcn::MouseEvent &event) override;
- void mouseMoved(gcn::MouseEvent &event);
-
- void mouseExited(gcn::MouseEvent& mouseEvent A_UNUSED);
+ void mouseExited(gcn::MouseEvent& mouseEvent A_UNUSED) override;
std::map <std::string, gcn::Button*> &getButtonNames()
{ return mButtonNames; }
@@ -77,7 +75,7 @@ class WindowMenu final : public Container,
void saveButtons();
- void optionChanged(const std::string &name);
+ void optionChanged(const std::string &name) override;
protected:
void drawChildren(gcn::Graphics* graphics);