diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-14 18:50:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-14 18:50:27 +0300 |
commit | 066488a6f4d086b57f4fe32e8799c207552cccb7 (patch) | |
tree | 2c73d80030ff0da73fc5f5b4b664a34030a51633 /src/gui/statuspopup.h | |
parent | 0b3aafe2859d9ea1c4009eed8a87f69c41cbc14b (diff) | |
download | plus-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.gz plus-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.bz2 plus-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.xz plus-066488a6f4d086b57f4fe32e8799c207552cccb7.zip |
Add theming to labels.
New theme file: label.xml
Parameters: padding
Diffstat (limited to 'src/gui/statuspopup.h')
-rw-r--r-- | src/gui/statuspopup.h | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/src/gui/statuspopup.h b/src/gui/statuspopup.h index cbccaf98d..c10a0b8ea 100644 --- a/src/gui/statuspopup.h +++ b/src/gui/statuspopup.h @@ -32,6 +32,7 @@ #include <guichan/mouselistener.hpp> +class Label; class TextBox; namespace gcn @@ -67,27 +68,27 @@ class StatusPopup final : public Popup private: void updateLabels(); - void setLabelText(gcn::Label *const label, const char *const text, + void setLabelText(Label *const label, const char *const text, const int key) const; - void setLabelText2(gcn::Label *const label, const std::string &text, + void setLabelText2(Label *const label, const std::string &text, const Input::KeyAction key) const; - gcn::Label *mMoveType; - gcn::Label *mCrazyMoveType; - gcn::Label *mMoveToTargetType; - gcn::Label *mFollowMode; - gcn::Label *mAttackType; - gcn::Label *mAttackWeaponType; - gcn::Label *mDropCounter; - gcn::Label *mPickUpType; - gcn::Label *mMapType; - gcn::Label *mMagicAttackType; - gcn::Label *mPvpAttackType; - gcn::Label *mDisableGameModifiers; - gcn::Label *mImitationMode; - gcn::Label *mAwayMode; - gcn::Label *mCameraMode; + Label *mMoveType; + Label *mCrazyMoveType; + Label *mMoveToTargetType; + Label *mFollowMode; + Label *mAttackType; + Label *mAttackWeaponType; + Label *mDropCounter; + Label *mPickUpType; + Label *mMapType; + Label *mMagicAttackType; + Label *mPvpAttackType; + Label *mDisableGameModifiers; + Label *mImitationMode; + Label *mAwayMode; + Label *mCameraMode; }; #endif // StatusPopup_H |