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

#include <map_properties.h>

Collaboration diagram for yaze::editor::MapPropertiesSystem:

Classes

struct  ContextViewToggle
 A View-menu toggle that mirrors a toolbar toggle. More...
 

Public Types

using RefreshMapCallback = std::function<void(int)>
 
using RefreshMapPaletteCallback = std::function<absl::Status(int)>
 
using RefreshCallback = std::function<void()>
 
using RefreshPaletteCallback = std::function<absl::Status()>
 
using ForceRefreshGraphicsCallback = std::function<void(int)>
 
using PropertyEditCallback
 
using PropertyEditBatchCallback
 
using ResourceLabelEditCallback
 

Public Member Functions

 MapPropertiesSystem (zelda3::Overworld *overworld, Rom *rom, std::array< gfx::Bitmap, zelda3::kExpandedMapCount > *maps_bmp=nullptr, gui::Canvas *canvas=nullptr, int *game_state=nullptr)
 
void SetRefreshCallbacks (RefreshMapCallback refresh_map_properties, RefreshCallback refresh_overworld_map, RefreshMapPaletteCallback refresh_map_palette, RefreshPaletteCallback refresh_tile16_blockset=nullptr, ForceRefreshGraphicsCallback force_refresh_graphics=nullptr)
 
void SetEntityCallbacks (std::function< void(const std::string &, const OverworldContextTarget &)> insert_callback)
 
void SetTile16EditCallback (std::function< void(const OverworldContextTarget &)> callback)
 
void SetTile16SampleCallback (std::function< bool(const OverworldContextTarget &)> callback)
 
void SetTile16GraphicsCallback (std::function< void(const OverworldContextTarget &)> callback)
 
void SetMapSelectionCallback (std::function< void(int, bool)> callback)
 
void SetOpenMapPropertiesCallback (std::function< void()> callback)
 Opens (and focuses) the Map Properties window for the selected map.
 
void SetContextNavigationCallbacks (std::function< void()> reset_view, std::function< void()> zoom_in, std::function< void()> zoom_out, std::function< void()> zoom_fit=nullptr, std::function< void()> center_map=nullptr)
 
void SetShortcutHintProvider (std::function< std::string(const char *)> provider)
 
void SetContextViewToggles (ContextViewToggle grid, ContextViewToggle entities, ContextViewToggle overlay_preview)
 
void SetCurrentMapProvider (std::function< int()> provider)
 Current map id; hides "Select This Map" when its area is current.
 
void SetMapJumpCallback (std::function< void(int)> callback)
 
void SetPropertyEditCallback (PropertyEditCallback callback)
 
void SetPropertyEditBatchCallback (PropertyEditBatchCallback callback)
 
void SetResourceLabelEditCallback (ResourceLabelEditCallback callback)
 
void DrawCustomBackgroundColorEditor (int current_map, bool &show_custom_bg_color_editor)
 
void DrawOverlayEditor (int current_map, bool &show_overlay_editor)
 
void DrawOverlayPreviewOnMap (int current_map, int current_world, bool show_overlay_preview)
 
void SetupCanvasContextMenu (gui::Canvas &canvas, const OverworldContextTarget &target, bool &current_map_lock, int current_mode=0, project::YazeProject *project=nullptr, SharedClipboard *shared_clipboard=nullptr)
 
absl::Status ApplyPropertyEdit (const OverworldPropertyEdit &edit)
 
absl::Status ApplyPropertyEdits (const std::vector< OverworldPropertyEdit > &edits, const std::string &description={})
 
absl::Status ApplyPropertyEditDirect (const OverworldPropertyEdit &edit)
 
absl::Status CheckPropertyEditSupported (const OverworldPropertyEdit &edit) const
 
absl::StatusOr< int > ReadPropertyValue (const OverworldPropertyEdit &edit) const
 
void RefreshMapProperties (int map_id)
 
void RefreshOverworldMap ()
 
absl::Status RefreshMapPalette (int map_id)
 
