summaryrefslogtreecommitdiff
path: root/src/gui/trade.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-18 14:20:14 -0600
committerIra Rice <irarice@gmail.com>2009-03-18 19:55:11 -0600
commit6f0d88e781c8b1a75858c769b3641aa8cd477314 (patch)
tree98891d219272074e437cd58087a7aaafc463c40a /src/gui/trade.h
parent74fa304602e0e7ad845e606db8868b32f1d10864 (diff)
downloadmana-client-6f0d88e781c8b1a75858c769b3641aa8cd477314.tar.gz
mana-client-6f0d88e781c8b1a75858c769b3641aa8cd477314.tar.bz2
mana-client-6f0d88e781c8b1a75858c769b3641aa8cd477314.tar.xz
mana-client-6f0d88e781c8b1a75858c769b3641aa8cd477314.zip
Fix up the NPC interraction widnows a bit
Diffstat (limited to 'src/gui/trade.h')
-rw-r--r--src/gui/trade.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/gui/trade.h b/src/gui/trade.h
index f4a6b5cd..c4d3076a 100644
--- a/src/gui/trade.h
+++ b/src/gui/trade.h
@@ -57,13 +57,6 @@ class TradeWindow : public Window, gcn::ActionListener, gcn::SelectionListener
~TradeWindow();
/**
- * Called when resizing the window.
- *
- * @param event The calling event
- */
- void widgetResized(const gcn::Event &event);
-
- /**
* Add money to the trade window.
*/
void addMoney(int quantity);
@@ -119,6 +112,12 @@ class TradeWindow : public Window, gcn::ActionListener, gcn::SelectionListener
*/
void action(const gcn::ActionEvent &event);
+ /**
+ * Closes the Trade Window, as well as telling the server that the
+ * window has been closed.
+ */
+ void close();
+
private:
Network *mNetwork;