summaryrefslogtreecommitdiff
path: root/src/textrenderer.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-01-24 19:51:16 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-01-26 22:38:41 +0100
commitbd7ad9aedd87c857477bbfcf7653af91a80f4df6 (patch)
tree6e0c678f37ebf7b0c020ec95773c79c552834140 /src/textrenderer.h
parent20c224aacc6b9669828f3c7e7b2c19b9b95d90ff (diff)
downloadmana-bd7ad9aedd87c857477bbfcf7653af91a80f4df6.tar.gz
mana-bd7ad9aedd87c857477bbfcf7653af91a80f4df6.tar.bz2
mana-bd7ad9aedd87c857477bbfcf7653af91a80f4df6.tar.xz
mana-bd7ad9aedd87c857477bbfcf7653af91a80f4df6.zip
Removed 'inline' keyword where it's not of any value
Members that are implemented inline are already inline, there is no need to mark them as such. Made two inline members of OpenGLGraphics private since because they are marked as inline, they can't be used from other classes. Reviewed-by: Erik Schilling
Diffstat (limited to 'src/textrenderer.h')
-rw-r--r--src/textrenderer.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/textrenderer.h b/src/textrenderer.h
index fccdd3c7..505cbfab 100644
--- a/src/textrenderer.h
+++ b/src/textrenderer.h
@@ -32,18 +32,18 @@
*/
class TextRenderer
{
- public:
+public:
/**
* 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)
+ static 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)
{
graphics->setFont(font);