diff options
Diffstat (limited to 'src/gui/statuswindow.h')
-rw-r--r-- | src/gui/statuswindow.h | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/src/gui/statuswindow.h b/src/gui/statuswindow.h index d99368b8..103111a7 100644 --- a/src/gui/statuswindow.h +++ b/src/gui/statuswindow.h @@ -22,7 +22,7 @@ #ifndef STATUS_H #define STATUS_H -#include "guichanfwd.h" +#include "listener.h" #include "gui/widgets/window.h" @@ -40,24 +40,15 @@ class VertContainer; * * \ingroup Interface */ -class StatusWindow : public Window +class StatusWindow : public Window, public Mana::Listener { public: - enum { // Some update constants - HP = -1, - MP = -2, - EXP = -3, - MONEY = -4, - CHAR_POINTS = -5, - LEVEL = -6 - }; - /** * Constructor. */ StatusWindow(); - std::string update(int id); + void event(Channels channel, const Mana::Event &event); void updateAttrs(); |