summaryrefslogtreecommitdiff
path: root/src/gui/trade.h
diff options
context:
space:
mode:
authorJan-Fabian Humann <malastare@gmx.net>2005-04-07 20:43:13 +0000
committerJan-Fabian Humann <malastare@gmx.net>2005-04-07 20:43:13 +0000
commitf0f9ef367f769b861748595b6e67991cea4b1613 (patch)
treedcf67ec60aa2bd1f3c776e155a3dae32d9143b24 /src/gui/trade.h
parent0f25aa9db4ee635cd25d14b20e0c9cdee8c7702f (diff)
downloadmana-client-f0f9ef367f769b861748595b6e67991cea4b1613.tar.gz
mana-client-f0f9ef367f769b861748595b6e67991cea4b1613.tar.bz2
mana-client-f0f9ef367f769b861748595b6e67991cea4b1613.tar.xz
mana-client-f0f9ef367f769b861748595b6e67991cea4b1613.zip
trade updated: trade is now possible, but some bugs are still to be fixed by me and zeny and different amount trading will need to be implemented
Diffstat (limited to 'src/gui/trade.h')
-rw-r--r--src/gui/trade.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/gui/trade.h b/src/gui/trade.h
index 256f051d..8eca64eb 100644
--- a/src/gui/trade.h
+++ b/src/gui/trade.h
@@ -77,6 +77,16 @@ class TradeWindow : public Window, gcn::ActionListener {
* Increase quantity of an item.
*/
int increaseQuantity(int index, bool own, int quantity);
+
+ /**
+ * Set trade Button disabled
+ */
+ int setTradeButton(bool enabled);
+
+ /**
+ * Player received ok message from server
+ */
+ int receivedOk(bool own);
/**
* Called when receiving actions from the widgets.
@@ -88,7 +98,8 @@ class TradeWindow : public Window, gcn::ActionListener {
private:
gcn::Label *nameLabel;
- gcn::Button *addButton, *cancelButton;
+ gcn::Button *addButton, *okButton, *cancelButton, *tradeButton;
+ bool ok_other, ok_me;
};
#endif