absl::Status RefreshTile16Blockset ()
 
void ForceRefreshGraphics (int map_index)
 
void RefreshSiblingMapGraphics (int map_index, bool include_self=false)
 

Private Member Functions

std::string GetOverlayDescription (uint16_t overlay_id)
 
int CurrentGameState () const
 
int CurrentGameState (int fallback) const
 
void SetCurrentGameState (int game_state)
 
void PrepareMapForGraphicsRefresh (int map_index)
 

Private Attributes

zelda3::Overworld * overworld_
 
Rom * rom_
 
std::array< gfx::Bitmap, zelda3::kExpandedMapCount > * maps_bmp_
 
gui::Canvas * canvas_
 
int * game_state_
 
int local_game_state_ = 0
 
RefreshMapCallback refresh_map_properties_
 
RefreshCallback refresh_overworld_map_
 
RefreshMapPaletteCallback refresh_map_palette_
 
RefreshPaletteCallback refresh_tile16_blockset_
 
ForceRefreshGraphicsCallback force_refresh_graphics_
 
std::function< void(const std::string &, const OverworldContextTarget &) entity_insert_callback_ )
 
std::function< void(const OverworldContextTarget &) edit_tile16_callback_ )
 
std::function< bool(const OverworldContextTarget &) sample_tile16_callback_ )
 
std::function< void(const OverworldContextTarget &) edit_graphics_callback_ )
 
std::function< void()> open_map_properties_callback_
 
std::function< void()> zoom_fit_callback_
 
std::function< void()> center_map_callback_
 
std::function< std::string(const char *) shortcut_hint_ )
 
std::function< void()> reset_view_callback_
 
std::function< void()> zoom_in_callback_
 
std::function< void()> zoom_out_callback_
 
std::function< void(int, bool)> map_selection_callback_
 
std::function< void(int)> map_jump_callback_
 
std::function< int()> current_map_provider_
 
ContextViewToggle grid_toggle_
 
ContextViewToggle entities_toggle_
 
ContextViewToggle overlay_toggle_
 
PropertyEditCallback property_edit_callback_
 
PropertyEditBatchCallback property_edit_batch_callback_
 
ResourceLabelEditCallback resource_label_edit_callback_
 

Detailed Description

Definition at line 32 of file map_properties.h.

Member Typedef Documentation

◆ RefreshMapCallback

Definition at line 35 of file map_properties.h.

◆ RefreshMapPaletteCallback

using yaze::editor::MapPropertiesSystem::RefreshMapPaletteCallback = std::function<absl::Status(int)>

Definition at line 36 of file map_properties.h.

◆ RefreshCallback

Definition at line 37 of file map_properties.h.

◆ RefreshPaletteCallback

using yaze::editor::MapPropertiesSystem::RefreshPaletteCallback = std::function<absl::Status()>

Definition at line 38 of file map_properties.h.

◆ ForceRefreshGraphicsCallback

Definition at line 39 of file map_properties.h.

◆ PropertyEditCallback

Initial value:
std::function<absl::Status(const OverworldPropertyEdit&)>

Definition at line 40 of file map_properties.h.

◆ PropertyEditBatchCallback

Initial value:
std::function<absl::Status(
const std::vector<OverworldPropertyEdit>&, const std::string&)>

Definition at line 42 of file map_properties.h.

◆ ResourceLabelEditCallback

Initial value:
std::function<absl::Status(const std::string&, int, const std::string&)>

Definition at line 44 of file map_properties.h.

Constructor & Destructor Documentation

◆ MapPropertiesSystem()

yaze::editor::MapPropertiesSystem::MapPropertiesSystem ( zelda3::Overworld * overworld,
Rom * rom,
std::array< gfx::Bitmap, zelda3::kExpandedMapCount > * maps_bmp = nullptr,
gui::Canvas * canvas = nullptr,
int * game_state = nullptr )
inlineexplicit

Definition at line 47 of file map_properties.h.

Member Function Documentation

