#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, PanelManager *panel_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()> | on_save_to_scratch |
| std::function< void()> | on_load_from_scratch |
| std::function< void(int)> | on_upgrade_rom_version |
Definition at line 33 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, | ||
| PanelManager * | panel_manager, | ||
| bool | has_selection, | ||
| bool | scratch_has_data, | ||
| Rom * | rom, | ||
| zelda3::Overworld * | overworld ) |
Definition at line 13 of file overworld_toolbar.cc.
References yaze::zelda3::Overworld::ConfigureMultiAreaMap(), yaze::editor::DRAW_TILE, yaze::editor::ENTRANCES, yaze::editor::EXITS, yaze::zelda3::OverworldVersionHelper::GetVersion(), HOVER_HINT, ICON_MD_ADD_LOCATION, ICON_MD_ANALYTICS, ICON_MD_BRUSH, ICON_MD_DOOR_BACK, ICON_MD_DOOR_FRONT, ICON_MD_DRAW, ICON_MD_EDIT, ICON_MD_GRASS, ICON_MD_GRID_ON, ICON_MD_GRID_VIEW, ICON_MD_IMAGE, ICON_MD_INFO, ICON_MD_LAYERS, 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, yaze::zelda3::Overworld::is_loaded(), yaze::editor::PanelManager::IsPanelVisible(), yaze::editor::ITEMS, yaze::editor::OverworldPanelIds::kAreaGraphics, yaze::editor::kAreaSizeNames, yaze::editor::kComboAreaSizeWidth, yaze::editor::kComboWorldWidth, yaze::editor::OverworldPanelIds::kGfxGroups, yaze::editor::kIconButtonWidth, yaze::editor::OverworldPanelIds::kMapProperties, yaze::editor::kPanelToggleButtonWidth, 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::editor::MOUSE, yaze::editor::MUSIC, yaze::editor::NONE, on_refresh_graphics, on_refresh_map, on_upgrade_rom_version, yaze::zelda3::Overworld::overworld_map(), yaze::zelda3::SmallArea, yaze::editor::SPRITES, yaze::zelda3::OverworldVersionHelper::SupportsAreaEnum(), yaze::gui::ToggleButton(), yaze::editor::PanelManager::TogglePanel(), and yaze::editor::TRANSPORTS.
| std::function<void()> yaze::editor::OverworldToolbar::on_property_changed |
Definition at line 43 of file overworld_toolbar.h.
| std::function<void()> yaze::editor::OverworldToolbar::on_refresh_graphics |
Definition at line 44 of file overworld_toolbar.h.
Referenced by Draw().
| std::function<void()> yaze::editor::OverworldToolbar::on_refresh_palette |
Definition at line 45 of file overworld_toolbar.h.
| std::function<void()> yaze::editor::OverworldToolbar::on_refresh_map |
Definition at line 46 of file overworld_toolbar.h.
Referenced by Draw().
| std::function<void()> yaze::editor::OverworldToolbar::on_save_to_scratch |
Definition at line 49 of file overworld_toolbar.h.
| std::function<void()> yaze::editor::OverworldToolbar::on_load_from_scratch |
Definition at line 50 of file overworld_toolbar.h.
| std::function<void(int)> yaze::editor::OverworldToolbar::on_upgrade_rom_version |
Definition at line 53 of file overworld_toolbar.h.
Referenced by Draw().