summaryrefslogtreecommitdiff
path: root/src/gui/sell.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/sell.h')
-rw-r--r--src/gui/sell.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/gui/sell.h b/src/gui/sell.h
index 12000bc3..f27a9751 100644
--- a/src/gui/sell.h
+++ b/src/gui/sell.h
@@ -34,7 +34,7 @@
class Item;
class Network;
class ShopItems;
-class ListBox;
+class ShopListBox;
/**
* The sell dialog.
@@ -78,12 +78,17 @@ class SellDialog : public Window, gcn::ActionListener, SelectionListener
*/
void selectionChanged(const SelectionEvent &event);
+ /**
+ * Gives Player's Money amount
+ */
+ void setMoney(int amount);
+
private:
Network *mNetwork;
gcn::Button *mSellButton;
gcn::Button *mIncreaseButton;
gcn::Button *mDecreaseButton;
- ListBox *mItemList;
+ ShopListBox *mShopItemList;
gcn::Label *mMoneyLabel;
gcn::Label *mItemDescLabel;
gcn::Label *mItemEffectLabel;
@@ -91,6 +96,7 @@ class SellDialog : public Window, gcn::ActionListener, SelectionListener
gcn::Slider *mSlider;
ShopItems *mShopItems;
+ int mPlayerMoney;
int mMaxItems;
int mAmountItems;