diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-28 00:38:57 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2004-12-28 00:38:57 +0000 |
commit | 4542a711526bfcd09184436eda440b10bb92fbed (patch) | |
tree | 623aa067833af01cb530140ebc151a41659929e6 /src/graphic/graphic.h | |
parent | e5ba1c69c54cb7e7abbe2bab67aff46255575d0e (diff) | |
download | mana-4542a711526bfcd09184436eda440b10bb92fbed.tar.gz mana-4542a711526bfcd09184436eda440b10bb92fbed.tar.bz2 mana-4542a711526bfcd09184436eda440b10bb92fbed.tar.xz mana-4542a711526bfcd09184436eda440b10bb92fbed.zip |
Ported buy/sell dialog, made sure mouse is only drawn once and updated build
files.
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); |