#include <overworld_toolbar.h>
Public Member Functions | |
| OverworldToolbar ()=default | |
| void | Draw (int ¤t_world, int ¤t_map, bool ¤t_map_lock, EditingMode ¤t_mode, EntityEditMode &entity_edit_mode, WorkspaceWindowManager *window_manager, bool has_selection, bool scratch_has_data, Rom *rom, zelda3::Overworld *overworld) |
Public Attributes | |
| std::function< void()> | on_property_changed |
| std::function< void()> | on_refresh_graphics |
| std::function< void()> | on_refresh_palette |
| std::function< void()> | on_refresh_map |
| std::function< void(int)> | on_world_changed |
| std::function< void()> | on_toggle_overlay_preview |
| std::function< bool()> | is_overlay_preview_enabled |
| std::function< void()> | on_save_to_scratch |
| std::function< void()> | on_load_from_scratch |
| std::function< void(int)> | on_upgrade_rom_version |
Definition at line 34 of file overworld_toolbar.h.
|
default |
| void yaze::editor::OverworldToolbar::Draw | ( | int & | current_world, |
| int & | current_map, | ||
| bool & | current_map_lock, | ||
| EditingMode & | current_mode, | ||
| EntityEditMode & | entity_edit_mode, | ||
| WorkspaceWindowManager * | window_manager, | ||
| bool | has_selection, | ||
| bool | scratch_has_data, | ||
| Rom * | rom, | ||
| zelda3::Overworld * | overworld ) |
Definition at line 16 of file overworld_toolbar.cc.
References yaze::zelda3::OverworldMap::area_palette(), yaze::zelda3::Overworld::ConfigureMultiAreaMap(), yaze::editor::DRAW_TILE, yaze::editor::ENTRANCES, yaze::editor::EXITS, yaze::editor::FILL_TILE, yaze::editor::WorkspaceWindowManager::GetActiveSessionId(), yaze::editor::AgentUI::GetTheme(), yaze::zelda3::OverworldVersionHelper::GetVersion(), HOVER_HINT, ICON_MD_ADD_LOCATION, ICON_MD_ANALYTICS, ICON_MD_APPS, ICON_MD_AUTO_FIX_HIGH, ICON_MD_DOOR_BACK, ICON_MD_DOOR_FRONT, ICON_MD_DRAW, ICON_MD_EDIT, ICON_MD_FORMAT_COLOR_FILL, ICON_MD_GRASS, ICON_MD_GRID_ON, ICON_MD_GRID_VIEW, ICON_MD_IMAGE, ICON_MD_INFO, ICON_MD_LAYERS, ICON_MD_LIST, ICON_MD_LOCK, ICON_MD_LOCK_OPEN, ICON_MD_MOUSE, ICON_MD_MUSIC_NOTE, ICON_MD_PEST_CONTROL_RODENT, ICON_MD_TUNE, ICON_MD_UPGRADE, ICON_MD_VISIBILITY, yaze::zelda3::Overworld::is_loaded(), is_overlay_preview_enabled, yaze::editor::WorkspaceWindowManager::IsWindowOpen(), yaze::editor::ITEMS, yaze::editor::OverworldPanelIds::kAreaGraphics, yaze::editor::kAreaSizeNames, yaze::editor::kComboAreaSizeWidth, yaze::editor::kComboWorldWidth, yaze::editor::OverworldPanelIds::kGfxGroups, yaze::editor::OverworldPanelIds::kItemList, yaze::editor::OverworldPanelIds::kMapProperties, yaze::editor::OverworldPanelIds::kScratchSpace, yaze::editor::kTableColumnAreaSize, yaze::editor::kTableColumnLock, yaze::editor::kTableColumnMap, yaze::editor::kTableColumnWorld, yaze::editor::OverworldPanelIds::kTile16Editor, yaze::editor::OverworldPanelIds::kTile16Selector, yaze::editor::OverworldPanelIds::kTile8Selector, yaze::editor::OverworldPanelIds::kUsageStats, yaze::zelda3::kVanilla, yaze::editor::kWorldNames, yaze::zelda3::kZSCustomV1, yaze::zelda3::kZSCustomV2, yaze::zelda3::kZSCustomV3, yaze::zelda3::LargeArea, yaze::zelda3::OverworldMap::message_id(), yaze::editor::MOUSE, yaze::editor::MUSIC, yaze::editor::NONE, on_refresh_graphics, on_refresh_map, on_toggle_overlay_preview, on_upgrade_rom_version, on_world_changed, yaze::zelda3::Overworld::overworld_map(), yaze::zelda3::OverworldMap::parent(), yaze::gui::PrimaryButton(), yaze::zelda3::SmallArea, yaze::editor::SPRITES, yaze::zelda3::OverworldVersionHelper::SupportsAreaEnum(), yaze::editor::WorkspaceWindowManager::ToggleWindow(), yaze::gui::ToolbarIconButton(), and yaze::editor::TRANSPORTS.
| std::function<void()> yaze::editor::OverworldToolbar::on_property_changed |
Definition at line 44 of file overworld_toolbar.h.
| std::function<void()> yaze::editor::OverworldToolbar::on_refresh_graphics |
Definition at line 45 of file overworld_toolbar.h.
Referenced by Draw().
| std::function<void()> yaze::editor::OverworldToolbar::on_refresh_palette |
Definition at line 46 of file overworld_toolbar.h.
| std::function<void()> yaze::editor::OverworldToolbar::on_refresh_map |
Definition at line 47 of file overworld_toolbar.h.
Referenced by Draw().
| std::function<void(int)> yaze::editor::OverworldToolbar::on_world_changed |
Definition at line 48 of file overworld_toolbar.h.
Referenced by Draw().
| std::function<void()> yaze::editor::OverworldToolbar::on_toggle_overlay_preview |
Definition at line 49 of file overworld_toolbar.h.
Referenced by Draw().
| std::function<bool()> yaze::editor::OverworldToolbar::is_overlay_preview_enabled |
Definition at line 50 of file overworld_toolbar.h.
Referenced by Draw().
| std::function<void()> yaze::editor::OverworldToolbar::on_save_to_scratch |
Definition at line 53 of file overworld_toolbar.h.
| std::function<void()> yaze::editor::OverworldToolbar::on_load_from_scratch |
Definition at line 54 of file overworld_toolbar.h.
| std::function<void(int)> yaze::editor::OverworldToolbar::on_upgrade_rom_version |
Definition at line 57 of file overworld_toolbar.h.
Referenced by Draw().