diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-28 20:48:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-28 21:00:55 +0300 |
commit | b22ce8d250b1fa995f76c337e1cba6a4b164fe23 (patch) | |
tree | b6761c8bfb0c396750d009b0d38d2060822ea86a /src/gui/widgets/textfield.h | |
parent | 36f19b67df5ba7b00e91d9a234088f276b8bf513 (diff) | |
download | manaplus-b22ce8d250b1fa995f76c337e1cba6a4b164fe23.tar.gz manaplus-b22ce8d250b1fa995f76c337e1cba6a4b164fe23.tar.bz2 manaplus-b22ce8d250b1fa995f76c337e1cba6a4b164fe23.tar.xz manaplus-b22ce8d250b1fa995f76c337e1cba6a4b164fe23.zip |
Add amount text field to buy dialog.
Diffstat (limited to 'src/gui/widgets/textfield.h')
-rw-r--r-- | src/gui/widgets/textfield.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/widgets/textfield.h b/src/gui/widgets/textfield.h index 7e19099e8..93f970168 100644 --- a/src/gui/widgets/textfield.h +++ b/src/gui/widgets/textfield.h @@ -96,6 +96,12 @@ class TextField : public gcn::TextField */ int getValue() const; + void setSendAlwaysEvents(bool b) + { mSendAlwaysEvents = b; } + + protected: + bool mSendAlwaysEvents; + private: void handlePaste(); @@ -109,7 +115,6 @@ class TextField : public gcn::TextField int mMaximum; bool mLoseFocusOnTab; int mLastEventPaste; - bool mSendAlwaysEvents; }; #endif |