godot/editor/plugins/control_editor_plugin.cpp

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

#include "editor/editor_node.h"
#include "editor/editor_string_names.h"
#include "editor/editor_undo_redo_manager.h"
#include "editor/plugins/canvas_item_editor_plugin.h"
#include "editor/themes/editor_scale.h"
#include "scene/gui/check_button.h"
#include "scene/gui/grid_container.h"
#include "scene/gui/separator.h"

// Inspector controls.

void ControlPositioningWarning::_update_warning() {}

void ControlPositioningWarning::_update_toggler() {}

void ControlPositioningWarning::set_control(Control *p_node) {}

void ControlPositioningWarning::gui_input(const Ref<InputEvent> &p_event) {}

void ControlPositioningWarning::_notification(int p_notification) {}

ControlPositioningWarning::ControlPositioningWarning() {}

void EditorPropertyAnchorsPreset::_set_read_only(bool p_read_only) {}

void EditorPropertyAnchorsPreset::_option_selected(int p_which) {}

void EditorPropertyAnchorsPreset::update_property() {}

void EditorPropertyAnchorsPreset::setup(const Vector<String> &p_options) {}

EditorPropertyAnchorsPreset::EditorPropertyAnchorsPreset() {}

void EditorPropertySizeFlags::_set_read_only(bool p_read_only) {}

void EditorPropertySizeFlags::_preset_selected(int p_which) {}

void EditorPropertySizeFlags::_expand_toggled() {}

void EditorPropertySizeFlags::_flag_toggled() {}

void EditorPropertySizeFlags::update_property() {}

void EditorPropertySizeFlags::setup(const Vector<String> &p_options, bool p_vertical) {}

EditorPropertySizeFlags::EditorPropertySizeFlags() {}

bool EditorInspectorPluginControl::can_handle(Object *p_object) {}

void EditorInspectorPluginControl::parse_category(Object *p_object, const String &p_category) {}

void EditorInspectorPluginControl::parse_group(Object *p_object, const String &p_group) {}

bool EditorInspectorPluginControl::parse_property(Object *p_object, const Variant::Type p_type, const String &p_path, const PropertyHint p_hint, const String &p_hint_text, const BitField<PropertyUsageFlags> p_usage, const bool p_wide) {}

// Toolbars controls.

Size2 ControlEditorPopupButton::get_minimum_size() const {}

void ControlEditorPopupButton::toggled(bool p_pressed) {}

void ControlEditorPopupButton::_popup_visibility_changed(bool p_visible) {}

void ControlEditorPopupButton::_notification(int p_what) {}

ControlEditorPopupButton::ControlEditorPopupButton() {}

void ControlEditorPresetPicker::_add_row_button(HBoxContainer *p_row, const int p_preset, const String &p_name) {}

void ControlEditorPresetPicker::_add_separator(BoxContainer *p_box, Separator *p_separator) {}

void AnchorPresetPicker::_preset_button_pressed(const int p_preset) {}

void AnchorPresetPicker::_notification(int p_notification) {}

void AnchorPresetPicker::_bind_methods() {}

AnchorPresetPicker::AnchorPresetPicker() {}

void SizeFlagPresetPicker::_preset_button_pressed(const int p_preset) {}

void SizeFlagPresetPicker::_expand_button_pressed() {}

void SizeFlagPresetPicker::set_allowed_flags(Vector<SizeFlags> &p_flags) {}

void SizeFlagPresetPicker::set_expand_flag(bool p_expand) {}

void SizeFlagPresetPicker::_notification(int p_notification) {}

void SizeFlagPresetPicker::_bind_methods() {}

SizeFlagPresetPicker::SizeFlagPresetPicker(bool p_vertical) {}

// Toolbar.

void ControlEditorToolbar::_anchors_preset_selected(int p_preset) {}

void ControlEditorToolbar::_anchors_to_current_ratio() {}

void ControlEditorToolbar::_anchor_mode_toggled(bool p_status) {}

void ControlEditorToolbar::_container_flags_selected(int p_flags, bool p_vertical) {}

void ControlEditorToolbar::_expand_flag_toggled(bool p_expand, bool p_vertical) {}

Vector2 ControlEditorToolbar::_position_to_anchor(const Control *p_control, Vector2 position) {}

bool ControlEditorToolbar::_is_node_locked(const Node *p_node) {}

List<Control *> ControlEditorToolbar::_get_edited_controls() {}

void ControlEditorToolbar::_selection_changed() {}

void ControlEditorToolbar::_notification(int p_what) {}

ControlEditorToolbar::ControlEditorToolbar() {}

ControlEditorToolbar *ControlEditorToolbar::singleton =;

// Editor plugin.

ControlEditorPlugin::ControlEditorPlugin() {}