From 9e70df3a6ac53f9900f7e4cbf6dbe40e53e0ddc1 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Sun, 5 Nov 2006 01:47:44 +0000 Subject: Added item's pictures in sell dialogs, and precisions about the total money in it. --- src/gui/shoplistbox.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/gui/shoplistbox.h') 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 -- cgit v1.2.3-70-g09d2