diff options
Diffstat (limited to 'src/graphic/graphic.h')
-rw-r--r-- | src/graphic/graphic.h | 8 |
1 files changed, 8 insertions, 0 deletions
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); |