From 4542a711526bfcd09184436eda440b10bb92fbed Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Tue, 28 Dec 2004 00:38:57 +0000 Subject: Ported buy/sell dialog, made sure mouse is only drawn once and updated build files. --- src/graphic/graphic.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/graphic/graphic.h') diff --git a/src/graphic/graphic.h b/src/graphic/graphic.h index d71c5ead..6ad42676 100644 --- a/src/graphic/graphic.h +++ b/src/graphic/graphic.h @@ -26,6 +26,7 @@ #include "../map.h" #include "../being.h" #include "../gui/buy.h" +#include "../gui/buysell.h" #include "../gui/chat.h" #include "../gui/inventory.h" #include "../gui/shop.h" @@ -51,6 +52,7 @@ extern char npc_button[10]; extern StatsDialog *statsDialog; extern BuyDialog *buyDialog; +extern BuySellDialog *buySellDialog; extern InventoryDialog *inventoryDialog; // The action listener for the chat field @@ -59,6 +61,12 @@ class ChatListener : public gcn::ActionListener { void action(const std::string& eventId); }; +// The action listener for the buy or sell dialog +class BuySellListener : public gcn::ActionListener { + public: + void action(const std::string& eventId); +}; + void do_graphic(void); void init_graphic(void); void exit_graphic(void); -- cgit v1.2.3-70-g09d2