diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-27 22:25:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-27 23:15:06 +0300 |
commit | ef5ba77247a2860a201c4d9177c4f3479d53538a (patch) | |
tree | ca532cf30daeea4f7d0ef357faa38c6234aed268 /src/gui/textpopup.cpp | |
parent | 2dfa705d9957a24eb2fe70382795f74325e372f2 (diff) | |
download | manaplus-ef5ba77247a2860a201c4d9177c4f3479d53538a.tar.gz manaplus-ef5ba77247a2860a201c4d9177c4f3479d53538a.tar.bz2 manaplus-ef5ba77247a2860a201c4d9177c4f3479d53538a.tar.xz manaplus-ef5ba77247a2860a201c4d9177c4f3479d53538a.zip |
Add outlining support to other popups.
Diffstat (limited to 'src/gui/textpopup.cpp')
-rw-r--r-- | src/gui/textpopup.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gui/textpopup.cpp b/src/gui/textpopup.cpp index b1c2676a1..83165c871 100644 --- a/src/gui/textpopup.cpp +++ b/src/gui/textpopup.cpp @@ -45,11 +45,14 @@ TextPopup::TextPopup(): const int fontHeight = getFont()->getHeight(); mText1->setPosition(0, 0); - mText1->setForegroundColor(getThemeColor(Theme::POPUP)); mText2->setPosition(0, fontHeight); - mText2->setForegroundColor(getThemeColor(Theme::POPUP)); mText3->setPosition(0, 2 * fontHeight); - mText3->setForegroundColor(getThemeColor(Theme::POPUP)); + mText1->setForegroundColorAll(getThemeColor(Theme::POPUP), + getThemeColor(Theme::POPUP_OUTLINE)); + mText2->setForegroundColorAll(getThemeColor(Theme::POPUP), + getThemeColor(Theme::POPUP_OUTLINE)); + mText3->setForegroundColorAll(getThemeColor(Theme::POPUP), + getThemeColor(Theme::POPUP_OUTLINE)); add(mText1); add(mText2); |