diff options
Diffstat (limited to 'src/textmanager.h')
-rw-r--r-- | src/textmanager.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/textmanager.h b/src/textmanager.h index 471274895..8819d31dc 100644 --- a/src/textmanager.h +++ b/src/textmanager.h @@ -42,17 +42,17 @@ class TextManager /** * Add text to the manager */ - void addText(Text *text); + void addText(Text *const text); /** * Move the text around the screen */ - void moveText(Text *text, int x, int y); + void moveText(Text *const text, const int x, const int y); /** * Remove the text from the manager */ - void removeText(const Text *text); + void removeText(const Text *const text); /** * Destroy the manager @@ -62,14 +62,15 @@ class TextManager /** * Draw the text */ - void draw(gcn::Graphics *graphics, int xOff, int yOff); + void draw(gcn::Graphics *const graphics, + const int xOff, const int yOff); private: /** * Position the text so as to avoid conflict */ - void place(const Text *textObj, const Text *omit, - int &x, int &y, int h); + void place(const Text *const textObj, const Text *const omit, + const int &x, int &y, const int h); typedef std::list<Text *> TextList; /**< The container type */ TextList mTextList; /**< The container */ |