summaryrefslogtreecommitdiff
path: root/src/textmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-24 14:32:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-24 14:32:36 +0300
commit0c3d18a076b2ac999f47500a76f5ebf3b1a722ed (patch)
tree4f474688d3937f84cbd490af265a6fa918b0ec52 /src/textmanager.h
parente0b255453f189f80aab146574bdcb873771801c6 (diff)
downloadplus-0c3d18a076b2ac999f47500a76f5ebf3b1a722ed.tar.gz
plus-0c3d18a076b2ac999f47500a76f5ebf3b1a722ed.tar.bz2
plus-0c3d18a076b2ac999f47500a76f5ebf3b1a722ed.tar.xz
plus-0c3d18a076b2ac999f47500a76f5ebf3b1a722ed.zip
improve textmanager class.
Diffstat (limited to 'src/textmanager.h')
-rw-r--r--src/textmanager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/textmanager.h b/src/textmanager.h
index e926a9ca8..e3c9988fe 100644
--- a/src/textmanager.h
+++ b/src/textmanager.h
@@ -52,7 +52,7 @@ class TextManager final
/**
* Move the text around the screen
*/
- void moveText(Text *const text, const int x, const int y);
+ void moveText(Text *const text, const int x, const int y) const;
/**
* Remove the text from the manager
@@ -70,7 +70,7 @@ class TextManager final
* Position the text so as to avoid conflict
*/
void place(const Text *const textObj, const Text *const omit,
- const int &x, int &y, const int h);
+ const int &x, int &y, const int h) const;
typedef std::list<Text *> TextList; /**< The container type */
TextList mTextList; /**< The container */