diff options
Diffstat (limited to 'src/gui/statuspopup.h')
-rw-r--r-- | src/gui/statuspopup.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/statuspopup.h b/src/gui/statuspopup.h index 0921fbb7f..181bc9401 100644 --- a/src/gui/statuspopup.h +++ b/src/gui/statuspopup.h @@ -58,7 +58,7 @@ class StatusPopup : public Popup /** * Sets the location to display the item popup. */ - void view(int x, int y); + void view(const int x, const int y); // void mouseMoved(gcn::MouseEvent &mouseEvent); @@ -67,10 +67,11 @@ class StatusPopup : public Popup private: void updateLabels(); - void setLabelText(gcn::Label *label, const char *text, int key); + void setLabelText(gcn::Label *const label, const char *const text, + const int key) const; - void setLabelText2(gcn::Label *label, std::string text, - Input::KeyAction key); + void setLabelText2(gcn::Label *const label, const std::string &text, + const Input::KeyAction key) const; gcn::Label *mMoveType; gcn::Label *mCrazyMoveType; |