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