From 6f3fc1f05a015e0b4f2e5e5db430217298c1e970 Mon Sep 17 00:00:00 2001 From: Bojidar Marinov Date: Thu, 2 Feb 2017 14:31:01 +0200 Subject: Sort settings for scripts in the editor --- tools/editor/plugins/script_editor_plugin.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tools/editor/plugins/script_editor_plugin.h') 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; -- cgit v1.2.3-70-g09d2