diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-08 23:07:23 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-08 23:07:23 +0300 |
commit | c74a91d49f6afea0b23acc4d5b4543dfee5e64db (patch) | |
tree | f851e96a451605b244e7fe77b7ad2c57b54a29b5 /src/gui/windows/itemamountwindow.h | |
parent | 52865ff4b24e3ea85967e76099b73f2e581a856d (diff) | |
download | manaverse-c74a91d49f6afea0b23acc4d5b4543dfee5e64db.tar.gz manaverse-c74a91d49f6afea0b23acc4d5b4543dfee5e64db.tar.bz2 manaverse-c74a91d49f6afea0b23acc4d5b4543dfee5e64db.tar.xz manaverse-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.h | 10 |
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); |