diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-29 23:24:39 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-29 23:24:39 +0200 |
commit | f016894763970ad5601d1fb2de10431fb876ff53 (patch) | |
tree | ae2ccf42ec3880dc6de6c0f206b4bc4cd095f0a9 /src/gui/widgets/textbox.h | |
parent | 5fd5b71ad0be6d1ac5665ec4d5f0aafff25646fd (diff) | |
download | mana-client-f016894763970ad5601d1fb2de10431fb876ff53.tar.gz mana-client-f016894763970ad5601d1fb2de10431fb876ff53.tar.bz2 mana-client-f016894763970ad5601d1fb2de10431fb876ff53.tar.xz mana-client-f016894763970ad5601d1fb2de10431fb876ff53.zip |
Some random cleanups
Diffstat (limited to 'src/gui/widgets/textbox.h')
-rw-r--r-- | src/gui/widgets/textbox.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 |