#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_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::_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() : … { … }