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/avatarlistbox.cpp | |
parent | fee1c7eb49c61afdab1ddb64bc2dfa7a22d6cf35 (diff) | |
download | manaplus-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/avatarlistbox.cpp')
-rw-r--r-- | src/gui/widgets/avatarlistbox.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp index fe46feba2..3202a1e21 100644 --- a/src/gui/widgets/avatarlistbox.cpp +++ b/src/gui/widgets/avatarlistbox.cpp @@ -64,6 +64,7 @@ AvatarListBox::AvatarListBox(const Widget2 *const widget, config.addListener("showlevel", this); mForegroundColor = getThemeColor(Theme::TEXT); + mForegroundColor2 = getThemeColor(Theme::TEXT_OUTLINE); } AvatarListBox::~AvatarListBox() @@ -110,6 +111,7 @@ void AvatarListBox::draw(gcn::Graphics *gcnGraphics) // Draw the list elements graphics->setColor(mForegroundColor); + graphics->setColor2(mForegroundColor2); for (int i = 0, y = 0; i < model->getNumberOfElements(); ++i, y += fontHeight) @@ -259,6 +261,7 @@ void AvatarListBox::draw(gcn::Graphics *gcnGraphics) } graphics->setColor(mForegroundColor); + graphics->setColor2(mForegroundColor2); // Draw Name if (a->getDisplayBold()) |