summaryrefslogtreecommitdiff
path: root/src/gui/trade.h
diff options
context:
space:
mode:
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