From f2105401aea25f663392e947ca618d48272ee489 Mon Sep 17 00:00:00 2001 From: Aaron Marks Date: Fri, 6 May 2005 03:01:40 +0000 Subject: Added item description for selected item in buy dialog. --- src/gui/buy.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/gui/buy.h') 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 @@ -75,6 +75,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. */ @@ -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; -- cgit v1.2.3-70-g09d2