summaryrefslogtreecommitdiff
path: root/src/gui/buy.h
diff options
context:
space:
mode:
authorAaron Marks <nymacro@gmail.com>2005-05-06 03:01:40 +0000
committerAaron Marks <nymacro@gmail.com>2005-05-06 03:01:40 +0000
commitf2105401aea25f663392e947ca618d48272ee489 (patch)
tree672c31b6f1df9577056d9b7439f7d3bd1578eeb3 /src/gui/buy.h
parentf2a70bcfbaab713145d4af9cabfc344b665d1c61 (diff)
downloadmana-client-f2105401aea25f663392e947ca618d48272ee489.tar.gz
mana-client-f2105401aea25f663392e947ca618d48272ee489.tar.bz2
mana-client-f2105401aea25f663392e947ca618d48272ee489.tar.xz
mana-client-f2105401aea25f663392e947ca618d48272ee489.zip
Added item description for selected item in buy dialog.
Diffstat (limited to 'src/gui/buy.h')
-rw-r--r--src/gui/buy.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/buy.h b/src/gui/buy.h
index b6265c6e..ecdb0cb8 100644
--- a/src/gui/buy.h
+++ b/src/gui/buy.h
@@ -76,6 +76,11 @@ class BuyDialog : 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 shop inventory.
*/
std::string getElementAt(int i);
@@ -85,6 +90,8 @@ class BuyDialog : public Window, public gcn::ActionListener,
gcn::Button *cancelButton;
gcn::ListBox *itemList;
gcn::ScrollArea *scrollArea;
+ gcn::Label *itemNameLabel;
+ gcn::Label *itemDescLabel;
gcn::Label *moneyLabel;
gcn::Label *quantityLabel;
gcn::Slider *slider;