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/textpopup.h | |
parent | 0b3aafe2859d9ea1c4009eed8a87f69c41cbc14b (diff) | |
download | manaplus-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.gz manaplus-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.bz2 manaplus-066488a6f4d086b57f4fe32e8799c207552cccb7.tar.xz manaplus-066488a6f4d086b57f4fe32e8799c207552cccb7.zip |
Add theming to labels.
New theme file: label.xml
Parameters: padding
Diffstat (limited to 'src/gui/textpopup.h')
-rw-r--r-- | src/gui/textpopup.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/gui/textpopup.h b/src/gui/textpopup.h index 7d6893b9f..02cf89d6f 100644 --- a/src/gui/textpopup.h +++ b/src/gui/textpopup.h @@ -28,13 +28,9 @@ #include <guichan/mouselistener.hpp> +class Label; class TextBox; -namespace gcn -{ - class Label; -} - /** * A popup that displays information about an item. */ @@ -78,9 +74,9 @@ class TextPopup final : public Popup void mouseMoved(gcn::MouseEvent &mouseEvent) override; private: - gcn::Label *mText1; - gcn::Label *mText2; - gcn::Label *mText3; + Label *mText1; + Label *mText2; + Label *mText3; }; #endif // TEXTPOPUP_H |