summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textpreview.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-04 16:17:21 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-04 16:17:21 +0300
commit7dec8e169a09513e9bd7f840fea52491b6d17828 (patch)
treefbc6d4f886fa85c312e361ad243ddcc1e00e6bec /src/gui/widgets/textpreview.h
parentfee1c7eb49c61afdab1ddb64bc2dfa7a22d6cf35 (diff)
downloadmanaplus-7dec8e169a09513e9bd7f840fea52491b6d17828.tar.gz
manaplus-7dec8e169a09513e9bd7f840fea52491b6d17828.tar.bz2
manaplus-7dec8e169a09513e9bd7f840fea52491b6d17828.tar.xz
manaplus-7dec8e169a09513e9bd7f840fea52491b6d17828.zip
add outline color TEXT color.
Diffstat (limited to 'src/gui/widgets/textpreview.h')
-rw-r--r--src/gui/widgets/textpreview.h9
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;