summaryrefslogtreecommitdiff
path: root/src/gui/sell.h
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-08-26 18:43:35 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-08-26 18:43:35 +0000
commit9414243208a48a0c6603251e2b6dfc2a96dfd71c (patch)
treeec0584c868afecfd6f82694b34804773f6a90d04 /src/gui/sell.h
parentd4f310480146a8dd5417e6988ddc25a40e560ff3 (diff)
downloadmana-client-9414243208a48a0c6603251e2b6dfc2a96dfd71c.tar.gz
mana-client-9414243208a48a0c6603251e2b6dfc2a96dfd71c.tar.bz2
mana-client-9414243208a48a0c6603251e2b6dfc2a96dfd71c.tar.xz
mana-client-9414243208a48a0c6603251e2b6dfc2a96dfd71c.zip
Added effect description to buy/see/inventory, made some improvements and bugfixes, too.
Diffstat (limited to 'src/gui/sell.h')
-rw-r--r--src/gui/sell.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/sell.h b/src/gui/sell.h
index 5cf5479e..864c5f63 100644
--- a/src/gui/sell.h
+++ b/src/gui/sell.h
@@ -79,6 +79,11 @@ class SellDialog : public Window, public gcn::ActionListener,
int getNumberOfElements();
/**
+ * Mouse callback
+ */
+ void mouseClick(int x, int y, int buton, int count);
+
+ /**
* Returns the name of item number i in the inventory.
*/
std::string getElementAt(int i);
@@ -91,6 +96,8 @@ class SellDialog : public Window, public gcn::ActionListener,
gcn::ListBox *itemList;
gcn::ScrollArea *scrollArea;
gcn::Label *moneyLabel;
+ gcn::Label *itemDescLabel;
+ gcn::Label *itemEffectLabel;
gcn::Label *quantityLabel;
gcn::Slider *slider;