summaryrefslogtreecommitdiff
path: root/src/gui/sell.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-11-05 14:57:35 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-11-05 14:57:35 +0000
commitde61b658590630cfc59960c012c8e533b361a8b0 (patch)
treeb89a6f23a385ea4a7d32e3abc6ce4a82114c5d67 /src/gui/sell.h
parentdbca3013575b766a681d1cea946e249a386e2144 (diff)
parent482f0ddb85487bd5a4beaf2706cca9f690aa9304 (diff)
downloadmana-de61b658590630cfc59960c012c8e533b361a8b0.tar.gz
mana-de61b658590630cfc59960c012c8e533b361a8b0.tar.bz2
mana-de61b658590630cfc59960c012c8e533b361a8b0.tar.xz
mana-de61b658590630cfc59960c012c8e533b361a8b0.zip
Moved 0.1.0 branch to trunk. A new beginning.
Diffstat (limited to 'src/gui/sell.h')
-rw-r--r--src/gui/sell.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/gui/sell.h b/src/gui/sell.h
index f27a9751..69f8b089 100644
--- a/src/gui/sell.h
+++ b/src/gui/sell.h
@@ -32,9 +32,8 @@
#include "../guichanfwd.h"
class Item;
-class Network;
class ShopItems;
-class ShopListBox;
+class ListBox;
/**
* The sell dialog.
@@ -49,7 +48,7 @@ class SellDialog : public Window, gcn::ActionListener, SelectionListener
*
* @see Window::Window
*/
- SellDialog(Network *network);
+ SellDialog();
/**
* Destructor
@@ -78,17 +77,11 @@ 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;
- ShopListBox *mShopItemList;
+ ListBox *mItemList;
gcn::Label *mMoneyLabel;
gcn::Label *mItemDescLabel;
gcn::Label *mItemEffectLabel;
@@ -96,7 +89,6 @@ class SellDialog : public Window, gcn::ActionListener, SelectionListener
gcn::Slider *mSlider;
ShopItems *mShopItems;
- int mPlayerMoney;
int mMaxItems;
int mAmountItems;