◆ SetRefreshCallbacks()

void yaze::editor::MapPropertiesSystem::SetRefreshCallbacks ( RefreshMapCallback refresh_map_properties,
RefreshCallback refresh_overworld_map,
RefreshMapPaletteCallback refresh_map_palette,
RefreshPaletteCallback refresh_tile16_blockset = nullptr,
ForceRefreshGraphicsCallback force_refresh_graphics = nullptr )
inline

◆ SetEntityCallbacks()

void yaze::editor::MapPropertiesSystem::SetEntityCallbacks ( std::function< void(const std::string &, const OverworldContextTarget &)> insert_callback)
inline

Definition at line 72 of file map_properties.h.

References entity_insert_callback_.

◆ SetTile16EditCallback()

void yaze::editor::MapPropertiesSystem::SetTile16EditCallback ( std::function< void(const OverworldContextTarget &)> callback)
inline

Definition at line 79 of file map_properties.h.

References edit_tile16_callback_.

◆ SetTile16SampleCallback()

void yaze::editor::MapPropertiesSystem::SetTile16SampleCallback ( std::function< bool(const OverworldContextTarget &)> callback)
inline

Definition at line 84 of file map_properties.h.

References sample_tile16_callback_.

◆ SetTile16GraphicsCallback()

void yaze::editor::MapPropertiesSystem::SetTile16GraphicsCallback ( std::function< void(const OverworldContextTarget &)> callback)
inline

Definition at line 89 of file map_properties.h.

References edit_graphics_callback_.

◆ SetMapSelectionCallback()

void yaze::editor::MapPropertiesSystem::SetMapSelectionCallback ( std::function< void(int, bool)> callback)
inline

Definition at line 94 of file map_properties.h.

References map_selection_callback_.

◆ SetOpenMapPropertiesCallback()

void yaze::editor::MapPropertiesSystem::SetOpenMapPropertiesCallback ( std::function< void()> callback)
inline

Opens (and focuses) the Map Properties window for the selected map.

Definition at line 99 of file map_properties.h.

References open_map_properties_callback_.

◆ SetContextNavigationCallbacks()

void yaze::editor::MapPropertiesSystem::SetContextNavigationCallbacks ( std::function< void()> reset_view,
std::function< void()> zoom_in,
std::function< void()> zoom_out,
std::function< void()> zoom_fit = nullptr,
std::function< void()> center_map = nullptr )
inline

◆ SetShortcutHintProvider()

void yaze::editor::MapPropertiesSystem::SetShortcutHintProvider ( std::function< std::string(const char *)> provider)
inline

Maps a ShortcutManager name to its display string ("Cmd+L") so menu items show the live binding.

Definition at line 116 of file map_properties.h.

References shortcut_hint_.

◆ SetContextViewToggles()

void yaze::editor::MapPropertiesSystem::SetContextViewToggles ( ContextViewToggle grid,
ContextViewToggle entities,
ContextViewToggle overlay_preview )
inline

Definition at line 126 of file map_properties.h.

References entities_toggle_, grid_toggle_, and overlay_toggle_.

◆ SetCurrentMapProvider()

void yaze::editor::MapPropertiesSystem::SetCurrentMapProvider ( std::function< int()> provider)
inline

Current map id; hides "Select This Map" when its area is current.

Definition at line 134 of file map_properties.h.

References current_map_provider_.

◆ SetMapJumpCallback()

void yaze::editor::MapPropertiesSystem::SetMapJumpCallback ( std::function< void(int)> callback)
inline

Selects a map that may be off screen or in the other world, and brings it into view (Related Maps). Falls back to the map selection callback.

Definition at line 140 of file map_properties.h.

References map_jump_callback_.

◆ SetPropertyEditCallback()

void yaze::editor::MapPropertiesSystem::SetPropertyEditCallback ( PropertyEditCallback callback)
inline

Definition at line 144 of file map_properties.h.

References property_edit_callback_.

◆ SetPropertyEditBatchCallback()

