summaryrefslogtreecommitdiff
path: root/src/gui/textcommandeditor.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-16 22:00:30 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-16 22:00:30 +0300
commitfc6e4c75e29c26b46af5d0c17bbd124211563e4c (patch)
tree834b022769009c6c86354e98363a03b9357ce14d /src/gui/textcommandeditor.h
parentfa8f48584bcf693ef7293d94dc55161b9020eb3f (diff)
downloadmv-fc6e4c75e29c26b46af5d0c17bbd124211563e4c.tar.gz
mv-fc6e4c75e29c26b46af5d0c17bbd124211563e4c.tar.bz2
mv-fc6e4c75e29c26b46af5d0c17bbd124211563e4c.tar.xz
mv-fc6e4c75e29c26b46af5d0c17bbd124211563e4c.zip
Fix some possible memory leaks.
Diffstat (limited to 'src/gui/textcommandeditor.h')
-rw-r--r--src/gui/textcommandeditor.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/gui/textcommandeditor.h b/src/gui/textcommandeditor.h
index 9f8c0ad51..cb88b8160 100644
--- a/src/gui/textcommandeditor.h
+++ b/src/gui/textcommandeditor.h
@@ -29,15 +29,18 @@
#include <guichan/actionlistener.hpp>
-class RadioButton;
-class Label;
-class TextBox;
-class TextField;
+class Button;
class DropDown;
+class IconsModal;
+class IntTextField;
+class Label;
class ListModel;
-class Button;
+class MagicSchoolModel;
+class RadioButton;
+class TargetTypeModel;
+class TextBox;
class TextCommand;
-class IntTextField;
+class TextField;
class TextCommandEditor : public Window, public gcn::ActionListener
{
@@ -92,6 +95,9 @@ class TextCommandEditor : public Window, public gcn::ActionListener
DropDown *mSchoolDropDown;
Label *mSchoolLvlLabel;
IntTextField *mSchoolLvlField;
+ IconsModal *mIconsModal;
+ TargetTypeModel *mTargetTypeModel;
+ MagicSchoolModel *mMagicSchoolModel;
//Button *mAdvancedButton;
Button *mCancelButton;