diff options
author | Jan-Fabian Humann <malastare@gmx.net> | 2005-05-22 02:06:58 +0000 |
---|---|---|
committer | Jan-Fabian Humann <malastare@gmx.net> | 2005-05-22 02:06:58 +0000 |
commit | fc6207f21a7beaeef968e032917181809f822a67 (patch) | |
tree | 8e392e7965855663513430299c8f486f4167528b /src/gui/trade.h | |
parent | a64c5b01e683e76def759e6e871ceee330c9ae09 (diff) | |
download | mana-fc6207f21a7beaeef968e032917181809f822a67.tar.gz mana-fc6207f21a7beaeef968e032917181809f822a67.tar.bz2 mana-fc6207f21a7beaeef968e032917181809f822a67.tar.xz mana-fc6207f21a7beaeef968e032917181809f822a67.zip |
another trade update: trading money is possible now, left box is for money you send, the right label shows the money you receive. Due to stupid RO protocol money value will only be submitted when you press Ok.
Diffstat (limited to 'src/gui/trade.h')
-rw-r--r-- | src/gui/trade.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gui/trade.h b/src/gui/trade.h index 90c688c3..5d82f875 100644 --- a/src/gui/trade.h +++ b/src/gui/trade.h @@ -51,7 +51,12 @@ class TradeWindow : public Window, gcn::ActionListener ~TradeWindow(); /** - * Add an item the trade window. + * Add money to the trade window. + */ + void addMoney(int quantity); + + /** + * Add an item to the trade window. */ void addItem(int index, int id, bool own, int quantity, bool equipment); @@ -106,8 +111,10 @@ class TradeWindow : public Window, gcn::ActionListener private: gcn::Label *itemNameLabel; gcn::Label *itemDescriptionLabel; + gcn::Label *moneyLabel; gcn::Button *addButton, *okButton, *cancelButton, *tradeButton; ScrollArea *myScroll, *partnerScroll; + gcn::TextField *moneyField; bool ok_other, ok_me; }; |