summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textfield.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-12-30 16:16:09 +0300
committerAndrei Karas <akaras@inbox.ru>2012-12-30 16:16:09 +0300
commit6e6fd65992343ca37e92d24efc760666b4485160 (patch)
treecfefd917c2b33694e93902c4b96030c300ae16a0 /src/gui/widgets/textfield.h
parent6e5d8181b830694a90bba7ad5651fa0b726e4a75 (diff)
downloadmanaverse-6e6fd65992343ca37e92d24efc760666b4485160.tar.gz
manaverse-6e6fd65992343ca37e92d24efc760666b4485160.tar.bz2
manaverse-6e6fd65992343ca37e92d24efc760666b4485160.tar.xz
manaverse-6e6fd65992343ca37e92d24efc760666b4485160.zip
Allow open context menu in textfields before connecting to server.
Diffstat (limited to 'src/gui/widgets/textfield.h')
-rw-r--r--src/gui/widgets/textfield.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/widgets/textfield.h b/src/gui/widgets/textfield.h
index 9220f3dd7..6ac24066f 100644
--- a/src/gui/widgets/textfield.h
+++ b/src/gui/widgets/textfield.h
@@ -30,6 +30,7 @@
#include "localconsts.h"
class ImageRect;
+class PopupMenu;
class TextField;
/**
@@ -143,6 +144,7 @@ class TextField : public gcn::TextField,
int mLastEventPaste;
int mPadding;
const gcn::Color *mCaretColor;
+ PopupMenu *mPopupMenu;
};
#endif