summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemcontainer.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/itemcontainer.h
parent7d57a3aaa1fec1f28fa8c65e6e5ca56b97871cc2 (diff)
downloadplus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.gz
plus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.bz2
plus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.xz
plus-67a349cefcb72c7770b98bf645a7eca35695bb2b.zip
add final keyword to widgets files.
Diffstat (limited to 'src/gui/widgets/itemcontainer.h')
-rw-r--r--src/gui/widgets/itemcontainer.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/widgets/itemcontainer.h b/src/gui/widgets/itemcontainer.h
index 14acc6bfb..a39a4c685 100644
--- a/src/gui/widgets/itemcontainer.h
+++ b/src/gui/widgets/itemcontainer.h
@@ -80,26 +80,26 @@ class ItemContainer final : public gcn::Widget,
/**
* Necessary for checking how full the inventory is.
*/
- void logic() override;
+ void logic() override final;
/**
* Draws the items.
*/
- void draw(gcn::Graphics *graphics) override;
+ void draw(gcn::Graphics *graphics) override final;
// KeyListener
- void keyPressed(gcn::KeyEvent &event) override;
- void keyReleased(gcn::KeyEvent &event) override;
+ void keyPressed(gcn::KeyEvent &event) override final;
+ void keyReleased(gcn::KeyEvent &event) override final;
// MouseListener
- void mousePressed(gcn::MouseEvent &event) override;
- void mouseDragged(gcn::MouseEvent &event) override;
- void mouseReleased(gcn::MouseEvent &event) override;
- void mouseMoved(gcn::MouseEvent &event) override;
- void mouseExited(gcn::MouseEvent &event) override;
+ void mousePressed(gcn::MouseEvent &event) override final;
+ void mouseDragged(gcn::MouseEvent &event) override final;
+ void mouseReleased(gcn::MouseEvent &event) override final;
+ void mouseMoved(gcn::MouseEvent &event) override final;
+ void mouseExited(gcn::MouseEvent &event) override final;
// WidgetListener
- void widgetResized(const gcn::Event &event) override;
+ void widgetResized(const gcn::Event &event) override final;
/**
* Returns the selected item.