summaryrefslogtreecommitdiff
path: root/src/gui/textpopup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-27 22:25:16 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-27 23:15:06 +0300
commitef5ba77247a2860a201c4d9177c4f3479d53538a (patch)
treeca532cf30daeea4f7d0ef357faa38c6234aed268 /src/gui/textpopup.cpp
parent2dfa705d9957a24eb2fe70382795f74325e372f2 (diff)
downloadplus-ef5ba77247a2860a201c4d9177c4f3479d53538a.tar.gz
plus-ef5ba77247a2860a201c4d9177c4f3479d53538a.tar.bz2
plus-ef5ba77247a2860a201c4d9177c4f3479d53538a.tar.xz
plus-ef5ba77247a2860a201c4d9177c4f3479d53538a.zip
Add outlining support to other popups.
Diffstat (limited to 'src/gui/textpopup.cpp')
-rw-r--r--src/gui/textpopup.cpp9
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);