void yaze::editor::MapPropertiesSystem::SetPropertyEditBatchCallback ( PropertyEditBatchCallback callback)
inline

Definition at line 148 of file map_properties.h.

References property_edit_batch_callback_.

◆ SetResourceLabelEditCallback()

void yaze::editor::MapPropertiesSystem::SetResourceLabelEditCallback ( ResourceLabelEditCallback callback)
inline

Definition at line 152 of file map_properties.h.

References resource_label_edit_callback_.

◆ DrawCustomBackgroundColorEditor()

◆ DrawOverlayEditor()

◆ DrawOverlayPreviewOnMap()

void yaze::editor::MapPropertiesSystem::DrawOverlayPreviewOnMap ( int current_map,
int current_world,
bool show_overlay_preview )

◆ SetupCanvasContextMenu()

void yaze::editor::MapPropertiesSystem::SetupCanvasContextMenu ( gui::Canvas & canvas,
const OverworldContextTarget & target,
bool & current_map_lock,
int current_mode = 0,
project::YazeProject * project = nullptr,
SharedClipboard * shared_clipboard = nullptr )

Definition at line 381 of file map_properties.cc.

References yaze::gui::Canvas::AddContextMenuItem(), ApplyPropertyEdits(), yaze::editor::BuildOverworldMapMetadata(), yaze::editor::BuildOverworldMetadataPasteEdits(), yaze::editor::CanPasteOverworldMapMetadata(), center_map_callback_, yaze::gui::CanvasMenuItem::checked_condition, yaze::gui::Canvas::ClearContextMenuItems(), yaze::gui::CanvasMenuItem::Conditional(), current_map_provider_, yaze::editor::DescribeOverworldMapMetadataClipboard(), yaze::gui::CanvasMenuItem::Disabled(), edit_graphics_callback_, edit_tile16_callback_, yaze::gui::CanvasMenuItem::enabled_condition, entities_toggle_, entity_insert_callback_, yaze::editor::OverworldContextTarget::game_state, grid_toggle_, yaze::editor::SharedClipboard::has_overworld_map_metadata, yaze::gui::CanvasMenuItem::icon, ICON_MD_ACCOUNT_TREE, ICON_MD_ADD_LOCATION, ICON_MD_CENTER_FOCUS_STRONG, ICON_MD_CHECK, ICON_MD_COLORIZE, ICON_MD_CONTENT_COPY, ICON_MD_CONTENT_PASTE, ICON_MD_CYCLONE, ICON_MD_DOOR_BACK, ICON_MD_DOOR_FRONT, ICON_MD_FIT_SCREEN, ICON_MD_GRASS, ICON_MD_GRID_4X4, ICON_MD_GRID_ON, ICON_MD_GRID_VIEW, ICON_MD_IMAGE, ICON_MD_LAYERS, ICON_MD_MAP, ICON_MD_PEST_CONTROL_RODENT, ICON_MD_PLACE, ICON_MD_PUSH_PIN, ICON_MD_TUNE, ICON_MD_VISIBILITY, ICON_MD_ZOOM_IN, ICON_MD_ZOOM_OUT, yaze::zelda3::Overworld::is_loaded(), yaze::editor::kAll, yaze::zelda3::kNumOverworldMaps, yaze::editor::kTile16Size, yaze::gui::CanvasMenuItem::label, yaze::editor::OverworldContextTarget::map_id, map_jump_callback_, map_selection_callback_, open_map_properties_callback_, overlay_toggle_, overworld_, yaze::zelda3::Overworld::overworld_map(), yaze::editor::SharedClipboard::overworld_map_metadata, yaze::editor::OverworldContextTarget::parent_map_id, rom_, sample_tile16_callback_, yaze::editor::OverworldMapMetadataClipboard::scope, yaze::gui::CanvasMenuItem::separator_after, yaze::gui::Canvas::SetShowBuiltinContextMenu(), yaze::gui::CanvasMenuItem::shortcut, shortcut_hint_, yaze::editor::OverworldMapMetadataClipboard::source_map_id, yaze::gui::CanvasMenuItem::subitems, yaze::editor::OverworldContextTarget::tile16_id, yaze::gui::CanvasMenuItem::tooltip, yaze::editor::OverworldContextTarget::valid(), yaze::editor::OverworldMapMetadataClipboard::valid, yaze::gui::CanvasMenuItem::visible_condition, yaze::editor::OverworldContextTarget::world, yaze::editor::OverworldContextTarget::world_position, zoom_fit_callback_, zoom_in_callback_, and zoom_out_callback_.

