summaryrefslogtreecommitdiff
path: root/src/gui/viewport.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-24 12:17:17 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-24 12:17:17 +0300
commitd6fbc25d16e3f96a20c492904a0dab16f8b4d8fb (patch)
treea2cec0346050bd47660b33654ec05bd85141af3d /src/gui/viewport.h
parent10be802d2640bad75222736216cdcfcd7fb6a521 (diff)
downloadmanaverse-d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb.tar.gz
manaverse-d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb.tar.bz2
manaverse-d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb.tar.xz
manaverse-d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb.zip
add final keyword to gui files.
Diffstat (limited to 'src/gui/viewport.h')
-rw-r--r--src/gui/viewport.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/viewport.h b/src/gui/viewport.h
index b47716ac2..8827bd52f 100644
--- a/src/gui/viewport.h
+++ b/src/gui/viewport.h
@@ -83,12 +83,12 @@ class Viewport final : public WindowContainer,
/**
* Draws the viewport.
*/
- void draw(gcn::Graphics *graphics) override;
+ void draw(gcn::Graphics *graphics) override final;
/**
* Implements player to keep following mouse.
*/
- void logic() override;
+ void logic() override final;
/**
* Toggles whether the path debug graphics are shown. normal,
@@ -102,22 +102,22 @@ class Viewport final : public WindowContainer,
/**
* Handles mouse press on map.
*/
- void mousePressed(gcn::MouseEvent &event) override;
+ void mousePressed(gcn::MouseEvent &event) override final;
/**
* Handles mouse move on map
*/
- void mouseDragged(gcn::MouseEvent &event) override;
+ void mouseDragged(gcn::MouseEvent &event) override final;
/**
* Handles mouse button release on map.
*/
- void mouseReleased(gcn::MouseEvent &event) override;
+ void mouseReleased(gcn::MouseEvent &event) override final;
/**
* Handles mouse move on map.
*/
- void mouseMoved(gcn::MouseEvent &event) override;
+ void mouseMoved(gcn::MouseEvent &event) override final;
/**
* Shows a popup for an item.
@@ -197,7 +197,7 @@ class Viewport final : public WindowContainer,
/**
* A relevant config option changed.
*/
- void optionChanged(const std::string &name) override;
+ void optionChanged(const std::string &name) override final;
/**
* Returns camera x offset in pixels.