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/statuspopup.cpp | |
parent | ca695ea265e4922319a76e5cec28bd4eeb1b76f0 (diff) | |
download | mv-898c74f4ded38102360624cad924ecf49af7e36f.tar.gz mv-898c74f4ded38102360624cad924ecf49af7e36f.tar.bz2 mv-898c74f4ded38102360624cad924ecf49af7e36f.tar.xz mv-898c74f4ded38102360624cad924ecf49af7e36f.zip |
Add theme color for text in popup windows.
New theme color: POPUP
Diffstat (limited to 'src/gui/statuspopup.cpp')
-rw-r--r-- | src/gui/statuspopup.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/gui/statuspopup.cpp b/src/gui/statuspopup.cpp index 0bba7a505..ac222408b 100644 --- a/src/gui/statuspopup.cpp +++ b/src/gui/statuspopup.cpp @@ -25,6 +25,7 @@ #include "gui/gui.h" #include "gui/palette.h" +#include "gui/theme.h" #include "gui/viewport.h" #include "gui/widgets/label.h" @@ -85,6 +86,23 @@ StatusPopup::StatusPopup() : mDisableGameModifiers->setPosition(getPadding(), 20 + 14 * fontHeight + getPadding()); + mMoveType->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); + mCrazyMoveType->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); + mMoveToTargetType->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); + mFollowMode->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); + mAttackWeaponType->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); + mAttackType->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); + mMagicAttackType->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); + mPvpAttackType->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); + mDropCounter->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); + mPickUpType->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); + mMapType->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); + mImitationMode->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); + mAwayMode->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); + mCameraMode->setForegroundColor(Theme::getThemeColor(Theme::POPUP)); + mDisableGameModifiers->setForegroundColor( + Theme::getThemeColor(Theme::POPUP)); + add(mMoveType); add(mCrazyMoveType); add(mMoveToTargetType); |