diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/beingpopup.cpp | 8 | ||||
-rw-r--r-- | src/gui/theme.cpp | 1 | ||||
-rw-r--r-- | src/gui/theme.h | 1 |
3 files changed, 7 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(); diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index 68aae255c..134055ef7 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -919,6 +919,7 @@ static int readColorType(const std::string &type) "CHARM", "CHARM_OUTLINE", "PLAYER_ADVANCED", + "PLAYER_ADVANCED_OUTLINE", "BUBBLE_NAME", "BUBBLE_NAME_OUTLINE", "BUBBLE_TEXT", diff --git a/src/gui/theme.h b/src/gui/theme.h index 909fbca78..ca577ac9e 100644 --- a/src/gui/theme.h +++ b/src/gui/theme.h @@ -361,6 +361,7 @@ class Theme final : public Palette, public ConfigListener CHARM, CHARM_OUTLINE, PLAYER_ADVANCED, + PLAYER_ADVANCED_OUTLINE, BUBBLE_NAME, BUBBLE_NAME_OUTLINE, BUBBLE_TEXT, |