summaryrefslogtreecommitdiff
path: root/src/gui/windows/itemamountwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-08 23:07:23 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-08 23:07:23 +0300
commitc74a91d49f6afea0b23acc4d5b4543dfee5e64db (patch)
treef851e96a451605b244e7fe77b7ad2c57b54a29b5 /src/gui/windows/itemamountwindow.h
parent52865ff4b24e3ea85967e76099b73f2e581a856d (diff)
downloadmv-c74a91d49f6afea0b23acc4d5b4543dfee5e64db.tar.gz
mv-c74a91d49f6afea0b23acc4d5b4543dfee5e64db.tar.bz2
mv-c74a91d49f6afea0b23acc4d5b4543dfee5e64db.tar.xz
mv-c74a91d49f6afea0b23acc4d5b4543dfee5e64db.zip
Allow drag & drop more than one amount at time in craft inventory.
Diffstat (limited to 'src/gui/windows/itemamountwindow.h')
-rw-r--r--src/gui/windows/itemamountwindow.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/gui/windows/itemamountwindow.h b/src/gui/windows/itemamountwindow.h
index 30b205d95..a67c50174 100644
--- a/src/gui/windows/itemamountwindow.h
+++ b/src/gui/windows/itemamountwindow.h
@@ -58,6 +58,7 @@ class ItemAmountWindow final : public Window,
ShopBuyAdd,
ShopSellAdd,
#ifdef EATHENA_SUPPORT
+ CraftAdd,
MailAdd
#endif
};
@@ -91,13 +92,16 @@ class ItemAmountWindow final : public Window,
/**
* Creates the dialog, or bypass it if there aren't enough items.
*/
- static void showWindow(const Usage usage, Window *const parent,
- Item *const item, int maxRange = 0);
+ static void showWindow(const Usage usage,
+ Window *const parent,
+ Item *const item,
+ int maxRange = 0,
+ const int tag = 0);
~ItemAmountWindow();
private:
- static void finish(const Item *const item,
+ static void finish(Item *const item,
const int amount,
const int price,
const Usage usage);