summaryrefslogtreecommitdiff
path: root/src/gui/spellpopup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-20 23:49:06 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-20 23:49:06 +0300
commit898c74f4ded38102360624cad924ecf49af7e36f (patch)
tree81e6853601ec66516aae978147856081484eb768 /src/gui/spellpopup.cpp
parentca695ea265e4922319a76e5cec28bd4eeb1b76f0 (diff)
downloadplus-898c74f4ded38102360624cad924ecf49af7e36f.tar.gz
plus-898c74f4ded38102360624cad924ecf49af7e36f.tar.bz2
plus-898c74f4ded38102360624cad924ecf49af7e36f.tar.xz
plus-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.cpp3
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);