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/buydialog.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/buydialog.h')
-rw-r--r-- | src/gui/buydialog.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/buydialog.h b/src/gui/buydialog.h index 0ba2e5cb3..53d20e1e5 100644 --- a/src/gui/buydialog.h +++ b/src/gui/buydialog.h @@ -38,6 +38,7 @@ class ShopItems; class ShopListBox; +class IntTextField; class ListBox; /** @@ -124,6 +125,8 @@ class BuyDialog : public Window, public gcn::ActionListener, */ static void closeAll(); + void scheduleDelete(); + private: typedef std::list<BuyDialog*> DialogList; static DialogList instances; @@ -140,6 +143,8 @@ class BuyDialog : public Window, public gcn::ActionListener, gcn::Label *mMoneyLabel; gcn::Label *mQuantityLabel; gcn::Slider *mSlider; + gcn::Label *mAmountLabel; + IntTextField *mAmountField; ShopItems *mShopItems; @@ -147,6 +152,7 @@ class BuyDialog : public Window, public gcn::ActionListener, int mAmountItems; int mMaxItems; std::string mNick; + bool mEnabledKeyboard; }; #endif |