godot/editor/plugins/theme_editor_plugin.cpp

/**************************************************************************/
/*  theme_editor_plugin.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 "theme_editor_plugin.h"

#include "core/os/keyboard.h"
#include "editor/editor_command_palette.h"
#include "editor/editor_help.h"
#include "editor/editor_node.h"
#include "editor/editor_resource_picker.h"
#include "editor/editor_string_names.h"
#include "editor/editor_undo_redo_manager.h"
#include "editor/gui/editor_bottom_panel.h"
#include "editor/gui/editor_file_dialog.h"
#include "editor/inspector_dock.h"
#include "editor/progress_dialog.h"
#include "editor/themes/editor_scale.h"
#include "scene/gui/check_button.h"
#include "scene/gui/color_picker.h"
#include "scene/gui/item_list.h"
#include "scene/gui/option_button.h"
#include "scene/gui/panel_container.h"
#include "scene/gui/scroll_container.h"
#include "scene/gui/split_container.h"
#include "scene/gui/tab_bar.h"
#include "scene/gui/tab_container.h"
#include "scene/gui/texture_rect.h"
#include "scene/theme/theme_db.h"

void ThemeItemImportTree::_update_items_tree() {}

void ThemeItemImportTree::_toggle_type_items(bool p_collapse) {}

void ThemeItemImportTree::_filter_text_changed(const String &p_value) {}

void ThemeItemImportTree::_store_selected_item(TreeItem *p_tree_item) {}

void ThemeItemImportTree::_restore_selected_item(TreeItem *p_tree_item) {}

void ThemeItemImportTree::_update_total_selected(Theme::DataType p_data_type) {}

void ThemeItemImportTree::_tree_item_edited() {}

void ThemeItemImportTree::_check_propagated_to_tree_item(Object *p_obj, int p_column) {}

void ThemeItemImportTree::_select_all_subitems(TreeItem *p_root_item, bool p_select_with_data) {}

void ThemeItemImportTree::_deselect_all_subitems(TreeItem *p_root_item, bool p_deselect_completely) {}

void ThemeItemImportTree::_select_all_items_pressed() {}

void ThemeItemImportTree::_select_full_items_pressed() {}

void ThemeItemImportTree::_deselect_all_items_pressed() {}

void ThemeItemImportTree::_select_all_data_type_pressed(int p_data_type) {}

void ThemeItemImportTree::_select_full_data_type_pressed(int p_data_type) {}

void ThemeItemImportTree::_deselect_all_data_type_pressed(int p_data_type) {}

void ThemeItemImportTree::_import_selected() {}

void ThemeItemImportTree::set_edited_theme(const Ref<Theme> &p_theme) {}

void ThemeItemImportTree::set_base_theme(const Ref<Theme> &p_theme) {}

void ThemeItemImportTree::reset_item_tree() {}

bool ThemeItemImportTree::has_selected_items() const {}

void ThemeItemImportTree::_notification(int p_what) {}

void ThemeItemImportTree::_bind_methods() {}

ThemeItemImportTree::ThemeItemImportTree() {}

///////////////////////

void ThemeItemEditorDialog::ok_pressed() {}

void ThemeItemEditorDialog::_close_dialog() {}

void ThemeItemEditorDialog::_dialog_about_to_show() {}

void ThemeItemEditorDialog::_update_edit_types() {}

void ThemeItemEditorDialog::_edited_type_selected() {}

void ThemeItemEditorDialog::_edited_type_button_pressed(Object *p_item, int p_column, int p_id, MouseButton p_button) {}

void ThemeItemEditorDialog::_update_edit_item_tree(String p_item_type) {}

void ThemeItemEditorDialog::_item_tree_button_pressed(Object *p_item, int p_column, int p_id, MouseButton p_button) {}

void ThemeItemEditorDialog::_add_theme_type(const String &p_new_text) {}

void ThemeItemEditorDialog::_add_theme_item(Theme::DataType p_data_type, String p_item_name, String p_item_type) {}

void ThemeItemEditorDialog::_remove_theme_type(const String &p_theme_type) {}

void ThemeItemEditorDialog::_remove_data_type_items(Theme::DataType p_data_type, String p_item_type) {}

void ThemeItemEditorDialog::_remove_class_items() {}

void ThemeItemEditorDialog::_remove_custom_items() {}

void ThemeItemEditorDialog::_remove_all_items() {}

void ThemeItemEditorDialog::_open_add_theme_item_dialog(int p_data_type) {}

void ThemeItemEditorDialog::_open_rename_theme_item_dialog(Theme::DataType p_data_type, String p_item_name) {}

void ThemeItemEditorDialog::_confirm_edit_theme_item() {}

void ThemeItemEditorDialog::_edit_theme_item_gui_input(const Ref<InputEvent> &p_event) {}

void ThemeItemEditorDialog::_open_select_another_theme() {}

void ThemeItemEditorDialog::_select_another_theme_cbk(const String &p_path) {}

void ThemeItemEditorDialog::_notification(int p_what) {}

void ThemeItemEditorDialog::_bind_methods() {}

void ThemeItemEditorDialog::set_edited_theme(const Ref<Theme> &p_theme) {}

ThemeItemEditorDialog::ThemeItemEditorDialog(ThemeTypeEditor *p_theme_type_editor) {}

///////////////////////

void ThemeTypeDialog::_dialog_about_to_show() {}

void ThemeTypeDialog::ok_pressed() {}

void ThemeTypeDialog::_update_add_type_options(const String &p_filter) {}

void ThemeTypeDialog::_add_type_filter_cbk(const String &p_value) {}

void ThemeTypeDialog::_type_filter_input(const Ref<InputEvent> &p_ie) {}

void ThemeTypeDialog::_add_type_options_cbk(int p_index) {}

void ThemeTypeDialog::_add_type_dialog_entered(const String &p_value) {}

void ThemeTypeDialog::_add_type_dialog_activated(int p_index) {}

void ThemeTypeDialog::_add_type_selected(const String &p_type_name) {}

void ThemeTypeDialog::_add_type_confirmed() {}

void ThemeTypeDialog::_notification(int p_what) {}

void ThemeTypeDialog::_bind_methods() {}

void ThemeTypeDialog::set_edited_theme(const Ref<Theme> &p_theme) {}

void ThemeTypeDialog::set_include_own_types(bool p_enable) {}

ThemeTypeDialog::ThemeTypeDialog() {}

///////////////////////

Control *ThemeItemLabel::make_custom_tooltip(const String &p_text) const {}

VBoxContainer *ThemeTypeEditor::_create_item_list(Theme::DataType p_data_type) {}

void ThemeTypeEditor::_update_type_list() {}

void ThemeTypeEditor::_update_type_list_debounced() {}

HashMap<StringName, bool> ThemeTypeEditor::_get_type_items(String p_type_name, Theme::DataType p_type, bool p_include_default) {}

HBoxContainer *ThemeTypeEditor::_create_property_control(Theme::DataType p_data_type, String p_item_name, bool p_editable) {}

void ThemeTypeEditor::_add_focusable(Control *p_control) {}

void ThemeTypeEditor::_update_type_items() {}

void ThemeTypeEditor::_list_type_selected(int p_index) {}

void ThemeTypeEditor::_add_type_button_cbk() {}

void ThemeTypeEditor::_add_default_type_items() {}

void ThemeTypeEditor::_update_add_button(const String &p_text, LineEdit *p_for_edit) {}

void ThemeTypeEditor::_item_add_cbk(int p_data_type, Control *p_control) {}

void ThemeTypeEditor::_item_add_lineedit_cbk(String p_value, int p_data_type, Control *p_control) {}

void ThemeTypeEditor::_item_override_cbk(int p_data_type, String p_item_name) {}

void ThemeTypeEditor::_item_remove_cbk(int p_data_type, String p_item_name) {}

void ThemeTypeEditor::_item_rename_cbk(int p_data_type, String p_item_name, Control *p_control) {}

void ThemeTypeEditor::_item_rename_confirmed(int p_data_type, String p_item_name, Control *p_control) {}

void ThemeTypeEditor::_item_rename_entered(String p_value, int p_data_type, String p_item_name, Control *p_control) {}

void ThemeTypeEditor::_item_rename_canceled(int p_data_type, String p_item_name, Control *p_control) {}

void ThemeTypeEditor::_color_item_changed(Color p_value, String p_item_name) {}

void ThemeTypeEditor::_constant_item_changed(float p_value, String p_item_name) {}

void ThemeTypeEditor::_font_size_item_changed(float p_value, String p_item_name) {}

void ThemeTypeEditor::_edit_resource_item(Ref<Resource> p_resource, bool p_edit) {}

void ThemeTypeEditor::_font_item_changed(Ref<Font> p_value, String p_item_name) {}

void ThemeTypeEditor::_icon_item_changed(Ref<Texture2D> p_value, String p_item_name) {}

void ThemeTypeEditor::_stylebox_item_changed(Ref<StyleBox> p_value, String p_item_name) {}

void ThemeTypeEditor::_change_pinned_stylebox() {}

void ThemeTypeEditor::_on_pin_leader_button_pressed(Control *p_editor, String p_item_name) {}

void ThemeTypeEditor::_pin_leading_stylebox(String p_item_name, Ref<StyleBox> p_stylebox) {}

void ThemeTypeEditor::_on_unpin_leader_button_pressed() {}

void ThemeTypeEditor::_unpin_leading_stylebox() {}

void ThemeTypeEditor::_update_stylebox_from_leading() {}

void ThemeTypeEditor::_type_variation_changed(const String p_value) {}

void ThemeTypeEditor::_add_type_variation_cbk() {}

void ThemeTypeEditor::_add_type_dialog_selected(const String p_type_name) {}

void ThemeTypeEditor::_notification(int p_what) {}

void ThemeTypeEditor::_bind_methods() {}

void ThemeTypeEditor::set_edited_theme(const Ref<Theme> &p_theme) {}

void ThemeTypeEditor::select_type(String p_type_name) {}

bool ThemeTypeEditor::is_stylebox_pinned(Ref<StyleBox> p_stylebox) {}

ThemeTypeEditor::ThemeTypeEditor() {}

///////////////////////

void ThemeEditor::edit(const Ref<Theme> &p_theme) {}

Ref<Theme> ThemeEditor::get_edited_theme() {}

void ThemeEditor::_theme_save_button_cbk(bool p_save_as) {}

void ThemeEditor::_theme_edit_button_cbk() {}

void ThemeEditor::_theme_close_button_cbk() {}

void ThemeEditor::_add_preview_button_cbk() {}

void ThemeEditor::_preview_scene_dialog_cbk(const String &p_path) {}

void ThemeEditor::_add_preview_tab(ThemeEditorPreview *p_preview_tab, const String &p_preview_name, const Ref<Texture2D> &p_icon) {}

void ThemeEditor::_change_preview_tab(int p_tab) {}

void ThemeEditor::_remove_preview_tab(int p_tab) {}

void ThemeEditor::_remove_preview_tab_invalid(Node *p_tab_control) {}

void ThemeEditor::_update_preview_tab(Node *p_tab_control) {}

void ThemeEditor::_preview_control_picked(String p_class_name) {}

void ThemeEditor::_notification(int p_what) {}

ThemeEditor::ThemeEditor() {}

///////////////////////

void ThemeEditorPlugin::edit(Object *p_object) {}

bool ThemeEditorPlugin::handles(Object *p_object) const {}

void ThemeEditorPlugin::make_visible(bool p_visible) {}

bool ThemeEditorPlugin::can_auto_hide() const {}

ThemeEditorPlugin::ThemeEditorPlugin() {}