summaryrefslogtreecommitdiff
path: root/editor/editor_node.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor_node.h')
-rw-r--r--editor/editor_node.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/editor/editor_node.h b/editor/editor_node.h
index cb165bdf21..5182650abc 100644
--- a/editor/editor_node.h
+++ b/editor/editor_node.h
@@ -35,6 +35,7 @@
#include "editor/editor_data.h"
#include "editor/editor_path.h"
#include "editor/editor_run.h"
+#include "editor/export_template_manager.h"
#include "editor/filesystem_dock.h"
#include "editor/groups_editor.h"
#include "editor/import_dock.h"
@@ -180,7 +181,7 @@ private:
SETTINGS_LAYOUT_SAVE,
SETTINGS_LAYOUT_DELETE,
SETTINGS_LAYOUT_DEFAULT,
- SETTINGS_LOAD_EXPORT_TEMPLATES,
+ SETTINGS_MANAGE_EXPORT_TEMPLATES,
SETTINGS_PICK_MAIN_SCENE,
SETTINGS_TOGGLE_FULLSCREN,
SETTINGS_HELP,
@@ -300,6 +301,7 @@ private:
RunSettingsDialog *run_settings_dialog;
ProjectSettings *project_settings;
EditorFileDialog *file;
+ ExportTemplateManager *export_template_manager;
FileDialog *file_templates;
FileDialog *file_export;
FileDialog *file_export_lib;
@@ -598,6 +600,13 @@ private:
void _tool_menu_insert_item(const ToolMenuItem &p_item);
void _rebuild_tool_menu() const;
+ bool _dimming;
+ float _dim_time;
+ Timer *_dim_timer;
+
+ void _start_dimming(bool p_dimming);
+ void _dim_timeout();
+
protected:
void _notification(int p_what);
static void _bind_methods();
@@ -732,6 +741,8 @@ public:
void update_keying();
+ void open_export_template_manager();
+
void reload_scene(const String &p_path);
bool is_exiting() const { return exiting; }
@@ -753,6 +764,8 @@ public:
void add_tool_submenu_item(const String &p_name, PopupMenu *p_submenu);
void remove_tool_menu_item(const String &p_name);
+ void dim_editor(bool p_dimming);
+
EditorNode();
~EditorNode();
void get_singleton(const char *arg1, bool arg2);