summaryrefslogtreecommitdiff
path: root/src/gui/beingpopup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-26 12:56:57 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-26 12:56:57 +0300
commit41f0e3289d9827ef71b6b76f524b530ff6f3de67 (patch)
treeb71c44fc14d73b2ccde2a3d0408b5c308dce0ad4 /src/gui/beingpopup.cpp
parent4222791a851df151af206e0f8f0b849fa2cd3555 (diff)
downloadplus-41f0e3289d9827ef71b6b76f524b530ff6f3de67.tar.gz
plus-41f0e3289d9827ef71b6b76f524b530ff6f3de67.tar.bz2
plus-41f0e3289d9827ef71b6b76f524b530ff6f3de67.tar.xz
plus-41f0e3289d9827ef71b6b76f524b530ff6f3de67.zip
Add outline for PLAYER_ADVANCED color.
fix outline for header in beingpopup.
Diffstat (limited to 'src/gui/beingpopup.cpp')
-rw-r--r--src/gui/beingpopup.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/beingpopup.cpp b/src/gui/beingpopup.cpp
index 67e414c7e..ac35f5a57 100644
--- a/src/gui/beingpopup.cpp
+++ b/src/gui/beingpopup.cpp
@@ -108,12 +108,14 @@ void BeingPopup::show(const int x, const int y, Being *const b)
}
if (b->isAdvanced())
{
- mBeingName->setForegroundColor(getThemeColor(
- Theme::PLAYER_ADVANCED));
+ mBeingName->setForegroundColorAll(getThemeColor(
+ Theme::PLAYER_ADVANCED), getThemeColor(
+ Theme::PLAYER_ADVANCED_OUTLINE));
}
else
{
- mBeingName->setForegroundColor(getThemeColor(Theme::POPUP));
+ mBeingName->setForegroundColorAll(getThemeColor(Theme::POPUP),
+ getThemeColor(Theme::POPUP_OUTLINE));
}
mBeingName->adjustSize();