◆ ApplyPropertyEdit()

absl::Status yaze::editor::MapPropertiesSystem::ApplyPropertyEdit ( const OverworldPropertyEdit & edit)

◆ ApplyPropertyEdits()

absl::Status yaze::editor::MapPropertiesSystem::ApplyPropertyEdits ( const std::vector< OverworldPropertyEdit > & edits,
const std::string & description = {} )

Definition at line 708 of file map_properties.cc.

References ApplyPropertyEdit(), CheckPropertyEditSupported(), property_edit_batch_callback_, and RETURN_IF_ERROR.

Referenced by SetupCanvasContextMenu().

Here is the call graph for this function:

◆ ApplyPropertyEditDirect()

◆ CheckPropertyEditSupported()

absl::Status yaze::editor::MapPropertiesSystem::CheckPropertyEditSupported ( const OverworldPropertyEdit & edit) const

Definition at line 723 of file map_properties.cc.

References rom_.

Referenced by ApplyPropertyEdits().

◆ ReadPropertyValue()

◆ RefreshMapProperties()

void yaze::editor::MapPropertiesSystem::RefreshMapProperties ( int map_id)

Definition at line 911 of file map_properties.cc.

References refresh_map_properties_.

Referenced by ApplyPropertyEditDirect().

◆ RefreshOverworldMap()

void yaze::editor::MapPropertiesSystem::RefreshOverworldMap ( )

Definition at line 917 of file map_properties.cc.

References refresh_overworld_map_.

Referenced by ApplyPropertyEditDirect(), and RefreshSiblingMapGraphics().

◆ RefreshMapPalette()

absl::Status yaze::editor::MapPropertiesSystem::RefreshMapPalette ( int map_id)

Definition at line 923 of file map_properties.cc.

References refresh_map_palette_.

Referenced by ApplyPropertyEditDirect().

◆ RefreshTile16Blockset()

absl::Status yaze::editor::MapPropertiesSystem::RefreshTile16Blockset ( )

Definition at line 930 of file map_properties.cc.

References refresh_tile16_blockset_.

Referenced by ApplyPropertyEditDirect().

◆ ForceRefreshGraphics()

void yaze::editor::MapPropertiesSystem::ForceRefreshGraphics ( int map_index)

Definition at line 937 of file map_properties.cc.

References force_refresh_graphics_.

Referenced by ApplyPropertyEditDirect(), and RefreshSiblingMapGraphics().

◆ RefreshSiblingMapGraphics()

void yaze::editor::MapPropertiesSystem::RefreshSiblingMapGraphics ( int map_index,
bool include_self = false )

◆ GetOverlayDescription()

std::string yaze::editor::MapPropertiesSystem::GetOverlayDescription ( uint16_t overlay_id)
private

Definition at line 998 of file map_properties.cc.

Referenced by DrawOverlayEditor().

◆ CurrentGameState() [1/2]

int yaze::editor::MapPropertiesSystem::CurrentGameState ( ) const
private

Definition at line 194 of file map_properties.cc.

References CurrentGameState(), and local_game_state_.

Referenced by CurrentGameState(), and PrepareMapForGraphicsRefresh().

Here is the call graph for this function:

◆ CurrentGameState() [2/2]

int yaze::editor::MapPropertiesSystem::CurrentGameState ( int fallback) const
private

Definition at line 198 of file map_properties.cc.

