diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-20 23:49:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-20 23:49:06 +0300 |
commit | 898c74f4ded38102360624cad924ecf49af7e36f (patch) | |
tree | 81e6853601ec66516aae978147856081484eb768 /src/gui/textpopup.cpp | |
parent | ca695ea265e4922319a76e5cec28bd4eeb1b76f0 (diff) | |
download | mv-898c74f4ded38102360624cad924ecf49af7e36f.tar.gz mv-898c74f4ded38102360624cad924ecf49af7e36f.tar.bz2 mv-898c74f4ded38102360624cad924ecf49af7e36f.tar.xz mv-898c74f4ded38102360624cad924ecf49af7e36f.zip |
Add theme color for text in popup windows.
New theme color: POPUP
Diffstat (limited to 'src/gui/textpopup.cpp')
-rw-r--r-- | src/gui/textpopup.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/textpopup.cpp b/src/gui/textpopup.cpp index 219b25633..d542bdcde 100644 --- a/src/gui/textpopup.cpp +++ b/src/gui/textpopup.cpp @@ -46,8 +46,11 @@ TextPopup::TextPopup(): const int fontHeight = getFont()->getHeight(); mText1->setPosition(getPadding(), getPadding()); + mText1->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); mText2->setPosition(getPadding(), fontHeight + 2 * getPadding()); + mText2->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); mText3->setPosition(getPadding(), (2 * fontHeight) + 2 * getPadding()); + mText3->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); add(mText1); add(mText2); |