diff options
Diffstat (limited to 'src/gui/status.h')
-rw-r--r-- | src/gui/status.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gui/status.h b/src/gui/status.h index 4f16ef23..7406f977 100644 --- a/src/gui/status.h +++ b/src/gui/status.h @@ -24,6 +24,8 @@ #ifndef _TMW_STATS_H #define _TMW_STATS_H +#include <string> + #include "window.h" #include "progressbar.h" @@ -32,7 +34,7 @@ * * \ingroup GUI */ -class StatusWindow : public Window { +class StatusWindow : public Window, public gcn::ActionListener { public: /** * Constructor. @@ -44,6 +46,11 @@ class StatusWindow : public Window { */ ~StatusWindow(); + /** + * Called when receiving actions from widget. + */ + void action(const std::string& eventId); + /** * Updates this dialog with values from PLAYER_INFO *char_info */ |