summaryrefslogtreecommitdiff
path: root/src/gui/itempopup.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-27 22:25:16 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-27 23:15:06 +0300
commitef5ba77247a2860a201c4d9177c4f3479d53538a (patch)
treeca532cf30daeea4f7d0ef357faa38c6234aed268 /src/gui/itempopup.cpp
parent2dfa705d9957a24eb2fe70382795f74325e372f2 (diff)
downloadmanaverse-ef5ba77247a2860a201c4d9177c4f3479d53538a.tar.gz
manaverse-ef5ba77247a2860a201c4d9177c4f3479d53538a.tar.bz2
manaverse-ef5ba77247a2860a201c4d9177c4f3479d53538a.tar.xz
manaverse-ef5ba77247a2860a201c4d9177c4f3479d53538a.zip
Add outlining support to other popups.
Diffstat (limited to 'src/gui/itempopup.cpp')
-rw-r--r--src/gui/itempopup.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gui/itempopup.cpp b/src/gui/itempopup.cpp
index 07073fb71..9d1b3920c 100644
--- a/src/gui/itempopup.cpp
+++ b/src/gui/itempopup.cpp
@@ -62,17 +62,20 @@ ItemPopup::ItemPopup() :
// Item Description
mItemDesc->setEditable(false);
mItemDesc->setPosition(0, fontHeight);
- mItemDesc->setForegroundColor(getThemeColor(Theme::POPUP));
+ mItemDesc->setForegroundColorAll(getThemeColor(Theme::POPUP),
+ getThemeColor(Theme::POPUP_OUTLINE));
// Item Effect
mItemEffect->setEditable(false);
mItemEffect->setPosition(0, 2 * fontHeight);
- mItemEffect->setForegroundColor(getThemeColor(Theme::POPUP));
+ mItemEffect->setForegroundColorAll(getThemeColor(Theme::POPUP),
+ getThemeColor(Theme::POPUP_OUTLINE));
// Item Weight
mItemWeight->setEditable(false);
mItemWeight->setPosition(0, 3 * fontHeight);
- mItemWeight->setForegroundColor(getThemeColor(Theme::POPUP));
+ mItemWeight->setForegroundColorAll(getThemeColor(Theme::POPUP),
+ getThemeColor(Theme::POPUP_OUTLINE));
add(mItemName);
add(mItemDesc);