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/beingpopup.cpp | |
parent | ca695ea265e4922319a76e5cec28bd4eeb1b76f0 (diff) | |
download | manaverse-898c74f4ded38102360624cad924ecf49af7e36f.tar.gz manaverse-898c74f4ded38102360624cad924ecf49af7e36f.tar.bz2 manaverse-898c74f4ded38102360624cad924ecf49af7e36f.tar.xz manaverse-898c74f4ded38102360624cad924ecf49af7e36f.zip |
Add theme color for text in popup windows.
New theme color: POPUP
Diffstat (limited to 'src/gui/beingpopup.cpp')
-rw-r--r-- | src/gui/beingpopup.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gui/beingpopup.cpp b/src/gui/beingpopup.cpp index f7118d48c..865e29abd 100644 --- a/src/gui/beingpopup.cpp +++ b/src/gui/beingpopup.cpp @@ -55,14 +55,16 @@ BeingPopup::BeingPopup() : // Being's party mBeingParty->setPosition(getPadding(), fontHeight); - // Being's party mBeingGuild->setPosition(getPadding(), 2 * fontHeight); - mBeingRank->setPosition(getPadding(), 3 * fontHeight); - mBeingComment->setPosition(getPadding(), 4 * fontHeight); + mBeingParty->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); + mBeingGuild->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); + mBeingRank->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); + mBeingComment->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); + add(mBeingName); add(mBeingParty); add(mBeingGuild); @@ -110,7 +112,7 @@ void BeingPopup::show(const int x, const int y, Being *const b) } else { - mBeingName->setForegroundColor(Theme::getThemeColor(Theme::LABEL)); + mBeingName->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); } mBeingName->adjustSize(); |