godot/editor/plugins/polygon_2d_editor_plugin.cpp

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

#include "core/input/input_event.h"
#include "core/math/geometry_2d.h"
#include "editor/editor_node.h"
#include "editor/editor_settings.h"
#include "editor/editor_undo_redo_manager.h"
#include "editor/gui/editor_zoom_widget.h"
#include "editor/plugins/canvas_item_editor_plugin.h"
#include "editor/themes/editor_scale.h"
#include "scene/2d/skeleton_2d.h"
#include "scene/gui/check_box.h"
#include "scene/gui/dialogs.h"
#include "scene/gui/label.h"
#include "scene/gui/menu_button.h"
#include "scene/gui/panel.h"
#include "scene/gui/scroll_container.h"
#include "scene/gui/separator.h"
#include "scene/gui/slider.h"
#include "scene/gui/spin_box.h"
#include "scene/gui/split_container.h"
#include "scene/gui/texture_rect.h"
#include "scene/gui/view_panner.h"

class UVEditDialog : public AcceptDialog {};

Node2D *Polygon2DEditor::_get_node() const {}

void Polygon2DEditor::_set_node(Node *p_polygon) {}

Vector2 Polygon2DEditor::_get_offset(int p_idx) const {}

int Polygon2DEditor::_get_polygon_count() const {}

void Polygon2DEditor::_notification(int p_what) {}

void Polygon2DEditor::_sync_bones() {}

void Polygon2DEditor::_update_bone_list() {}

void Polygon2DEditor::_bone_paint_selected(int p_index) {}

void Polygon2DEditor::_uv_edit_mode_select(int p_mode) {}

void Polygon2DEditor::_uv_edit_popup_show() {}

void Polygon2DEditor::_uv_edit_popup_hide() {}

void Polygon2DEditor::_menu_option(int p_option) {}

void Polygon2DEditor::_cancel_editing() {}

void Polygon2DEditor::_update_polygon_editing_state() {}

void Polygon2DEditor::_commit_action() {}

void Polygon2DEditor::_set_use_snap(bool p_use) {}

void Polygon2DEditor::_set_show_grid(bool p_show) {}

void Polygon2DEditor::_set_snap_off_x(real_t p_val) {}

void Polygon2DEditor::_set_snap_off_y(real_t p_val) {}

void Polygon2DEditor::_set_snap_step_x(real_t p_val) {}

void Polygon2DEditor::_set_snap_step_y(real_t p_val) {}

void Polygon2DEditor::_uv_mode(int p_mode) {}

void Polygon2DEditor::_uv_input(const Ref<InputEvent> &p_input) {}

void Polygon2DEditor::_update_available_modes() {}

void Polygon2DEditor::_center_view() {}

void Polygon2DEditor::_uv_pan_callback(Vector2 p_scroll_vec, Ref<InputEvent> p_event) {}

void Polygon2DEditor::_uv_zoom_callback(float p_zoom_factor, Vector2 p_origin, Ref<InputEvent> p_event) {}

void Polygon2DEditor::_update_zoom_and_pan(bool p_zoom_at_center) {}

void Polygon2DEditor::_uv_draw() {}

void Polygon2DEditor::_bind_methods() {}

Vector2 Polygon2DEditor::snap_point(Vector2 p_target) const {}

Polygon2DEditor::Polygon2DEditor() {}

Polygon2DEditorPlugin::Polygon2DEditorPlugin() :{}