summaryrefslogtreecommitdiff
path: root/src/gui/itemcontainer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/itemcontainer.h')
-rw-r--r--src/gui/itemcontainer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/itemcontainer.h b/src/gui/itemcontainer.h
index b2857563..ba834d01 100644
--- a/src/gui/itemcontainer.h
+++ b/src/gui/itemcontainer.h
@@ -55,7 +55,8 @@ class ItemContainer : public gcn::Widget,
* @param gridRows Amount of rows in grid.
* @param offset Index offset
*/
- ItemContainer(Inventory *inventory, int gridColumns, int gridRows);
+ ItemContainer(Inventory *inventory, int gridColumns, int gridRows,
+ bool forceQuantity = false);
/**
* Destructor.
@@ -169,6 +170,7 @@ class ItemContainer : public gcn::Widget,
Image *mSelImg;
Item *mSelectedItem, *mHighlightedItem;
SelectionState mSelectionStatus;
+ bool mForceQuantity;
bool mSwapItems;
bool mDescItems;
int mDragPosX, mDragPosY;