diff options
| author | Chaosus | 2018-06-21 12:10:43 +0300 |
|---|---|---|
| committer | Chaosus | 2018-06-21 12:10:43 +0300 |
| commit | 7a18b9590611a329c9a654cd0b378ce0a051c6b6 (patch) | |
| tree | c5efdfaa0366a06240537fe7b4940cfa8b0d1c2c /editor/plugins/script_editor_plugin.h | |
| parent | a9acdd84b7a6fd074f21d500a64976326f6cbb67 (diff) | |
| download | godot-7a18b9590611a329c9a654cd0b378ce0a051c6b6.tar.gz godot-7a18b9590611a329c9a654cd0b378ce0a051c6b6.tar.zst godot-7a18b9590611a329c9a654cd0b378ce0a051c6b6.zip | |
Move Theme options to submenu
Diffstat (limited to 'editor/plugins/script_editor_plugin.h')
| -rw-r--r-- | editor/plugins/script_editor_plugin.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/editor/plugins/script_editor_plugin.h b/editor/plugins/script_editor_plugin.h index 769612bdb..67f506fdd 100644 --- a/editor/plugins/script_editor_plugin.h +++ b/editor/plugins/script_editor_plugin.h @@ -134,10 +134,7 @@ class ScriptEditor : public PanelContainer { FILE_SAVE, FILE_SAVE_AS, FILE_SAVE_ALL, - FILE_IMPORT_THEME, - FILE_RELOAD_THEME, - FILE_SAVE_THEME, - FILE_SAVE_THEME_AS, + FILE_THEME, FILE_RUN, FILE_CLOSE, CLOSE_DOCS, @@ -168,6 +165,13 @@ class ScriptEditor : public PanelContainer { WINDOW_SELECT_BASE = 100 }; + enum { + THEME_IMPORT, + THEME_RELOAD, + THEME_SAVE, + THEME_SAVE_AS + }; + enum ScriptSortBy { SORT_BY_NAME, SORT_BY_PATH, @@ -190,6 +194,7 @@ class ScriptEditor : public PanelContainer { uint64_t idle; PopupMenu *recent_scripts; + PopupMenu *theme_submenu; Button *help_search; Button *site_search; @@ -251,6 +256,7 @@ class ScriptEditor : public PanelContainer { void _tab_changed(int p_which); void _menu_option(int p_option); + void _theme_option(int p_option); Tree *disk_changed_list; ConfirmationDialog *disk_changed; |
