diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-04 19:11:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-04 19:11:53 +0300 |
commit | 3a407bb6b73a186eafd99bcec570f88097c4b2e1 (patch) | |
tree | ea57a752c348ba0a883294855ad3c62c16e9749d /src/textrenderer.h | |
parent | 872fc368f7b253f26714fc47323064f270b62b40 (diff) | |
download | manaplus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.gz manaplus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.bz2 manaplus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.tar.xz manaplus-3a407bb6b73a186eafd99bcec570f88097c4b2e1.zip |
Add const to more classes.
Diffstat (limited to 'src/textrenderer.h')
-rw-r--r-- | src/textrenderer.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/textrenderer.h b/src/textrenderer.h index 5dd831ddd..e331453fb 100644 --- a/src/textrenderer.h +++ b/src/textrenderer.h @@ -35,15 +35,15 @@ class TextRenderer /** * Renders a specified text. */ - static inline void renderText(gcn::Graphics *graphics, + static inline void renderText(gcn::Graphics *const graphics, const std::string &text, - int x, int y, - gcn::Graphics::Alignment align, + const int x, const int y, + const gcn::Graphics::Alignment align, const gcn::Color &color, - gcn::Font *font, - bool outline = false, - bool shadow = false, - int alpha = 255) + gcn::Font *const font, + const bool outline = false, + const bool shadow = false, + const int alpha = 255) { graphics->setFont(font); |