diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-04 16:17:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-04 16:17:21 +0300 |
commit | 7dec8e169a09513e9bd7f840fea52491b6d17828 (patch) | |
tree | fbc6d4f886fa85c312e361ad243ddcc1e00e6bec /src/gui/widgets/textpreview.h | |
parent | fee1c7eb49c61afdab1ddb64bc2dfa7a22d6cf35 (diff) | |
download | ManaVerse-7dec8e169a09513e9bd7f840fea52491b6d17828.tar.gz ManaVerse-7dec8e169a09513e9bd7f840fea52491b6d17828.tar.bz2 ManaVerse-7dec8e169a09513e9bd7f840fea52491b6d17828.tar.xz ManaVerse-7dec8e169a09513e9bd7f840fea52491b6d17828.zip |
add outline color TEXT color.
Diffstat (limited to 'src/gui/widgets/textpreview.h')
-rw-r--r-- | src/gui/widgets/textpreview.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gui/widgets/textpreview.h b/src/gui/widgets/textpreview.h index e3712a934..782fcc2e0 100644 --- a/src/gui/widgets/textpreview.h +++ b/src/gui/widgets/textpreview.h @@ -44,14 +44,12 @@ class TextPreview final : public gcn::Widget, ~TextPreview(); - /** - * Sets the color the text is printed in. - * - * @param color the color to set - */ inline void setTextColor(const gcn::Color *color) { mTextColor = color; adjustSize(); } + inline void setTextColor2(const gcn::Color *color) + { mTextColor2 = color; adjustSize(); } + /** * Sets the text to use the set alpha value. * @@ -130,6 +128,7 @@ class TextPreview final : public gcn::Widget, gcn::Font *mFont; std::string mText; const gcn::Color *mTextColor; + const gcn::Color *mTextColor2; const gcn::Color *mBGColor; const gcn::Color *mTextBGColor; bool mTextAlpha; |