godot/editor/plugins/tiles/tiles_editor_plugin.cpp

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

#include "tile_set_editor.h"

#include "core/os/mutex.h"

#include "editor/editor_command_palette.h"
#include "editor/editor_interface.h"
#include "editor/editor_node.h"
#include "editor/editor_settings.h"
#include "editor/editor_string_names.h"
#include "editor/gui/editor_bottom_panel.h"
#include "editor/multi_node_edit.h"
#include "editor/plugins/canvas_item_editor_plugin.h"
#include "editor/themes/editor_scale.h"
#include "scene/2d/tile_map.h"
#include "scene/2d/tile_map_layer.h"
#include "scene/gui/box_container.h"
#include "scene/gui/button.h"
#include "scene/gui/control.h"
#include "scene/gui/separator.h"
#include "scene/resources/2d/tile_set.h"
#include "scene/resources/image_texture.h"

TilesEditorUtils *TilesEditorUtils::singleton =;
TileMapEditorPlugin *tile_map_plugin_singleton =;
TileSetEditorPlugin *tile_set_plugin_singleton =;

void TilesEditorUtils::_preview_frame_started() {}

void TilesEditorUtils::_pattern_preview_done() {}

void TilesEditorUtils::_thread_func(void *ud) {}

void TilesEditorUtils::_thread() {}

void TilesEditorUtils::queue_pattern_preview(Ref<TileSet> p_tile_set, Ref<TileMapPattern> p_pattern, Callable p_callback) {}

void TilesEditorUtils::set_sources_lists_current(int p_current) {}

void TilesEditorUtils::synchronize_sources_list(Object *p_current_list, Object *p_current_sort_button) {}

void TilesEditorUtils::set_atlas_view_transform(float p_zoom, Vector2 p_scroll) {}

void TilesEditorUtils::synchronize_atlas_view(Object *p_current) {}

void TilesEditorUtils::set_sorting_option(int p_option) {}

List<int> TilesEditorUtils::get_sorted_sources(const Ref<TileSet> p_tile_set) const {}

Ref<TileSet> TilesEditorUtils::SourceNameComparator::tile_set;

bool TilesEditorUtils::SourceNameComparator::operator()(const int &p_a, const int &p_b) const {}

void TilesEditorUtils::display_tile_set_editor_panel() {}

void TilesEditorUtils::draw_selection_rect(CanvasItem *p_ci, const Rect2 &p_rect, const Color &p_color) {}

TilesEditorUtils::TilesEditorUtils() {}

TilesEditorUtils::~TilesEditorUtils() {}

void TileMapEditorPlugin::_tile_map_layer_changed() {}

void TileMapEditorPlugin::_tile_map_layer_removed() {}

void TileMapEditorPlugin::_update_tile_map() {}

void TileMapEditorPlugin::_select_layer(const StringName &p_name) {}

void TileMapEditorPlugin::_edit_tile_map_layer(TileMapLayer *p_tile_map_layer, bool p_show_layer_selector) {}

void TileMapEditorPlugin::_edit_tile_map(TileMap *p_tile_map) {}

void TileMapEditorPlugin::_notification(int p_notification) {}

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

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

void TileMapEditorPlugin::make_visible(bool p_visible) {}

bool TileMapEditorPlugin::forward_canvas_gui_input(const Ref<InputEvent> &p_event) {}

void TileMapEditorPlugin::forward_canvas_draw_over_viewport(Control *p_overlay) {}

void TileMapEditorPlugin::hide_editor() {}

bool TileMapEditorPlugin::is_editor_visible() const {}

TileMapEditorPlugin::TileMapEditorPlugin() {}

TileMapEditorPlugin::~TileMapEditorPlugin() {}

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

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

void TileSetEditorPlugin::make_visible(bool p_visible) {}

ObjectID TileSetEditorPlugin::get_edited_tileset() const {}

TileSetEditorPlugin::TileSetEditorPlugin() {}

TileSetEditorPlugin::~TileSetEditorPlugin() {}