godot/editor/plugins/tiles/tile_atlas_view.cpp

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

#include "core/input/input.h"
#include "core/os/keyboard.h"
#include "editor/editor_settings.h"
#include "editor/themes/editor_scale.h"
#include "scene/2d/tile_map.h"
#include "scene/gui/box_container.h"
#include "scene/gui/label.h"
#include "scene/gui/panel.h"
#include "scene/gui/view_panner.h"

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

void TileAtlasView::_pan_callback(Vector2 p_scroll_vec, Ref<InputEvent> p_event) {}

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

Size2i TileAtlasView::_compute_base_tiles_control_size() {}

Size2i TileAtlasView::_compute_alternative_tiles_control_size() {}

void TileAtlasView::_update_zoom_and_panning(bool p_zoom_on_mouse_pos) {}

void TileAtlasView::_zoom_widget_changed() {}

void TileAtlasView::_center_view() {}

void TileAtlasView::_base_tiles_root_control_gui_input(const Ref<InputEvent> &p_event) {}

void TileAtlasView::_draw_base_tiles() {}

RID TileAtlasView::_get_canvas_item_to_draw(const TileData *p_for_data, const CanvasItem *p_base_item, HashMap<Ref<Material>, RID> &p_material_map) {}

void TileAtlasView::_clear_material_canvas_items() {}

void TileAtlasView::_draw_base_tiles_texture_grid() {}

void TileAtlasView::_draw_base_tiles_shape_grid() {}

void TileAtlasView::_alternative_tiles_root_control_gui_input(const Ref<InputEvent> &p_event) {}

void TileAtlasView::_draw_alternatives() {}

void TileAtlasView::_draw_background_left() {}

void TileAtlasView::_draw_background_right() {}

void TileAtlasView::set_atlas_source(TileSet *p_tile_set, TileSetAtlasSource *p_tile_set_atlas_source, int p_source_id) {}

float TileAtlasView::get_zoom() const {}

void TileAtlasView::set_transform(float p_zoom, Vector2i p_panning) {}

void TileAtlasView::set_padding(Side p_side, int p_padding) {}

Vector2i TileAtlasView::get_atlas_tile_coords_at_pos(const Vector2 p_pos, bool p_clamp) const {}

void TileAtlasView::_update_alternative_tiles_rect_cache() {}

Vector3i TileAtlasView::get_alternative_tile_at_pos(const Vector2 p_pos) const {}

Rect2i TileAtlasView::get_alternative_tile_rect(const Vector2i p_coords, int p_alternative_tile) {}

void TileAtlasView::queue_redraw() {}

void TileAtlasView::_update_theme_item_cache() {}

void TileAtlasView::_notification(int p_what) {}

void TileAtlasView::_bind_methods() {}

TileAtlasView::TileAtlasView() {}

TileAtlasView::~TileAtlasView() {}