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< bool()> pick_tile16_from_hovered_canvas
 
std::function< bool()> is_entity_hovered
 Returns true if an entity is currently hovered (for pan suppression).
 

Detailed Description

Callbacks for operations that remain in the OverworldEditor.

Definition at line 70 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

◆ 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

Returns true if an entity is currently hovered (for pan suppression).

Definition at line 76 of file canvas_navigation_manager.h.

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


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