summaryrefslogtreecommitdiff
path: root/tools/editor/create_dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor/create_dialog.h')
-rw-r--r--tools/editor/create_dialog.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/editor/create_dialog.h b/tools/editor/create_dialog.h
index 6f959fd467..a46ff5ae06 100644
--- a/tools/editor/create_dialog.h
+++ b/tools/editor/create_dialog.h
@@ -82,37 +82,37 @@ public:
//old create dialog, disabled
class CreateDialog : public ConfirmationDialog {
-
+
OBJ_TYPE( CreateDialog, ConfirmationDialog );
-
+
Tree *tree;
Button *create;
Button *cancel;
LineEdit *filter;
-
+
void update_tree();
void _create();
void _cancel();
- void add_type(const String& p_type,HashMap<String,TreeItem*>& p_types,TreeItem
+ void add_type(const String& p_type,HashMap<String,TreeItem*>& p_types,TreeItem
*p_root);
-
+
String base;
void _text_changed(String p_text);
virtual void _post_popup() { tree->grab_focus();}
protected:
- static void _bind_methods();
+ static void _bind_methods();
void _notification(int p_what);
public:
-
+
Object *instance_selected();
-
+
void set_base_type(const String& p_base);
String get_base_type() const;
- CreateDialog();
+ CreateDialog();
~CreateDialog();
};