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/npcdialog.h | |
parent | 52865ff4b24e3ea85967e76099b73f2e581a856d (diff) | |
download | plus-c74a91d49f6afea0b23acc4d5b4543dfee5e64db.tar.gz plus-c74a91d49f6afea0b23acc4d5b4543dfee5e64db.tar.bz2 plus-c74a91d49f6afea0b23acc4d5b4543dfee5e64db.tar.xz plus-c74a91d49f6afea0b23acc4d5b4543dfee5e64db.zip |
Allow drag & drop more than one amount at time in craft inventory.
Diffstat (limited to 'src/gui/windows/npcdialog.h')
-rw-r--r-- | src/gui/windows/npcdialog.h | 5 |
1 files changed, 5 insertions, 0 deletions
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); |