summaryrefslogtreecommitdiff
path: root/src/gui/status.h
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-01-25 22:25:29 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-01-25 22:25:29 +0000
commitadd62901031e1c981d98779536a0ad16ceddf897 (patch)
tree809727a877a6646c6650f28d4df9655282488d1d /src/gui/status.h
parenteb20715f6788956392cb89f94211b5f502237dd0 (diff)
downloadmana-client-add62901031e1c981d98779536a0ad16ceddf897.tar.gz
mana-client-add62901031e1c981d98779536a0ad16ceddf897.tar.bz2
mana-client-add62901031e1c981d98779536a0ad16ceddf897.tar.xz
mana-client-add62901031e1c981d98779536a0ad16ceddf897.zip
*** empty log message ***
Diffstat (limited to 'src/gui/status.h')
-rw-r--r--src/gui/status.h9
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
*/