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/npcdialog.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gui/windows/npcdialog.h') diff --git a/src/gui/windows/npcdialog.h b/src/gui/windows/npcdialog.h index db9310f29..bc8cc284c 100644 --- a/src/gui/windows/npcdialog.h +++ b/src/gui/windows/npcdialog.h @@ -39,6 +39,7 @@ class ComplexInventory; class ComplexItem; class Container; class ExtendedListBox; +class Item; class ItemLinkHandler; class Inventory; class IntTextField; @@ -223,6 +224,10 @@ class NpcDialog final : public Window, void setSkin(const std::string &skin); + void addCraftItem(Item *const item, + const int amount, + const int slot); + static void copyToClipboard(const BeingId npcId, const int x, const int y); -- cgit v1.2.3-70-g09d2