diff options
Diffstat (limited to 'src/gui/item_amount.h')
-rw-r--r-- | src/gui/item_amount.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/gui/item_amount.h b/src/gui/item_amount.h index 4fdb8dc6..344f8c28 100644 --- a/src/gui/item_amount.h +++ b/src/gui/item_amount.h @@ -31,7 +31,9 @@ class Item; #define AMOUNT_TRADE_ADD 1 #define AMOUNT_ITEM_DROP 2 -#define AMOUNT_ITEM_SPLIT 3 +#define AMOUNT_STORE_ADD 3 +#define AMOUNT_STORE_REMOVE 4 +#define AMOUNT_ITEM_SPLIT 5 /** * Window used for selecting the amount of items to drop, trade or split. @@ -56,10 +58,17 @@ class ItemAmountWindow : public Window, public gcn::ActionListener */ void resetAmount(); + /** + * Schedules the Item Amount window for deletion. + */ + void close(); + private: - IntTextField *mItemAmountTextField; /**< Item amount caption. */ + gcn::Label *mItemAmountLabel; /**< Item amount caption. */ Item *mItem; + int mMax, mUsage; + /** * Item Amount buttons. */ |