diff options
Diffstat (limited to 'src/gui/widgets')
-rw-r--r-- | src/gui/widgets/listbox.h | 2 | ||||
-rw-r--r-- | src/gui/widgets/textbox.h | 4 | ||||
-rw-r--r-- | src/gui/widgets/textpreview.h | 14 |
3 files changed, 10 insertions, 10 deletions
diff --git a/src/gui/widgets/listbox.h b/src/gui/widgets/listbox.h index 61c564bb..a887a351 100644 --- a/src/gui/widgets/listbox.h +++ b/src/gui/widgets/listbox.h @@ -45,7 +45,7 @@ class ListBox : public gcn::ListBox * * @param font the font to use. */ - inline void setFont(gcn::Font *font) + void setFont(gcn::Font *font) { mFont = font; } 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); diff --git a/src/gui/widgets/textpreview.h b/src/gui/widgets/textpreview.h index 2be88ae7..8fa63691 100644 --- a/src/gui/widgets/textpreview.h +++ b/src/gui/widgets/textpreview.h @@ -39,7 +39,7 @@ class TextPreview : public gcn::Widget * * @param color the color to set */ - inline void setTextColor(const gcn::Color *color) + void setTextColor(const gcn::Color *color) { mTextColor = color; } @@ -49,7 +49,7 @@ class TextPreview : public gcn::Widget * * @param alpha whether to use alpha values for the text or not */ - inline void useTextAlpha(bool alpha) + void useTextAlpha(bool alpha) { mTextAlpha = alpha; } @@ -60,7 +60,7 @@ class TextPreview : public gcn::Widget * * @param color the color to set */ - inline void setTextBGColor(const gcn::Color *color) + void setTextBGColor(const gcn::Color *color) { mTextBGColor = color; } @@ -70,7 +70,7 @@ class TextPreview : public gcn::Widget * * @param color the color to set */ - inline void setBGColor(const gcn::Color *color) + void setBGColor(const gcn::Color *color) { mBGColor = color; } @@ -80,7 +80,7 @@ class TextPreview : public gcn::Widget * * @param font the font to use. */ - inline void setFont(gcn::Font *font) + void setFont(gcn::Font *font) { mFont = font; } @@ -90,7 +90,7 @@ class TextPreview : public gcn::Widget * * @param shadow true, if a shadow is wanted, false else */ - inline void setShadow(bool shadow) + void setShadow(bool shadow) { mShadow = shadow; } @@ -100,7 +100,7 @@ class TextPreview : public gcn::Widget * * @param outline true, if an outline is wanted, false else */ - inline void setOutline(bool outline) + void setOutline(bool outline) { mOutline = outline; } |