diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-20 02:23:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:43 +0300 |
commit | 0153e8fa499b7bbdd712339bfb3921ead15a37a2 (patch) | |
tree | 0e12bc130aa40d3bc41f86e16754f060b450977e /src/gui/statuspopup.cpp | |
parent | 4c7a11b639ec94c8a32a9a52e99652c464745037 (diff) | |
download | manaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.gz manaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.bz2 manaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.tar.xz manaverse-0153e8fa499b7bbdd712339bfb3921ead15a37a2.zip |
Add palette inheritance to label class.
Diffstat (limited to 'src/gui/statuspopup.cpp')
-rw-r--r-- | src/gui/statuspopup.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/gui/statuspopup.cpp b/src/gui/statuspopup.cpp index 46527a431..a0cd790c1 100644 --- a/src/gui/statuspopup.cpp +++ b/src/gui/statuspopup.cpp @@ -43,21 +43,21 @@ StatusPopup::StatusPopup() : Popup("StatusPopup", "statuspopup.xml"), - mMoveType(new Label), - mCrazyMoveType(new Label), - mMoveToTargetType(new Label), - mFollowMode(new Label), - mAttackType(new Label), - mAttackWeaponType(new Label), - mDropCounter(new Label), - mPickUpType(new Label), - mMapType(new Label), - mMagicAttackType(new Label), - mPvpAttackType(new Label), - mDisableGameModifiers(new Label), - mImitationMode(new Label), - mAwayMode(new Label), - mCameraMode(new Label) + mMoveType(new Label(this)), + mCrazyMoveType(new Label(this)), + mMoveToTargetType(new Label(this)), + mFollowMode(new Label(this)), + mAttackType(new Label(this)), + mAttackWeaponType(new Label(this)), + mDropCounter(new Label(this)), + mPickUpType(new Label(this)), + mMapType(new Label(this)), + mMagicAttackType(new Label(this)), + mPvpAttackType(new Label(this)), + mDisableGameModifiers(new Label(this)), + mImitationMode(new Label(this)), + mAwayMode(new Label(this)), + mCameraMode(new Label(this)) { const int fontHeight = getFont()->getHeight(); |