diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-05-27 18:30:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-05-27 18:30:52 +0300 |
commit | d18ddf95346d123fd048a99e487e36ee2a12e45b (patch) | |
tree | 0c5bb3cd896de00d04b684f60480850875139c55 /src/gui/textpopup.h | |
parent | 053891ca29f6cbbbf690d16fa55e4414b99d1d2c (diff) | |
download | plus-d18ddf95346d123fd048a99e487e36ee2a12e45b.tar.gz plus-d18ddf95346d123fd048a99e487e36ee2a12e45b.tar.bz2 plus-d18ddf95346d123fd048a99e487e36ee2a12e45b.tar.xz plus-d18ddf95346d123fd048a99e487e36ee2a12e45b.zip |
improve textpopup.
Diffstat (limited to 'src/gui/textpopup.h')
-rw-r--r-- | src/gui/textpopup.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/textpopup.h b/src/gui/textpopup.h index f5f63473b..2ac658d64 100644 --- a/src/gui/textpopup.h +++ b/src/gui/textpopup.h @@ -31,6 +31,8 @@ class Label; class TextBox; +const int TEXTPOPUPCOUNT = 3; + /** * A popup that displays information about an item. */ @@ -74,9 +76,7 @@ class TextPopup final : public Popup void mouseMoved(gcn::MouseEvent &mouseEvent) override; private: - Label *mText1; - Label *mText2; - Label *mText3; + Label *mText[TEXTPOPUPCOUNT]; }; #endif // TEXTPOPUP_H |