summaryrefslogtreecommitdiff
path: root/src/graphic/graphic.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-28 00:38:57 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-28 00:38:57 +0000
commit4542a711526bfcd09184436eda440b10bb92fbed (patch)
tree623aa067833af01cb530140ebc151a41659929e6 /src/graphic/graphic.h
parente5ba1c69c54cb7e7abbe2bab67aff46255575d0e (diff)
downloadmana-client-4542a711526bfcd09184436eda440b10bb92fbed.tar.gz
mana-client-4542a711526bfcd09184436eda440b10bb92fbed.tar.bz2
mana-client-4542a711526bfcd09184436eda440b10bb92fbed.tar.xz
mana-client-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.h8
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);