summaryrefslogtreecommitdiff
path: root/src/textmanager.h
diff options
context:
space:
mode:
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 */