From 67a349cefcb72c7770b98bf645a7eca35695bb2b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Oct 2013 12:15:03 +0300 Subject: add final keyword to widgets files. --- src/gui/widgets/tabbedarea.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gui/widgets/tabbedarea.h') diff --git a/src/gui/widgets/tabbedarea.h b/src/gui/widgets/tabbedarea.h index 115d41095..449d8c51a 100644 --- a/src/gui/widgets/tabbedarea.h +++ b/src/gui/widgets/tabbedarea.h @@ -60,7 +60,7 @@ class TabbedArea final : public Widget2, /** * Draw the tabbed area. */ - void draw(gcn::Graphics *graphics) override; + void draw(gcn::Graphics *graphics) override final; /** * Return how many tabs have been created. @@ -114,7 +114,7 @@ class TabbedArea final : public Widget2, /** * Overload the logic function since it's broken in guichan 0.8. */ - void logic() override; + void logic() override final; int getContainerHeight() const A_WARN_UNUSED { return mWidgetContainer->getHeight(); } @@ -138,7 +138,7 @@ class TabbedArea final : public Widget2, void setSelectedTabByName(const std::string &name); - void widgetResized(const gcn::Event &event) override; + void widgetResized(const gcn::Event &event) override final; /* void moveLeft(Tab *tab); @@ -147,11 +147,11 @@ class TabbedArea final : public Widget2, */ void adjustTabPositions(); - void action(const gcn::ActionEvent& actionEvent) override; + void action(const gcn::ActionEvent& actionEvent) override final; // Inherited from MouseListener - void mousePressed(gcn::MouseEvent &mouseEvent) override; + void mousePressed(gcn::MouseEvent &mouseEvent) override final; void enableScrollButtons(const bool enable); @@ -167,7 +167,7 @@ class TabbedArea final : public Widget2, bool getFollowDownScroll() const A_WARN_UNUSED { return mFollowDownScroll; } - void keyPressed(gcn::KeyEvent& keyEvent) override; + void keyPressed(gcn::KeyEvent& keyEvent) override final; void setBlockSwitching(const bool b) { mBlockSwitching = b; } -- cgit v1.2.3-60-g2f50