summaryrefslogtreecommitdiff
path: root/src/gui/buy.h
diff options
context:
space:
mode:
authorCedric Borgese <cedric.borgese@gmail.com>2005-07-22 17:27:59 +0000
committerCedric Borgese <cedric.borgese@gmail.com>2005-07-22 17:27:59 +0000
commit5731ddbf5ef5fa1556a7c5f84c0c71865a15499b (patch)
tree967cfacdf62a8930be9691152746b6f0e6b35a6e /src/gui/buy.h
parent4333effa0e80c996c91e4014cf449c30a32120b7 (diff)
downloadmana-client-5731ddbf5ef5fa1556a7c5f84c0c71865a15499b.tar.gz
mana-client-5731ddbf5ef5fa1556a7c5f84c0c71865a15499b.tar.bz2
mana-client-5731ddbf5ef5fa1556a7c5f84c0c71865a15499b.tar.xz
mana-client-5731ddbf5ef5fa1556a7c5f84c0c71865a15499b.zip
Merge between moi1392's branch and head
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;