diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-28 18:32:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-28 20:29:17 +0300 |
commit | db35a038130df28addb01636345587130c1e00f7 (patch) | |
tree | 8efa086f3989d83cdb7ea7515cce612fcdd226bf /src/gui/viewport.h | |
parent | 8f75c0c717e3f9920278c5acc725eb3fa1a43df5 (diff) | |
download | mv-db35a038130df28addb01636345587130c1e00f7.tar.gz mv-db35a038130df28addb01636345587130c1e00f7.tar.bz2 mv-db35a038130df28addb01636345587130c1e00f7.tar.xz mv-db35a038130df28addb01636345587130c1e00f7.zip |
improve viewport.
Diffstat (limited to 'src/gui/viewport.h')
-rw-r--r-- | src/gui/viewport.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/viewport.h b/src/gui/viewport.h index 28be67c2b..cde09b7fd 100644 --- a/src/gui/viewport.h +++ b/src/gui/viewport.h @@ -91,7 +91,7 @@ class Viewport final : public WindowContainer, /** * Implements player to keep following mouse. */ - void logic(); + void logic() override; /** * Toggles whether the path debug graphics are shown. normal, @@ -155,7 +155,7 @@ class Viewport final : public WindowContainer, void showPopup(const Being *const being); - void showPlayerPopup(std::string nick); + void showPlayerPopup(const std::string &nick); void showOutfitsPopup(const int x, const int y); @@ -165,7 +165,7 @@ class Viewport final : public WindowContainer, void showAttackMonsterPopup(const std::string &name, const int type); - void showPickupItemPopup(std::string name); + void showPickupItemPopup(const std::string &name); /** * Shows the related popup menu when right click on the chat @@ -183,7 +183,7 @@ class Viewport final : public WindowContainer, void showMapPopup(const int x, const int y); - void showTextFieldPopup(TextField *input); + void showTextFieldPopup(TextField *const input); void showLinkPopup(const std::string &link); |