summaryrefslogtreecommitdiff
path: root/src/gui/textpopup.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-27 18:30:52 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-27 18:30:52 +0300
commitd18ddf95346d123fd048a99e487e36ee2a12e45b (patch)
tree0c5bb3cd896de00d04b684f60480850875139c55 /src/gui/textpopup.h
parent053891ca29f6cbbbf690d16fa55e4414b99d1d2c (diff)
downloadmv-d18ddf95346d123fd048a99e487e36ee2a12e45b.tar.gz
mv-d18ddf95346d123fd048a99e487e36ee2a12e45b.tar.bz2
mv-d18ddf95346d123fd048a99e487e36ee2a12e45b.tar.xz
mv-d18ddf95346d123fd048a99e487e36ee2a12e45b.zip
improve textpopup.
Diffstat (limited to 'src/gui/textpopup.h')
-rw-r--r--src/gui/textpopup.h6
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