summaryrefslogtreecommitdiff
path: root/src/gui/magic.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-07 20:19:10 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-07 20:19:10 +0200
commit7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a (patch)
tree2499b2198dc1efae9d7f15e021c0574a95a0c95a /src/gui/magic.h
parentef1975a3eb4e1986601ad154bf184e0de332870c (diff)
downloadmana-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.gz
mana-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.bz2
mana-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.tar.xz
mana-7b559dcf64e5814cf4cde7e7db52c2e9f6a7357a.zip
Used custom widgets where appropriate and some cleanup
Replaced many gcn::Label with Label, gcn::Slider with Slider in character creation dialog. Also cleaned up includes.
Diffstat (limited to 'src/gui/magic.h')
-rw-r--r--src/gui/magic.h20
1 files changed, 3 insertions, 17 deletions
diff --git a/src/gui/magic.h b/src/gui/magic.h
index 74529396..7f346f6a 100644
--- a/src/gui/magic.h
+++ b/src/gui/magic.h
@@ -22,13 +22,11 @@
#ifndef MAGIC_H
#define MAGIC_H
-#include <guichan/actionlistener.hpp>
-
-#include "window.h"
-#include "gccontainer.h"
+#include "gui/window.h"
-#include "../guichanfwd.h"
+#include "guichanfwd.h"
+#include <guichan/actionlistener.hpp>
/**
* The skill dialog.
@@ -38,14 +36,8 @@
class MagicDialog : public Window, public gcn::ActionListener
{
public:
- /**
- * Constructor.
- */
MagicDialog();
- /**
- * Destructor.
- */
~MagicDialog();
/**
@@ -62,14 +54,8 @@ class MagicDialog : public Window, public gcn::ActionListener
* Draw this window.
*/
void draw(gcn::Graphics *g);
-
- private:
-
};
-
-
-
extern MagicDialog *magicDialog;
#endif