From 9e44d5af1d7576b99553305aa7cee53dd0f6ff45 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Mon, 6 Apr 2009 06:11:38 -0600 Subject: Clean up and expand item equip handling in the GUI --- src/gui/itemcontainer.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui/itemcontainer.h') 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; -- cgit v1.2.3-60-g2f50