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/itempopup.cpp | |
parent | ca695ea265e4922319a76e5cec28bd4eeb1b76f0 (diff) | |
download | manaplus-898c74f4ded38102360624cad924ecf49af7e36f.tar.gz manaplus-898c74f4ded38102360624cad924ecf49af7e36f.tar.bz2 manaplus-898c74f4ded38102360624cad924ecf49af7e36f.tar.xz manaplus-898c74f4ded38102360624cad924ecf49af7e36f.zip |
Add theme color for text in popup windows.
New theme color: POPUP
Diffstat (limited to 'src/gui/itempopup.cpp')
-rw-r--r-- | src/gui/itempopup.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/itempopup.cpp b/src/gui/itempopup.cpp index 4b0501def..b1c363a67 100644 --- a/src/gui/itempopup.cpp +++ b/src/gui/itempopup.cpp @@ -67,14 +67,17 @@ ItemPopup::ItemPopup(): // Item Description mItemDesc->setEditable(false); mItemDesc->setPosition(getPadding(), fontHeight); + mItemDesc->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); // Item Effect mItemEffect->setEditable(false); mItemEffect->setPosition(getPadding(), 2 * fontHeight + 2 * getPadding()); + mItemEffect->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); // Item Weight mItemWeight->setEditable(false); mItemWeight->setPosition(getPadding(), 3 * fontHeight + 4 * getPadding()); + mItemWeight->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); add(mItemName); add(mItemDesc); |