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.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/gui/buy.h b/src/gui/buy.h
index 6ca66c7a..50c92acd 100644
--- a/src/gui/buy.h
+++ b/src/gui/buy.h
@@ -86,8 +86,10 @@ class BuyDialog : public Window, public gcn::ActionListener,
std::string getElementAt(int i);
private:
- gcn::Button *okButton;
- gcn::Button *cancelButton;
+ gcn::Button *buyButton;
+ gcn::Button *quitButton;
+ gcn::Button *increaseButton;
+ gcn::Button *decreaseButton;
gcn::ListBox *itemList;
gcn::ScrollArea *scrollArea;
gcn::Label *itemNameLabel;
@@ -98,7 +100,9 @@ class BuyDialog : public Window, public gcn::ActionListener,
std::vector<ITEM_SHOP> shopInventory;
- int money;
+ int m_money;
+ int m_amountItems;
+ int m_maxItems;
};
extern BuyDialog *buyDialog;