References game_state_.

◆ SetCurrentGameState()

void yaze::editor::MapPropertiesSystem::SetCurrentGameState ( int game_state)
private

Definition at line 202 of file map_properties.cc.

References game_state_, and local_game_state_.

◆ PrepareMapForGraphicsRefresh()

void yaze::editor::MapPropertiesSystem::PrepareMapForGraphicsRefresh ( int map_index)
private

Member Data Documentation

◆ overworld_

◆ rom_

Rom* yaze::editor::MapPropertiesSystem::rom_
private

◆ maps_bmp_

std::array<gfx::Bitmap, zelda3::kExpandedMapCount>* yaze::editor::MapPropertiesSystem::maps_bmp_
private

◆ canvas_

gui::Canvas* yaze::editor::MapPropertiesSystem::canvas_
private

Definition at line 214 of file map_properties.h.

Referenced by DrawOverlayPreviewOnMap().

◆ game_state_

int* yaze::editor::MapPropertiesSystem::game_state_
private

Definition at line 215 of file map_properties.h.

Referenced by CurrentGameState(), and SetCurrentGameState().

◆ local_game_state_

int yaze::editor::MapPropertiesSystem::local_game_state_ = 0
private

Definition at line 216 of file map_properties.h.

Referenced by CurrentGameState(), and SetCurrentGameState().

◆ refresh_map_properties_

RefreshMapCallback yaze::editor::MapPropertiesSystem::refresh_map_properties_
private

Definition at line 219 of file map_properties.h.

Referenced by RefreshMapProperties(), and SetRefreshCallbacks().

◆ refresh_overworld_map_

RefreshCallback yaze::editor::MapPropertiesSystem::refresh_overworld_map_
private

Definition at line 220 of file map_properties.h.

Referenced by RefreshOverworldMap(), and SetRefreshCallbacks().

◆ refresh_map_palette_

RefreshMapPaletteCallback yaze::editor::MapPropertiesSystem::refresh_map_palette_
private

Definition at line 221 of file map_properties.h.

Referenced by RefreshMapPalette(), and SetRefreshCallbacks().

◆ refresh_tile16_blockset_

RefreshPaletteCallback yaze::editor::MapPropertiesSystem::refresh_tile16_blockset_
private

Definition at line 222 of file map_properties.h.

Referenced by RefreshTile16Blockset(), and SetRefreshCallbacks().

◆ force_refresh_graphics_

ForceRefreshGraphicsCallback yaze::editor::MapPropertiesSystem::force_refresh_graphics_
private

Definition at line 223 of file map_properties.h.

Referenced by ForceRefreshGraphics(), and SetRefreshCallbacks().

◆ entity_insert_callback_

std::function<void(const std::string&, const OverworldContextTarget&) yaze::editor::MapPropertiesSystem::entity_insert_callback_)
private

Definition at line 227 of file map_properties.h.

Referenced by SetEntityCallbacks(), and SetupCanvasContextMenu().

◆ edit_tile16_callback_

std::function<void(const OverworldContextTarget&) yaze::editor::MapPropertiesSystem::edit_tile16_callback_)
private

Definition at line 230 of file map_properties.h.

Referenced by SetTile16EditCallback(), and SetupCanvasContextMenu().

◆ sample_tile16_callback_

std::function<bool(const OverworldContextTarget&) yaze::editor::MapPropertiesSystem::sample_tile16_callback_)
private

Definition at line 231 of file map_properties.h.

Referenced by SetTile16SampleCallback(), and SetupCanvasContextMenu().

◆ edit_graphics_callback_

std::function<void(const OverworldContextTarget&) yaze::editor::MapPropertiesSystem::edit_graphics_callback_)
private

Definition at line 232 of file map_properties.h.

Referenced by SetTile16GraphicsCallback(), and SetupCanvasContextMenu().

◆ open_map_properties_callback_

std::function<void()> yaze::editor::MapPropertiesSystem::open_map_properties_callback_
private

