summaryrefslogtreecommitdiff
path: root/src/gui/item_amount.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/item_amount.h')
-rw-r--r--src/gui/item_amount.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/item_amount.h b/src/gui/item_amount.h
index d8253e3c..344f8c28 100644
--- a/src/gui/item_amount.h
+++ b/src/gui/item_amount.h
@@ -33,9 +33,10 @@ class Item;
#define AMOUNT_ITEM_DROP 2
#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 or trade.
+ * Window used for selecting the amount of items to drop, trade or split.
*
* \ingroup Interface
*/
@@ -45,7 +46,7 @@ class ItemAmountWindow : public Window, public gcn::ActionListener
/**
* Constructor.
*/
- ItemAmountWindow(int usage, Window *parent, Item *item);
+ ItemAmountWindow(int usage, Window *parent, Item *item, int maxRange = 0);
/**
* Called when receiving actions from widget.