summaryrefslogtreecommitdiff
path: root/editor/filesystem_dock.h
diff options
context:
space:
mode:
authorgroud <gilles.roudiere@gmail.com>2018-09-13 17:35:44 +0200
committergroud <gilles.roudiere@gmail.com>2018-09-14 10:22:07 +0200
commit796418aa11aa9e22ae9e182937e37718e7bb8a0b (patch)
tree820575dfa0259389063efa5dfe761111556293e7 /editor/filesystem_dock.h
parentb2633a97b9efa7b926d6682342480c5ccb482369 (diff)
Merge the disable_split and show_files_in_tree settings
Diffstat (limited to 'editor/filesystem_dock.h')
-rw-r--r--editor/filesystem_dock.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/editor/filesystem_dock.h b/editor/filesystem_dock.h
index 34a2666ecb..d6828b51d1 100644
--- a/editor/filesystem_dock.h
+++ b/editor/filesystem_dock.h
@@ -66,10 +66,15 @@ public:
};
private:
+ enum DisplayModeSetting {
+ DISPLAY_MODE_SETTING_TREE_ONLY,
+ DISPLAY_MODE_SETTING_SPLIT,
+ };
+
enum DisplayMode {
- DISPLAY_TREE_ONLY,
- DISPLAY_FILE_LIST_ONLY,
- DISPLAY_SPLIT,
+ DISPLAY_MODE_TREE_ONLY,
+ DISPLAY_MODE_FILE_LIST_ONLY,
+ DISPLAY_MODE_SPLIT,
};
enum FileMenu {
@@ -134,7 +139,7 @@ private:
ScriptCreateDialog *make_script_dialog_text;
CreateDialog *new_resource_dialog;
- bool display_files_in_tree;
+ int display_mode_setting;
bool always_show_folders;