From c74a91d49f6afea0b23acc4d5b4543dfee5e64db Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 8 Jan 2016 23:07:23 +0300 Subject: Allow drag & drop more than one amount at time in craft inventory. --- src/gui/windows/itemamountwindow.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/gui/windows/itemamountwindow.h') 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); -- cgit v1.2.3-70-g09d2