diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-08 20:27:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-08 20:27:29 +0300 |
commit | 5d0b4c09a67f279847337aa06bc3066c07f63114 (patch) | |
tree | b2f8bbdb3252222c9bc50efa04a5689faa3b1760 /src/gui/widgets/itemcontainer.h | |
parent | 4b014aa3f403ae02587f6a3d89180f75161d4b78 (diff) | |
download | mv-5d0b4c09a67f279847337aa06bc3066c07f63114.tar.gz mv-5d0b4c09a67f279847337aa06bc3066c07f63114.tar.bz2 mv-5d0b4c09a67f279847337aa06bc3066c07f63114.tar.xz mv-5d0b4c09a67f279847337aa06bc3066c07f63114.zip |
Impliment craft inventory for moving items one by one.
Diffstat (limited to 'src/gui/widgets/itemcontainer.h')
-rw-r--r-- | src/gui/widgets/itemcontainer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/itemcontainer.h b/src/gui/widgets/itemcontainer.h index a7b62bbd6..e40ad4f17 100644 --- a/src/gui/widgets/itemcontainer.h +++ b/src/gui/widgets/itemcontainer.h @@ -138,6 +138,9 @@ class ItemContainer final : public Widget, void unsetInventory() { mInventory = nullptr; } + void setInventory(Inventory *const inventory) + { mInventory = inventory; } + void setCellBackgroundImage(const std::string &xmlName); void setMaxColumns(const int maxColumns); |