From f016894763970ad5601d1fb2de10431fb876ff53 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Wed, 29 Apr 2009 23:24:39 +0200 Subject: Some random cleanups --- src/gui/widgets/textbox.cpp | 2 +- src/gui/widgets/textbox.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/widgets') diff --git a/src/gui/widgets/textbox.cpp b/src/gui/widgets/textbox.cpp index 3c05ef84..21c202a3 100644 --- a/src/gui/widgets/textbox.cpp +++ b/src/gui/widgets/textbox.cpp @@ -28,7 +28,7 @@ #include TextBox::TextBox() : - gcn::TextBox(), mTextColor(&guiPalette->getColor(Palette::TEXT)) + mTextColor(&guiPalette->getColor(Palette::TEXT)) { setOpaque(false); setFrameSize(0); diff --git a/src/gui/widgets/textbox.h b/src/gui/widgets/textbox.h index 1894e741..37545ed9 100644 --- a/src/gui/widgets/textbox.h +++ b/src/gui/widgets/textbox.h @@ -39,7 +39,7 @@ class TextBox : public gcn::TextBox */ TextBox(); - inline void setTextColor(const gcn::Color* color) + inline void setTextColor(const gcn::Color *color) { mTextColor = color; } /** @@ -50,7 +50,7 @@ class TextBox : public gcn::TextBox /** * Get the minimum text width for the text box. */ - int getMinWidth() { return mMinWidth; } + int getMinWidth() const { return mMinWidth; } /** * Draws the text. @@ -63,7 +63,7 @@ class TextBox : public gcn::TextBox private: int mMinWidth; - const gcn::Color* mTextColor; + const gcn::Color *mTextColor; }; #endif -- cgit v1.2.3-60-g2f50