summaryrefslogtreecommitdiff
path: root/src/gui/shoplistbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/shoplistbox.h')
-rw-r--r--src/gui/shoplistbox.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/shoplistbox.h b/src/gui/shoplistbox.h
index 88e1c4b6..2dff8977 100644
--- a/src/gui/shoplistbox.h
+++ b/src/gui/shoplistbox.h
@@ -91,6 +91,12 @@ class ShopListBox : public gcn::ListBox
*/
void adjustSize();
+ /**
+ * Set on/off the disabling of too expensive items.
+ * (Good for selling mode.)
+ */
+ void setPriceCheck(bool check);
+
private:
/**
* Sends out selection events to the list of selection listeners.
@@ -111,6 +117,8 @@ class ShopListBox : public gcn::ListBox
int mRowHeight; /**< Row Height */
+ bool mPriceCheck;
+
};
#endif