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/spellpopup.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/spellpopup.cpp')
-rw-r--r-- | src/gui/spellpopup.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/spellpopup.cpp b/src/gui/spellpopup.cpp index 9267e76df..49eba7f43 100644 --- a/src/gui/spellpopup.cpp +++ b/src/gui/spellpopup.cpp @@ -26,6 +26,7 @@ #include "gui/gui.h" #include "gui/palette.h" #include "gui/sdlfont.h" +#include "gui/theme.h" #include "gui/widgets/label.h" @@ -44,6 +45,8 @@ SpellPopup::SpellPopup(): mItemComment(new Label) { mItemName->setFont(boldFont); + mItemName->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); + mItemComment->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); add(mItemName); add(mItemComment); |