From db35a038130df28addb01636345587130c1e00f7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 28 May 2013 18:32:22 +0300 Subject: improve viewport. --- src/gui/viewport.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/viewport.h') 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); -- cgit v1.2.3-60-g2f50