From 898c74f4ded38102360624cad924ecf49af7e36f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 20 Sep 2012 23:49:06 +0300 Subject: Add theme color for text in popup windows. New theme color: POPUP --- src/gui/spellpopup.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/spellpopup.cpp') 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); -- cgit v1.2.3-60-g2f50