diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-29 23:40:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-29 23:40:41 +0300 |
commit | 1feb7f7edc5f8f383e594b256ef4cab0fae75b99 (patch) | |
tree | 68fe26fdd1ef25645deef894c296b6fbc80b0e13 /src/gui/textpopup.h | |
parent | 41044107cc0a17125ebd806c9934b6eb636dafe6 (diff) | |
download | mv-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.gz mv-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.bz2 mv-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.tar.xz mv-1feb7f7edc5f8f383e594b256ef4cab0fae75b99.zip |
Add const to more classes.
Diffstat (limited to 'src/gui/textpopup.h')
-rw-r--r-- | src/gui/textpopup.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/textpopup.h b/src/gui/textpopup.h index dd901d580..5e425abca 100644 --- a/src/gui/textpopup.h +++ b/src/gui/textpopup.h @@ -54,7 +54,7 @@ class TextPopup : public Popup /** * Sets the text to be displayed. */ - void show(int x, int y, const std::string &str1) + void show(const int x, const int y, const std::string &str1) { show(x, y, str1, static_cast<const char*>(""), static_cast<const char*>("")); @@ -63,14 +63,14 @@ class TextPopup : public Popup /** * Sets the text to be displayed. */ - void show(int x, int y, const std::string &str1, + void show(const int x, const int y, const std::string &str1, const std::string &str2) { show(x, y, str1, str2, static_cast<const char*>("")); } /** * Sets the text to be displayed. */ - void show(int x, int y, const std::string &str1, + void show(const int x, const int y, const std::string &str1, const std::string &str2, const std::string &str3); void mouseMoved(gcn::MouseEvent &mouseEvent); |