summaryrefslogtreecommitdiff
path: root/src/gui/statuspopup.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-29 23:40:41 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-29 23:40:41 +0300
commit1feb7f7edc5f8f383e594b256ef4cab0fae75b99 (patch)
tree68fe26fdd1ef25645deef894c296b6fbc80b0e13 /src/gui/statuspopup.h
parent41044107cc0a17125ebd806c9934b6eb636dafe6 (diff)
downloadmanaverse-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.gz
manaverse-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.bz2
manaverse-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.xz
manaverse-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.zip
Add const to more classes.
Diffstat (limited to 'src/gui/statuspopup.h')
-rw-r--r--src/gui/statuspopup.h9
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;