yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::CanvasNavigationCallbacks Struct Reference

Callbacks for operations that remain in the OverworldEditor. More...

#include <canvas_navigation_manager.h>

Public Attributes

std::function< void()> refresh_overworld_map
 
std::function< absl::Status()> refresh_tile16_blockset
 
std::function< void(int)> ensure_map_texture
 
std::function< void(int, bool)> select_map_for_editing
 
std::function< bool()> pick_tile16_from_hovered_canvas
 
std::function< bool()> is_entity_hovered
 Returns true if an entity is currently hovered (for pan suppression).
 
std::function< void()> open_map_properties
 Opens (and focuses) the Map Properties window. Double-click target.
 

Detailed Description

Callbacks for operations that remain in the OverworldEditor.

Definition at line 92 of file canvas_navigation_manager.h.

Member Data Documentation

◆ refresh_overworld_map

std::function<void()> yaze::editor::CanvasNavigationCallbacks::refresh_overworld_map

◆ refresh_tile16_blockset

std::function<absl::Status()> yaze::editor::CanvasNavigationCallbacks::refresh_tile16_blockset

◆ ensure_map_texture

std::function<void(int)> yaze::editor::CanvasNavigationCallbacks::ensure_map_texture

◆ select_map_for_editing

std::function<void(int, bool)> yaze::editor::CanvasNavigationCallbacks::select_map_for_editing

◆ pick_tile16_from_hovered_canvas

std::function<bool()> yaze::editor::CanvasNavigationCallbacks::pick_tile16_from_hovered_canvas

◆ is_entity_hovered

std::function<bool()> yaze::editor::CanvasNavigationCallbacks::is_entity_hovered

◆ open_map_properties

std::function<void()> yaze::editor::CanvasNavigationCallbacks::open_map_properties

Opens (and focuses) the Map Properties window. Double-click target.

Definition at line 101 of file canvas_navigation_manager.h.

Referenced by yaze::editor::CanvasNavigationManager::HandleMapInteraction(), and yaze::editor::OverworldEditor::InitCanvasNavigationManager().


The documentation for this struct was generated from the following file: