diff options
| author | Rémi Verschelde | 2017-02-07 14:14:54 +0100 |
|---|---|---|
| committer | GitHub | 2017-02-07 14:14:54 +0100 |
| commit | bd8df0f21dfa0d9c68d14107bcb4f4b2cc4e099d (patch) | |
| tree | d2c505c99a61d77047df338546f4d8882dffbe0d /tools/editor/plugins/script_editor_plugin.h | |
| parent | 6bfaa0f12c65947ab0f124ec4c75345bd1332b77 (diff) | |
| parent | 6f3fc1f05a015e0b4f2e5e5db430217298c1e970 (diff) | |
| download | godot-bd8df0f21dfa0d9c68d14107bcb4f4b2cc4e099d.tar.gz godot-bd8df0f21dfa0d9c68d14107bcb4f4b2cc4e099d.tar.zst godot-bd8df0f21dfa0d9c68d14107bcb4f4b2cc4e099d.zip | |
Merge pull request #7709 from bojidar-bg/sort-scripts-by-path
Sort settings for scripts in the editor
Diffstat (limited to '')
| -rw-r--r-- | tools/editor/plugins/script_editor_plugin.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/editor/plugins/script_editor_plugin.h b/tools/editor/plugins/script_editor_plugin.h index 887c2f7d6..75099fc5e 100644 --- a/tools/editor/plugins/script_editor_plugin.h +++ b/tools/editor/plugins/script_editor_plugin.h @@ -154,6 +154,17 @@ class ScriptEditor : public VBoxContainer { WINDOW_PREV, WINDOW_SELECT_BASE=100 }; + + enum ScriptSortBy { + SORT_BY_NAME, + SORT_BY_PATH, + }; + + enum ScriptListName { + DISPLAY_NAME, + DISPLAY_DIR_AND_NAME, + DISPLAY_FULL_PATH, + }; HBoxContainer *menu_hb; MenuButton *file_menu; |
