summaryrefslogtreecommitdiff
path: root/src/gui/textrenderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/textrenderer.h')
-rw-r--r--src/gui/textrenderer.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/gui/textrenderer.h b/src/gui/textrenderer.h
index b69e72a7..712c1312 100644
--- a/src/gui/textrenderer.h
+++ b/src/gui/textrenderer.h
@@ -35,10 +35,14 @@ class TextRenderer
/**
* Renders a specified text.
*/
- static inline void renderText(gcn::Graphics *graphics, const std::string&
- text, int x, int y, gcn::Graphics::Alignment align,
- const gcn::Color color, gcn::Font *font, bool outline = false,
- bool shadow = false, int alpha = 255)
+ static inline void renderText(gcn::Graphics *graphics,
+ const std::string &text,
+ int x, int y,
+ gcn::Graphics::Alignment align,
+ const gcn::Color &color,
+ gcn::Font *font,
+ bool outline = false,
+ bool shadow = false, int alpha = 255)
{
graphics->setFont(font);