summaryrefslogtreecommitdiff
path: root/src/gui/skilldialog.h
diff options
context:
space:
mode:
authorBlue Sans Douze <bluesansdouze@gmail.com>2011-03-27 20:18:02 +0200
committerBlue Sans Douze <bluesansdouze@gmail.com>2011-04-02 20:37:42 +0200
commitdf7771d05d782789026f01bcbdbcba44028f99aa (patch)
treebc0b99f81dfebceeb1ddb0420c175839186c2c89 /src/gui/skilldialog.h
parent717ebd24d5419ad79ec215c2d28256268a3fa315 (diff)
downloadmana-df7771d05d782789026f01bcbdbcba44028f99aa.tar.gz
mana-df7771d05d782789026f01bcbdbcba44028f99aa.tar.bz2
mana-df7771d05d782789026f01bcbdbcba44028f99aa.tar.xz
mana-df7771d05d782789026f01bcbdbcba44028f99aa.zip
Fix a bug with SkillDialog which doesn't listen to attributes changed
Diffstat (limited to 'src/gui/skilldialog.h')
-rw-r--r--src/gui/skilldialog.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/skilldialog.h b/src/gui/skilldialog.h
index 3b1b1832..874b4437 100644
--- a/src/gui/skilldialog.h
+++ b/src/gui/skilldialog.h
@@ -23,6 +23,7 @@
#define SKILLDIALOG_H
#include "gui/widgets/window.h"
+#include "listener.h"
#include <guichan/actionlistener.hpp>
@@ -41,13 +42,15 @@ struct SkillInfo;
*
* \ingroup Interface
*/
-class SkillDialog : public Window, public gcn::ActionListener
+class SkillDialog : public Window, public gcn::ActionListener, public Mana::Listener
{
public:
SkillDialog();
~SkillDialog();
+ void event(Channels channel, const Mana::Event &event);
+
/**
* Called when receiving actions from widget.
*/