summaryrefslogtreecommitdiff
path: root/src/gui/widgets/shoplistbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/shoplistbox.h')
-rw-r--r--src/gui/widgets/shoplistbox.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui/widgets/shoplistbox.h b/src/gui/widgets/shoplistbox.h
index 3f2cc6a27..8c0b6de45 100644
--- a/src/gui/widgets/shoplistbox.h
+++ b/src/gui/widgets/shoplistbox.h
@@ -84,6 +84,9 @@ class ShopListBox final : public ListBox
void mouseExited(gcn::MouseEvent& mouseEvent) override;
+ void setProtectItems(bool p)
+ { mProtectItems = p; }
+
private:
int mPlayerMoney;
@@ -97,12 +100,13 @@ class ShopListBox final : public ListBox
unsigned int mRowHeight; /**< Row Height */
- bool mPriceCheck;
-
gcn::Color mHighlightColor;
gcn::Color mBackgroundColor;
gcn::Color mWarningColor;
+ bool mPriceCheck;
+ bool mProtectItems;
+
static float mAlpha;
};