summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textbox.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/gui/widgets/textbox.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/gui/widgets/textbox.h')
-rw-r--r--src/gui/widgets/textbox.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/textbox.h b/src/gui/widgets/textbox.h
index 6b947e0b..548f2734 100644
--- a/src/gui/widgets/textbox.h
+++ b/src/gui/widgets/textbox.h
@@ -36,7 +36,7 @@ class TextBox : public gcn::TextBox
public:
TextBox();
- inline void setTextColor(const gcn::Color *color)
+ void setTextColor(const gcn::Color *color)
{ mTextColor = color; }
/**
@@ -52,7 +52,7 @@ class TextBox : public gcn::TextBox
/**
* Draws the text.
*/
- inline void draw(gcn::Graphics *graphics)
+ void draw(gcn::Graphics *graphics)
{
setForegroundColor(*mTextColor);
gcn::TextBox::draw(graphics);