summaryrefslogtreecommitdiff
path: root/src/gui/widgets/popup.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/widgets/popup.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/widgets/popup.h')
-rw-r--r--src/gui/widgets/popup.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/widgets/popup.h b/src/gui/widgets/popup.h
index 2442aa220..af7c8d5bd 100644
--- a/src/gui/widgets/popup.h
+++ b/src/gui/widgets/popup.h
@@ -73,7 +73,7 @@ class Popup : public Container, public gcn::MouseListener,
/**
* Draws the popup.
*/
- void draw(gcn::Graphics *graphics);
+ void draw(gcn::Graphics *graphics) override;
/**
* Sets the size of this popup.
@@ -85,7 +85,7 @@ class Popup : public Container, public gcn::MouseListener,
*/
void setLocationRelativeTo(const gcn::Widget *const widget);
- void mouseMoved(gcn::MouseEvent &event);
+ void mouseMoved(gcn::MouseEvent &event) override;
/**
* Sets the minimum width of the popup.
@@ -149,7 +149,7 @@ class Popup : public Container, public gcn::MouseListener,
// Inherited from BasicContainer
- virtual gcn::Rectangle getChildrenArea();
+ virtual gcn::Rectangle getChildrenArea() override;
/**
* Sets the location to display the popup. Tries to horizontally center
@@ -161,9 +161,9 @@ class Popup : public Container, public gcn::MouseListener,
void hide();
- void widgetResized(const gcn::Event &event);
+ void widgetResized(const gcn::Event &event) override;
- void widgetMoved(const gcn::Event &event);
+ void widgetMoved(const gcn::Event &event) override;
private:
std::string mPopupName; /**< Name of the popup */