diff options
Diffstat (limited to 'src/gui/widgets/itemcontainer.h')
-rw-r--r-- | src/gui/widgets/itemcontainer.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/widgets/itemcontainer.h b/src/gui/widgets/itemcontainer.h index eb422e269..a8d7c794e 100644 --- a/src/gui/widgets/itemcontainer.h +++ b/src/gui/widgets/itemcontainer.h @@ -27,6 +27,8 @@ #include "listeners/mouselistener.h" #include "listeners/widgetlistener.h" +#include "enums/simpletypes/forcequantity.h" + #include "gui/widgets/widget.h" #include "localconsts.h" @@ -57,7 +59,7 @@ class ItemContainer final : public Widget, */ ItemContainer(const Widget2 *const widget, Inventory *const inventory, - const bool forceQuantity = false); + const ForceQuantity forceQuantity = ForceQuantity_false); A_DELETE_COPY(ItemContainer) @@ -204,7 +206,7 @@ class ItemContainer final : public Widget, int mPaddingItemX; int mPaddingItemY; SelectionState mSelectionStatus; - bool mForceQuantity; + ForceQuantity mForceQuantity; bool mDescItems; bool mRedraw; }; |