summaryrefslogtreecommitdiffstats
path: root/editor/filesystem_dock.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/filesystem_dock.h')
-rw-r--r--editor/filesystem_dock.h22
1 files changed, 13 insertions, 9 deletions
diff --git a/editor/filesystem_dock.h b/editor/filesystem_dock.h
index d7203c15bd..5fe1389e2a 100644
--- a/editor/filesystem_dock.h
+++ b/editor/filesystem_dock.h
@@ -102,6 +102,12 @@ public:
FILE_SORT_MAX,
};
+ enum Overwrite {
+ OVERWRITE_UNDECIDED,
+ OVERWRITE_REPLACE,
+ OVERWRITE_RENAME,
+ };
+
private:
enum FileMenu {
FILE_OPEN,
@@ -133,12 +139,6 @@ private:
FILE_NEW_SCENE,
};
- enum Overwrite {
- OVERWRITE_UNDECIDED,
- OVERWRITE_REPLACE,
- OVERWRITE_RENAME,
- };
-
HashMap<String, Color> folder_colors;
Dictionary assigned_folder_colors;
@@ -290,7 +290,6 @@ private:
void _duplicate_operation_confirm();
void _overwrite_dialog_action(bool p_overwrite);
Vector<String> _check_existing();
- void _move_dialog_confirm(const String &p_path);
void _move_operation_confirm(const String &p_to_path, bool p_copy = false, Overwrite p_overwrite = OVERWRITE_UNDECIDED);
void _tree_rmb_option(int p_option);
@@ -306,6 +305,7 @@ private:
void _rescan();
void _change_split_mode();
+ void _split_dragged(int p_offset);
void _search_changed(const String &p_text, const Control *p_from);
@@ -387,8 +387,10 @@ public:
void fix_dependencies(const String &p_for_file);
- int get_split_offset() { return split_box->get_split_offset(); }
- void set_split_offset(int p_offset) { split_box->set_split_offset(p_offset); }
+ int get_h_split_offset() const { return split_box_offset_h; }
+ void set_h_split_offset(int p_offset) { split_box_offset_h = p_offset; }
+ int get_v_split_offset() const { return split_box_offset_v; }
+ void set_v_split_offset(int p_offset) { split_box_offset_v = p_offset; }
void select_file(const String &p_file);
void set_display_mode(DisplayMode p_display_mode);
@@ -410,4 +412,6 @@ public:
~FileSystemDock();
};
+VARIANT_ENUM_CAST(FileSystemDock::Overwrite);
+
#endif // FILESYSTEM_DOCK_H