summaryrefslogtreecommitdiff
path: root/src/gui/shoplistbox.h
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2006-11-05 01:47:44 +0000
committerYohann Ferreira <bertram@cegetel.net>2006-11-05 01:47:44 +0000
commit9e70df3a6ac53f9900f7e4cbf6dbe40e53e0ddc1 (patch)
treeba0bf36049b125030e0bb2e26e7f755fe8f98723 /src/gui/shoplistbox.h
parent6a1702f014db23b5330e9b93e773b652d03c2ed1 (diff)
downloadmana-client-9e70df3a6ac53f9900f7e4cbf6dbe40e53e0ddc1.tar.gz
mana-client-9e70df3a6ac53f9900f7e4cbf6dbe40e53e0ddc1.tar.bz2
mana-client-9e70df3a6ac53f9900f7e4cbf6dbe40e53e0ddc1.tar.xz
mana-client-9e70df3a6ac53f9900f7e4cbf6dbe40e53e0ddc1.zip
Added item's pictures in sell dialogs, and precisions about the total money in it.
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