Definition at line 234 of file map_properties.h.

Referenced by SetOpenMapPropertiesCallback(), and SetupCanvasContextMenu().

◆ zoom_fit_callback_

std::function<void()> yaze::editor::MapPropertiesSystem::zoom_fit_callback_
private

Definition at line 235 of file map_properties.h.

Referenced by SetContextNavigationCallbacks(), and SetupCanvasContextMenu().

◆ center_map_callback_

std::function<void()> yaze::editor::MapPropertiesSystem::center_map_callback_
private

Definition at line 236 of file map_properties.h.

Referenced by SetContextNavigationCallbacks(), and SetupCanvasContextMenu().

◆ shortcut_hint_

std::function<std::string(const char*) yaze::editor::MapPropertiesSystem::shortcut_hint_)
private

Definition at line 237 of file map_properties.h.

Referenced by SetShortcutHintProvider(), and SetupCanvasContextMenu().

◆ reset_view_callback_

std::function<void()> yaze::editor::MapPropertiesSystem::reset_view_callback_
private

Definition at line 239 of file map_properties.h.

Referenced by SetContextNavigationCallbacks().

◆ zoom_in_callback_

std::function<void()> yaze::editor::MapPropertiesSystem::zoom_in_callback_
private

Definition at line 240 of file map_properties.h.

Referenced by SetContextNavigationCallbacks(), and SetupCanvasContextMenu().

◆ zoom_out_callback_

std::function<void()> yaze::editor::MapPropertiesSystem::zoom_out_callback_
private

Definition at line 241 of file map_properties.h.

Referenced by SetContextNavigationCallbacks(), and SetupCanvasContextMenu().

◆ map_selection_callback_

std::function<void(int, bool)> yaze::editor::MapPropertiesSystem::map_selection_callback_
private

Definition at line 244 of file map_properties.h.

Referenced by SetMapSelectionCallback(), and SetupCanvasContextMenu().

◆ map_jump_callback_

std::function<void(int)> yaze::editor::MapPropertiesSystem::map_jump_callback_
private

Definition at line 245 of file map_properties.h.

Referenced by SetMapJumpCallback(), and SetupCanvasContextMenu().

◆ current_map_provider_

std::function<int()> yaze::editor::MapPropertiesSystem::current_map_provider_
private

Definition at line 246 of file map_properties.h.

Referenced by SetCurrentMapProvider(), and SetupCanvasContextMenu().

◆ grid_toggle_

ContextViewToggle yaze::editor::MapPropertiesSystem::grid_toggle_
private

Definition at line 247 of file map_properties.h.

Referenced by SetContextViewToggles(), and SetupCanvasContextMenu().

◆ entities_toggle_

ContextViewToggle yaze::editor::MapPropertiesSystem::entities_toggle_
private

Definition at line 248 of file map_properties.h.

Referenced by SetContextViewToggles(), and SetupCanvasContextMenu().

◆ overlay_toggle_

ContextViewToggle yaze::editor::MapPropertiesSystem::overlay_toggle_
private

Definition at line 249 of file map_properties.h.

Referenced by SetContextViewToggles(), and SetupCanvasContextMenu().

◆ property_edit_callback_

PropertyEditCallback yaze::editor::MapPropertiesSystem::property_edit_callback_
private

Definition at line 250 of file map_properties.h.

Referenced by ApplyPropertyEdit(), and SetPropertyEditCallback().

◆ property_edit_batch_callback_

PropertyEditBatchCallback yaze::editor::MapPropertiesSystem::property_edit_batch_callback_
private

Definition at line 251 of file map_properties.h.

Referenced by ApplyPropertyEdits(), and SetPropertyEditBatchCallback().

◆ resource_label_edit_callback_

ResourceLabelEditCallback yaze::editor::MapPropertiesSystem::resource_label_edit_callback_
private

Definition at line 252 of file map_properties.h.

Referenced by SetResourceLabelEditCallback().


The documentation for this class was generated from the following files: