summaryrefslogtreecommitdiff
path: root/editor/editor_node.h
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2020-03-06 14:00:16 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-03-26 15:49:40 +0100
commit4758057f205a7d2e0d2db2c034705b7afcdf310f (patch)
tree3a96eee6ba8758976581fcecb32faacd285baaee /editor/editor_node.h
parentf51fdc6eef636eba7bf43d313995e708f690c782 (diff)
Working multiple window support, including editor
Diffstat (limited to 'editor/editor_node.h')
-rw-r--r--editor/editor_node.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/editor/editor_node.h b/editor/editor_node.h
index c670d4954b..88ebf4d475 100644
--- a/editor/editor_node.h
+++ b/editor/editor_node.h
@@ -350,11 +350,14 @@ private:
Button *new_inherited_button;
String open_import_request;
+ Vector<Control *> floating_docks;
+
TabContainer *dock_slot[DOCK_SLOT_MAX];
Rect2 dock_select_rect[DOCK_SLOT_MAX];
int dock_select_rect_over;
PopupPanel *dock_select_popup;
Control *dock_select;
+ Button *dock_float;
ToolButton *dock_tab_move_left;
ToolButton *dock_tab_move_right;
int dock_popup_selected;
@@ -562,6 +565,8 @@ private:
bool _find_scene_in_use(Node *p_node, const String &p_path) const;
+ void _update_dock_containers();
+
void _dock_select_input(const Ref<InputEvent> &p_input);
void _dock_move_left();
void _dock_move_right();
@@ -569,6 +574,8 @@ private:
void _dock_pre_popup(int p_which);
void _dock_split_dragged(int ofs);
void _dock_popup_exit();
+ void _dock_floating_close_request(Control *p_control);
+ void _dock_make_float();
void _scene_tab_changed(int p_tab);
void _scene_tab_closed(int p_tab, int option = SCENE_TAB_CLOSE);
void _scene_tab_hover(int p_tab);