diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-27 20:51:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-27 23:15:06 +0300 |
commit | 0cb1ee2755e26a6e0f14f5f05fda4bbd8bf22f32 (patch) | |
tree | 067a83c7296a959e759ce14cf4a00b114aa5985c /src/gui/statuspopup.cpp | |
parent | f799d0cc056be8850733be931c976d59e6dbe582 (diff) | |
download | manaplus-0cb1ee2755e26a6e0f14f5f05fda4bbd8bf22f32.tar.gz manaplus-0cb1ee2755e26a6e0f14f5f05fda4bbd8bf22f32.tar.bz2 manaplus-0cb1ee2755e26a6e0f14f5f05fda4bbd8bf22f32.tar.xz manaplus-0cb1ee2755e26a6e0f14f5f05fda4bbd8bf22f32.zip |
Add outlining to status popup dialog.
Diffstat (limited to 'src/gui/statuspopup.cpp')
-rw-r--r-- | src/gui/statuspopup.cpp | 47 |
1 files changed, 30 insertions, 17 deletions
diff --git a/src/gui/statuspopup.cpp b/src/gui/statuspopup.cpp index c99ab9964..ced7c97db 100644 --- a/src/gui/statuspopup.cpp +++ b/src/gui/statuspopup.cpp @@ -75,21 +75,36 @@ StatusPopup::StatusPopup() : mCameraMode->setPosition(0, 16 + 13 * fontHeight); mDisableGameModifiers->setPosition(0, 20 + 14 * fontHeight); - mMoveType->setForegroundColor(getThemeColor(Theme::POPUP)); - mCrazyMoveType->setForegroundColor(getThemeColor(Theme::POPUP)); - mMoveToTargetType->setForegroundColor(getThemeColor(Theme::POPUP)); - mFollowMode->setForegroundColor(getThemeColor(Theme::POPUP)); - mAttackWeaponType->setForegroundColor(getThemeColor(Theme::POPUP)); - mAttackType->setForegroundColor(getThemeColor(Theme::POPUP)); - mMagicAttackType->setForegroundColor(getThemeColor(Theme::POPUP)); - mPvpAttackType->setForegroundColor(getThemeColor(Theme::POPUP)); - mDropCounter->setForegroundColor(getThemeColor(Theme::POPUP)); - mPickUpType->setForegroundColor(getThemeColor(Theme::POPUP)); - mMapType->setForegroundColor(getThemeColor(Theme::POPUP)); - mImitationMode->setForegroundColor(getThemeColor(Theme::POPUP)); - mAwayMode->setForegroundColor(getThemeColor(Theme::POPUP)); - mCameraMode->setForegroundColor(getThemeColor(Theme::POPUP)); - mDisableGameModifiers->setForegroundColor(getThemeColor(Theme::POPUP)); + mMoveType->setForegroundColorAll(getThemeColor(Theme::POPUP), + getThemeColor(Theme::POPUP_OUTLINE)); + mCrazyMoveType->setForegroundColorAll(getThemeColor(Theme::POPUP), + getThemeColor(Theme::POPUP_OUTLINE)); + mMoveToTargetType->setForegroundColorAll(getThemeColor(Theme::POPUP), + getThemeColor(Theme::POPUP_OUTLINE)); + mFollowMode->setForegroundColorAll(getThemeColor(Theme::POPUP), + getThemeColor(Theme::POPUP_OUTLINE)); + mAttackWeaponType->setForegroundColorAll(getThemeColor(Theme::POPUP), + getThemeColor(Theme::POPUP_OUTLINE)); + mAttackType->setForegroundColorAll(getThemeColor(Theme::POPUP), + getThemeColor(Theme::POPUP_OUTLINE)); + mMagicAttackType->setForegroundColorAll(getThemeColor(Theme::POPUP), + getThemeColor(Theme::POPUP_OUTLINE)); + mPvpAttackType->setForegroundColorAll(getThemeColor(Theme::POPUP), + getThemeColor(Theme::POPUP_OUTLINE)); + mDropCounter->setForegroundColorAll(getThemeColor(Theme::POPUP), + getThemeColor(Theme::POPUP_OUTLINE)); + mPickUpType->setForegroundColorAll(getThemeColor(Theme::POPUP), + getThemeColor(Theme::POPUP_OUTLINE)); + mMapType->setForegroundColorAll(getThemeColor(Theme::POPUP), + getThemeColor(Theme::POPUP_OUTLINE)); + mImitationMode->setForegroundColorAll(getThemeColor(Theme::POPUP), + getThemeColor(Theme::POPUP_OUTLINE)); + mAwayMode->setForegroundColorAll(getThemeColor(Theme::POPUP), + getThemeColor(Theme::POPUP_OUTLINE)); + mCameraMode->setForegroundColorAll(getThemeColor(Theme::POPUP), + getThemeColor(Theme::POPUP_OUTLINE)); + mDisableGameModifiers->setForegroundColorAll(getThemeColor(Theme::POPUP), + getThemeColor(Theme::POPUP_OUTLINE)); add(mMoveType); add(mCrazyMoveType); @@ -106,8 +121,6 @@ StatusPopup::StatusPopup() : add(mImitationMode); add(mAwayMode); add(mCameraMode); - -// addMouseListener(this); } StatusPopup::~StatusPopup() |