diff options
| author | Bojidar Marinov | 2017-02-02 14:31:01 +0200 |
|---|---|---|
| committer | Bojidar Marinov | 2017-02-02 14:31:01 +0200 |
| commit | 6f3fc1f05a015e0b4f2e5e5db430217298c1e970 (patch) | |
| tree | 322d94475512ce32a81efc3ee58a90b46e763464 /tools/editor/plugins/script_editor_plugin.h | |
| parent | 86a04198d96820b853bec79165b738a841142768 (diff) | |
| download | godot-6f3fc1f05a015e0b4f2e5e5db430217298c1e970.tar.gz godot-6f3fc1f05a015e0b4f2e5e5db430217298c1e970.tar.zst godot-6f3fc1f05a015e0b4f2e5e5db430217298c1e970.zip | |
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; |
