godot/editor/editor_dock_manager.cpp

/**************************************************************************/
/*  editor_dock_manager.cpp                                               */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#include "editor_dock_manager.h"

#include "scene/gui/box_container.h"
#include "scene/gui/button.h"
#include "scene/gui/label.h"
#include "scene/gui/split_container.h"
#include "scene/gui/tab_container.h"
#include "scene/main/window.h"

#include "editor/editor_node.h"
#include "editor/editor_settings.h"
#include "editor/editor_string_names.h"
#include "editor/filesystem_dock.h"
#include "editor/gui/editor_bottom_panel.h"
#include "editor/themes/editor_scale.h"
#include "editor/window_wrapper.h"

enum class TabStyle {};

EditorDockManager *EditorDockManager::singleton =;

void DockSplitContainer::_update_visibility() {}

void DockSplitContainer::add_child_notify(Node *p_child) {}

void DockSplitContainer::remove_child_notify(Node *p_child) {}

void EditorDockManager::_dock_split_dragged(int p_offset) {}

void EditorDockManager::_dock_container_gui_input(const Ref<InputEvent> &p_input, TabContainer *p_dock_container) {}

void EditorDockManager::_bottom_dock_button_gui_input(const Ref<InputEvent> &p_input, Control *p_dock, Button *p_bottom_button) {}

void EditorDockManager::_dock_container_update_visibility(TabContainer *p_dock_container) {}

void EditorDockManager::_update_layout() {}

void EditorDockManager::_update_docks_menu() {}

void EditorDockManager::_docks_menu_option(int p_id) {}

void EditorDockManager::_window_close_request(WindowWrapper *p_wrapper) {}

Control *EditorDockManager::_close_window(WindowWrapper *p_wrapper) {}

void EditorDockManager::_open_dock_in_window(Control *p_dock, bool p_show_window, bool p_reset_size) {}

void EditorDockManager::_restore_dock_to_saved_window(Control *p_dock, const Dictionary &p_window_dump) {}

void EditorDockManager::_dock_move_to_bottom(Control *p_dock, bool p_visible) {}

void EditorDockManager::_dock_remove_from_bottom(Control *p_dock) {}

bool EditorDockManager::_is_dock_at_bottom(Control *p_dock) {}

void EditorDockManager::_move_dock_tab_index(Control *p_dock, int p_tab_index, bool p_set_current) {}

void EditorDockManager::_move_dock(Control *p_dock, Control *p_target, int p_tab_index, bool p_set_current) {}

void EditorDockManager::_update_tab_style(Control *p_dock) {}

void EditorDockManager::save_docks_to_config(Ref<ConfigFile> p_layout, const String &p_section) const {}

void EditorDockManager::load_docks_from_config(Ref<ConfigFile> p_layout, const String &p_section) {}

void EditorDockManager::bottom_dock_show_placement_popup(const Rect2i &p_position, Control *p_dock) {}

void EditorDockManager::set_dock_enabled(Control *p_dock, bool p_enabled) {}

void EditorDockManager::close_dock(Control *p_dock) {}

void EditorDockManager::open_dock(Control *p_dock, bool p_set_current) {}

TabContainer *EditorDockManager::get_dock_tab_container(Control *p_dock) const {}

void EditorDockManager::focus_dock(Control *p_dock) {}

void EditorDockManager::add_dock(Control *p_dock, const String &p_title, DockSlot p_slot, const Ref<Shortcut> &p_shortcut, const StringName &p_icon_name) {}

void EditorDockManager::remove_dock(Control *p_dock) {}

void EditorDockManager::set_dock_tab_icon(Control *p_dock, const Ref<Texture2D> &p_icon) {}

void EditorDockManager::set_docks_visible(bool p_show) {}

bool EditorDockManager::are_docks_visible() const {}

void EditorDockManager::update_tab_styles() {}

void EditorDockManager::set_tab_icon_max_width(int p_max_width) {}

void EditorDockManager::add_vsplit(DockSplitContainer *p_split) {}

void EditorDockManager::add_hsplit(DockSplitContainer *p_split) {}

void EditorDockManager::register_dock_slot(DockSlot p_dock_slot, TabContainer *p_tab_container) {}

int EditorDockManager::get_vsplit_count() const {}

PopupMenu *EditorDockManager::get_docks_menu() {}

EditorDockManager::EditorDockManager() {}

void DockContextPopup::_notification(int p_what) {}

void DockContextPopup::_tab_move_left() {}

void DockContextPopup::_tab_move_right() {}

void DockContextPopup::_close_dock() {}

void DockContextPopup::_float_dock() {}

void DockContextPopup::_move_dock_to_bottom() {}

void DockContextPopup::_dock_select_input(const Ref<InputEvent> &p_input) {}

void DockContextPopup::_dock_select_mouse_exited() {}

void DockContextPopup::_dock_select_draw() {}

void DockContextPopup::_update_buttons() {}

void DockContextPopup::select_current_dock_in_dock_slot(int p_dock_slot) {}

void DockContextPopup::set_dock(Control *p_dock) {}

Control *DockContextPopup::get_dock() const {}

void DockContextPopup::docks_updated() {}

DockContextPopup::DockContextPopup() {}