summaryrefslogtreecommitdiff
path: root/src/gui/buy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/buy.h')
-rw-r--r--src/gui/buy.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gui/buy.h b/src/gui/buy.h
index 2af6cfe8..f5c163e1 100644
--- a/src/gui/buy.h
+++ b/src/gui/buy.h
@@ -28,11 +28,9 @@
#include "window.h"
#include "selectionlistener.h"
-#include "shoplistbox.h"
#include "../guichanfwd.h"
-class Network;
class ShopItems;
class ListBox;
@@ -49,7 +47,7 @@ class BuyDialog : public Window, public gcn::ActionListener, SelectionListener
*
* @see Window::Window
*/
- BuyDialog(Network *network);
+ BuyDialog();
/**
* Destructor
@@ -94,12 +92,11 @@ class BuyDialog : public Window, public gcn::ActionListener, SelectionListener
std::string getElementAt(int i);
private:
- Network *mNetwork;
gcn::Button *mBuyButton;
gcn::Button *mQuitButton;
gcn::Button *mIncreaseButton;
gcn::Button *mDecreaseButton;
- ShopListBox *mShopItemList;
+ ListBox *mItemList;
gcn::ScrollArea *mScrollArea;
gcn::Label *mItemDescLabel;
gcn::Label *mItemEffectLabel;