diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-06 06:11:38 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-06 06:11:38 -0600 |
commit | 9e44d5af1d7576b99553305aa7cee53dd0f6ff45 (patch) | |
tree | c6c7607f8dcfe1ac59e1e508b6a661d0b3d1f10e /src/gui/itemcontainer.h | |
parent | bcc4695387d21f9629ab6f013aadbfe0d238aa6d (diff) | |
download | mana-9e44d5af1d7576b99553305aa7cee53dd0f6ff45.tar.gz mana-9e44d5af1d7576b99553305aa7cee53dd0f6ff45.tar.bz2 mana-9e44d5af1d7576b99553305aa7cee53dd0f6ff45.tar.xz mana-9e44d5af1d7576b99553305aa7cee53dd0f6ff45.zip |
Clean up and expand item equip handling in the GUI
Diffstat (limited to 'src/gui/itemcontainer.h')
-rw-r--r-- | src/gui/itemcontainer.h | 4 |
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; |