Unified panel for dungeon object editing. More...
#include <object_editor_panel.h>

Public Types | |
| using | TileEditorCallback = std::function<void(int16_t object_id)> |
Public Member Functions | |
| ObjectEditorPanel (gfx::IRenderer *renderer, Rom *rom, DungeonCanvasViewer *canvas_viewer, std::shared_ptr< zelda3::DungeonObjectEditor > object_editor=nullptr) | |
| std::string | GetId () const override |
| Unique identifier for this panel. | |
| std::string | GetDisplayName () const override |
| Human-readable name shown in menus and title bars. | |
| std::string | GetIcon () const override |
| Material Design icon for this panel. | |
| std::string | GetEditorCategory () const override |
| Editor category this panel belongs to. | |
| int | GetPriority () const override |
| Get display priority for menu ordering. | |
| void | Draw (bool *p_open) override |
| Draw the panel content. | |
| void | OnOpen () override |
| Called when panel becomes visible. | |
| void | OnClose () override |
| Called when panel is hidden. | |
| DungeonObjectSelector & | object_selector () |
| gui::DungeonObjectEmulatorPreview & | emulator_preview () |
| void | SetCurrentRoom (int room_id) |
| void | SetCanvasViewer (DungeonCanvasViewer *viewer) |
| void | SetContext (EditorContext ctx) |
| void | SetGameData (zelda3::GameData *game_data) |
| void | SetRooms (std::array< zelda3::Room, 0x128 > *rooms) |
| void | SetCurrentPaletteGroup (const gfx::PaletteGroup &group) |
| void | SelectObject (int obj_id) |
| void | SetAgentOptimizedLayout (bool enabled) |
| void | SetupSelectionCallbacks () |
| void | CycleObjectSelection (int direction) |
| void | SelectAllObjects () |
| void | DeleteSelectedObjects () |
| void | CopySelectedObjects () |
| void | PasteObjects () |
| void | CancelPlacement () |
| void | SetPlacementError (const std::string &message) |
| void | OpenStaticObjectEditor (int object_id) |
| void | CloseStaticObjectEditor () |
| bool | IsStaticEditorOpen () const |
| int | GetStaticEditorObjectId () const |
| void | set_tile_editor_callback (TileEditorCallback callback) |
Public Member Functions inherited from yaze::editor::EditorPanel | |
| virtual | ~EditorPanel ()=default |
| virtual void | OnFirstDraw () |
| Called once before the first Draw() in a session. | |
| virtual bool | RequiresLazyInit () const |
| Whether this panel uses lazy initialization. | |
| void | InvalidateLazyInit () |
| Reset lazy init state so OnFirstDraw() runs again. | |
| virtual void | OnFocus () |
| Called when panel receives focus. | |
| virtual PanelCategory | GetPanelCategory () const |
| Get the lifecycle category for this panel. | |
| virtual PanelContextScope | GetContextScope () const |
| Optional context binding for this panel (room/selection/etc) | |
| virtual PanelScope | GetScope () const |
| Get the registration scope for this panel. | |
| virtual bool | IsEnabled () const |
| Check if this panel is currently enabled. | |
| virtual std::string | GetDisabledTooltip () const |
| Get tooltip text when panel is disabled. | |
| virtual std::string | GetShortcutHint () const |
| Get keyboard shortcut hint for display. | |
| virtual float | GetPreferredWidth () const |
| Get preferred width for this panel (optional) | |
| virtual bool | IsVisibleByDefault () const |
| Whether this panel should be visible by default. | |
| virtual std::string | GetParentPanelId () const |
| Get parent panel ID for cascade behavior. | |
| virtual bool | CascadeCloseChildren () const |
| Whether closing this panel should close child panels. | |
| void | DrawWithLazyInit (bool *p_open) |
| Execute lazy initialization if needed, then call Draw() | |
Private Member Functions | |
| void | OnSelectionChanged () |
| void | DrawObjectSelector () |
| void | DrawDoorSection () |
| void | DrawEmulatorPreview () |
| void | DrawSelectedObjectInfo () |
| void | DrawStaticObjectEditor () |
| void | DrawRoomValidationBar () |
| void | DrawKeyboardShortcutHelp () |
| void | HandleKeyboardShortcuts () |
| void | DeselectAllObjects () |
| void | PerformDelete () |
| void | DuplicateSelectedObjects () |
| void | NudgeSelectedObjects (int dx, int dy) |
| void | ScrollToObject (size_t index) |
Static Private Attributes | |
| static constexpr double | kPlacementErrorDuration = 2.0 |
Additional Inherited Members | |
Protected Member Functions inherited from yaze::editor::EditorPanel | |
| void | InvalidateCache () |
| Invalidate all cached computations. | |
| template<typename T > | |
| T & | GetCached (const std::string &key, std::function< T()> compute) |
| Get or compute a cached value. | |
| bool | IsCacheValid () const |
| Check if cache has been invalidated. | |
| void | ClearCache () |
| Clear all cached values (more aggressive than InvalidateCache) | |
Unified panel for dungeon object editing.
This panel combines object selection, emulator preview, and canvas interaction into a single EditorPanel component. It provides a complete workflow for managing dungeon objects.
Features:
Definition at line 49 of file object_editor_panel.h.
| using yaze::editor::ObjectEditorPanel::TileEditorCallback = std::function<void(int16_t object_id)> |
Definition at line 148 of file object_editor_panel.h.
| yaze::editor::ObjectEditorPanel::ObjectEditorPanel | ( | gfx::IRenderer * | renderer, |
| Rom * | rom, | ||
| DungeonCanvasViewer * | canvas_viewer, | ||
| std::shared_ptr< zelda3::DungeonObjectEditor > | object_editor = nullptr ) |
Definition at line 36 of file object_editor_panel.cc.
References canvas_viewer_, emulator_preview_, has_preview_object_, yaze::zelda3::RoomObject::id_, yaze::gui::DungeonObjectEmulatorPreview::Initialize(), yaze::zelda3::DungeonObjectEditor::kInsert, object_editor_, object_parser_, object_selector_, OpenStaticObjectEditor(), preview_object_, yaze::editor::DungeonObjectSelector::SetObjectDoubleClickCallback(), yaze::editor::DungeonCanvasViewer::SetObjectInteractionEnabled(), yaze::editor::DungeonObjectSelector::SetObjectSelectedCallback(), yaze::editor::DungeonCanvasViewer::SetPreviewObject(), and SetupSelectionCallbacks().
|
inlineoverridevirtual |
Unique identifier for this panel.
IDs should be:
Implements yaze::editor::EditorPanel.
Definition at line 59 of file object_editor_panel.h.
|
inlineoverridevirtual |
Human-readable name shown in menus and title bars.
Implements yaze::editor::EditorPanel.
Definition at line 60 of file object_editor_panel.h.
|
inlineoverridevirtual |
Material Design icon for this panel.
Implements yaze::editor::EditorPanel.
Definition at line 61 of file object_editor_panel.h.
References ICON_MD_CONSTRUCTION.
|
inlineoverridevirtual |
Editor category this panel belongs to.
Implements yaze::editor::EditorPanel.
Definition at line 62 of file object_editor_panel.h.
|
inlineoverridevirtual |
Get display priority for menu ordering.
Reimplemented from yaze::editor::EditorPanel.
Definition at line 63 of file object_editor_panel.h.
|
overridevirtual |
Draw the panel content.
| p_open | Pointer to visibility flag (nullptr if not closable) |
Called by PanelManager when the panel is visible. Do NOT call ImGui::Begin/End - the PanelWindow wrapper handles that. Just draw your content directly.
Implements yaze::editor::EditorPanel.
Definition at line 106 of file object_editor_panel.cc.
References CancelPlacement(), canvas_viewer_, DrawDoorSection(), DrawEmulatorPreview(), DrawKeyboardShortcutHelp(), DrawObjectSelector(), DrawRoomValidationBar(), DrawSelectedObjectInfo(), DrawStaticObjectEditor(), yaze::editor::DungeonObjectInteraction::entity_coordinator(), yaze::editor::AgentUI::GetTheme(), HandleKeyboardShortcuts(), has_preview_object_, ICON_MD_ADD_CIRCLE, ICON_MD_CANCEL, ICON_MD_DOOR_FRONT, ICON_MD_ERROR, ICON_MD_HELP_OUTLINE, ICON_MD_MONITOR, ICON_MD_MOUSE, yaze::zelda3::RoomObject::id_, yaze::editor::DungeonObjectInteraction::IsObjectLoaded(), yaze::editor::DoorInteractionHandler::kDoorLimit, yaze::editor::DoorInteractionHandler::kInvalidPosition, yaze::editor::DoorInteractionHandler::kInvalidRoom, yaze::editor::SpriteInteractionHandler::kInvalidRoom, yaze::editor::TileObjectHandler::kInvalidRoom, yaze::zelda3::kMaxDoors, yaze::zelda3::kMaxTileObjects, yaze::zelda3::kMaxTotalSprites, yaze::editor::DoorInteractionHandler::kNone, yaze::editor::SpriteInteractionHandler::kNone, yaze::editor::TileObjectHandler::kNone, yaze::editor::TileObjectHandler::kObjectLimit, kPlacementErrorDuration, yaze::editor::SpriteInteractionHandler::kSpriteLimit, last_placement_error_, yaze::editor::DungeonCanvasViewer::object_interaction(), yaze::editor::TileObjectHandler::placement_block_reason(), placement_error_time_, preview_object_, SetPlacementError(), show_emulator_preview_, show_shortcut_help_, static_editor_open_, and yaze::editor::InteractionCoordinator::tile_handler().
|
inlineoverridevirtual |
Called when panel becomes visible.
Use this to initialize state, load resources, or start animations. Called after the panel is shown but before first Draw().
Reimplemented from yaze::editor::EditorPanel.
Definition at line 70 of file object_editor_panel.h.
|
inlineoverridevirtual |
Called when panel is hidden.
Use this to cleanup state, release resources, or save state. Called after the panel is hidden.
Reimplemented from yaze::editor::EditorPanel.
Definition at line 71 of file object_editor_panel.h.
|
inline |
Definition at line 77 of file object_editor_panel.h.
References object_selector_.
Referenced by yaze::editor::DungeonEditorV2::Load().
|
inline |
Definition at line 78 of file object_editor_panel.h.
References emulator_preview_.
|
inline |
Definition at line 86 of file object_editor_panel.h.
References current_room_id_, object_selector_, and yaze::editor::DungeonObjectSelector::set_current_room_id().

|
inline |
Definition at line 90 of file object_editor_panel.h.
References canvas_viewer_, selection_callbacks_setup_, and SetupSelectionCallbacks().
Referenced by yaze::editor::DungeonEditorV2::~DungeonEditorV2().

|
inline |
Definition at line 99 of file object_editor_panel.h.
References emulator_preview_, yaze::editor::EditorContext::game_data, object_selector_, yaze::editor::EditorContext::rom, rom_, yaze::editor::DungeonObjectSelector::SetContext(), and yaze::gui::DungeonObjectEmulatorPreview::SetGameData().

|
inline |
Definition at line 105 of file object_editor_panel.h.
References emulator_preview_, object_selector_, yaze::editor::DungeonObjectSelector::SetGameData(), and yaze::gui::DungeonObjectEmulatorPreview::SetGameData().
Referenced by yaze::editor::DungeonEditorV2::Load(), and yaze::editor::DungeonEditorV2::SetGameData().

|
inline |
Definition at line 110 of file object_editor_panel.h.
References object_selector_, and yaze::editor::DungeonObjectSelector::set_rooms().

|
inline |
Definition at line 114 of file object_editor_panel.h.
References object_selector_, and yaze::editor::DungeonObjectSelector::SetCurrentPaletteGroup().
Referenced by yaze::editor::DungeonEditorV2::OnRoomSelected().

| void yaze::editor::ObjectEditorPanel::SelectObject | ( | int | obj_id | ) |
Definition at line 272 of file object_editor_panel.cc.
References object_selector_, and yaze::editor::DungeonObjectSelector::SelectObject().
Referenced by yaze::editor::DungeonEditorV2::SelectObject().

| void yaze::editor::ObjectEditorPanel::SetAgentOptimizedLayout | ( | bool | enabled | ) |
Definition at line 276 of file object_editor_panel.cc.
Referenced by yaze::editor::DungeonEditorV2::SetAgentMode().
| void yaze::editor::ObjectEditorPanel::SetupSelectionCallbacks | ( | ) |
Definition at line 76 of file object_editor_panel.cc.
References canvas_viewer_, yaze::editor::DungeonCanvasViewer::object_interaction(), OnSelectionChanged(), selection_callbacks_setup_, and yaze::editor::DungeonObjectInteraction::SetSelectionChangeCallback().
Referenced by ObjectEditorPanel(), and SetCanvasViewer().

| void yaze::editor::ObjectEditorPanel::CycleObjectSelection | ( | int | direction | ) |
Definition at line 1188 of file object_editor_panel.cc.
References canvas_viewer_, yaze::editor::DungeonObjectInteraction::GetSelectedObjectIndices(), object_editor_, yaze::editor::DungeonCanvasViewer::object_interaction(), and ScrollToObject().
Referenced by HandleKeyboardShortcuts().

| void yaze::editor::ObjectEditorPanel::SelectAllObjects | ( | ) |
Definition at line 1066 of file object_editor_panel.cc.
References canvas_viewer_, object_editor_, yaze::editor::DungeonCanvasViewer::object_interaction(), and yaze::editor::DungeonObjectInteraction::SetSelectedObjects().
Referenced by HandleKeyboardShortcuts().

| void yaze::editor::ObjectEditorPanel::DeleteSelectedObjects | ( | ) |
Definition at line 1087 of file object_editor_panel.cc.
References canvas_viewer_, yaze::editor::DungeonObjectInteraction::GetSelectedObjectIndices(), object_editor_, yaze::editor::DungeonCanvasViewer::object_interaction(), PerformDelete(), and show_delete_confirmation_modal_.
Referenced by HandleKeyboardShortcuts().

| void yaze::editor::ObjectEditorPanel::CopySelectedObjects | ( | ) |
Definition at line 1149 of file object_editor_panel.cc.
References canvas_viewer_, yaze::editor::DungeonObjectInteraction::GetSelectedObjectIndices(), object_editor_, and yaze::editor::DungeonCanvasViewer::object_interaction().
Referenced by HandleKeyboardShortcuts().

| void yaze::editor::ObjectEditorPanel::PasteObjects | ( | ) |
Definition at line 1162 of file object_editor_panel.cc.
References canvas_viewer_, object_editor_, yaze::editor::DungeonCanvasViewer::object_interaction(), and yaze::editor::DungeonObjectInteraction::SetSelectedObjects().
Referenced by HandleKeyboardShortcuts().

| void yaze::editor::ObjectEditorPanel::CancelPlacement | ( | ) |
Definition at line 1058 of file object_editor_panel.cc.
References yaze::editor::DungeonObjectInteraction::CancelPlacement(), canvas_viewer_, yaze::editor::DungeonCanvasViewer::ClearPreviewObject(), has_preview_object_, and yaze::editor::DungeonCanvasViewer::object_interaction().
Referenced by Draw(), and HandleKeyboardShortcuts().

| void yaze::editor::ObjectEditorPanel::SetPlacementError | ( | const std::string & | message | ) |
Definition at line 281 of file object_editor_panel.cc.
References kPlacementErrorDuration, last_placement_error_, and placement_error_time_.
Referenced by Draw(), and yaze::editor::DungeonEditorV2::HandleObjectPlaced().
| void yaze::editor::ObjectEditorPanel::OpenStaticObjectEditor | ( | int | object_id | ) |
Definition at line 557 of file object_editor_panel.cc.
References yaze::gfx::BackgroundBuffer::bitmap(), yaze::gfx::BackgroundBuffer::ClearBuffer(), yaze::gfx::Arena::CREATE, current_room_id_, yaze::zelda3::ObjectDrawer::DrawObject(), yaze::gfx::PaletteGroupMap::dungeon_main, yaze::gfx::PaletteGroup::empty(), yaze::gfx::BackgroundBuffer::EnsureBitmapInitialized(), yaze::zelda3::RoomObject::EnsureTilesLoaded(), yaze::editor::DungeonObjectSelector::game_data(), yaze::gfx::Arena::Get(), yaze::editor::DungeonObjectSelector::get_rooms(), yaze::zelda3::ObjectDrawer::InitializeDrawRoutines(), yaze::Rom::is_loaded(), object_parser_, object_selector_, yaze::zelda3::GameData::palette_groups, yaze::gfx::Arena::ProcessTextureQueue(), yaze::gfx::Arena::QueueTextureCommand(), renderer_, rom_, yaze::zelda3::RoomObject::SetRom(), yaze::editor::DungeonObjectSelector::SetStaticEditorObjectId(), yaze::gfx::PaletteGroup::size(), static_editor_draw_info_, static_editor_object_id_, static_editor_open_, static_preview_buffer_, static_preview_rendered_, and yaze::zelda3::RoomObject::tiles().
Referenced by ObjectEditorPanel().
| void yaze::editor::ObjectEditorPanel::CloseStaticObjectEditor | ( | ) |
Definition at line 656 of file object_editor_panel.cc.
References object_selector_, yaze::editor::DungeonObjectSelector::SetStaticEditorObjectId(), static_editor_object_id_, and static_editor_open_.
Referenced by DrawStaticObjectEditor().

|
inline |
Definition at line 144 of file object_editor_panel.h.
References static_editor_open_.
|
inline |
Definition at line 145 of file object_editor_panel.h.
References static_editor_object_id_.
|
inline |
Definition at line 149 of file object_editor_panel.h.
References tile_editor_callback_.
|
private |
Definition at line 86 of file object_editor_panel.cc.
References cached_selection_count_, canvas_viewer_, yaze::editor::DungeonObjectInteraction::GetSelectionCount(), object_editor_, and yaze::editor::DungeonCanvasViewer::object_interaction().
Referenced by SetupSelectionCallbacks().

|
private |
Definition at line 294 of file object_editor_panel.cc.
References yaze::editor::DungeonObjectSelector::DrawObjectAssetBrowser(), and object_selector_.
Referenced by Draw().

|
private |
Definition at line 299 of file object_editor_panel.cc.
References yaze::zelda3::BigKeyDoor, yaze::zelda3::BombableDoor, yaze::zelda3::BottomSidedShutter, canvas_viewer_, yaze::zelda3::CaveExit, current_room_id_, yaze::zelda3::CurtainDoor, yaze::zelda3::DashWall, door_placement_mode_, yaze::zelda3::DoubleSidedShutter, yaze::zelda3::DungeonSwapMarker, yaze::zelda3::ExitMarker, yaze::zelda3::ExplodingWall, yaze::zelda3::EyeWatchDoor, yaze::zelda3::FancyDungeonExit, yaze::editor::DungeonObjectSelector::get_rooms(), yaze::zelda3::GetDoorDirectionName(), yaze::zelda3::GetDoorTypeName(), yaze::editor::AgentUI::GetTheme(), ICON_MD_CANCEL, ICON_MD_CATEGORY, ICON_MD_DELETE, ICON_MD_INFO, ICON_MD_LIST, ICON_MD_PLACE, yaze::zelda3::LayerSwapMarker, yaze::zelda3::NormalDoor, yaze::zelda3::NormalDoorLower, yaze::editor::DungeonCanvasViewer::object_interaction(), object_selector_, selected_door_type_, yaze::editor::DungeonObjectInteraction::SetDoorPlacementMode(), yaze::zelda3::SmallKeyDoor, yaze::zelda3::SmallKeyStairsDown, yaze::zelda3::SmallKeyStairsUp, yaze::zelda3::TopSidedShutter, and yaze::zelda3::WaterfallDoor.
Referenced by Draw().
|
private |
Definition at line 469 of file object_editor_panel.cc.
References emulator_preview_, yaze::editor::AgentUI::GetTheme(), yaze::gui::HelpMarker(), ICON_MD_INFO, and yaze::gui::DungeonObjectEmulatorPreview::Render().
Referenced by Draw().

|
private |
Definition at line 485 of file object_editor_panel.cc.
References yaze::zelda3::RoomObject::BG1, yaze::zelda3::RoomObject::BG2, canvas_viewer_, yaze::zelda3::EffectiveBgLayerLabel(), yaze::zelda3::GetObjectLayerSemantics(), yaze::editor::DungeonObjectInteraction::GetSelectedObjectIndices(), yaze::editor::AgentUI::GetTheme(), has_preview_object_, yaze::editor::DungeonCanvasViewer::HasRooms(), ICON_MD_CHECK_CIRCLE, ICON_MD_INFO, yaze::zelda3::RoomObject::id_, yaze::zelda3::RoomObject::layer_, object_editor_, yaze::editor::DungeonCanvasViewer::object_interaction(), and preview_object_.
Referenced by Draw().
|
private |
Definition at line 664 of file object_editor_panel.cc.
References yaze::gui::Canvas::AddTextAt(), yaze::gui::BeginCanvas(), yaze::gfx::BackgroundBuffer::bitmap(), yaze::zelda3::ObjectDrawInfo::both_layers, yaze::gui::CanvasFrameOptions::canvas_size, yaze::gui::PreviewPanelOpts::canvas_size, CloseStaticObjectEditor(), yaze::gui::DangerButton(), yaze::gui::CanvasFrameOptions::draw_context_menu, yaze::gui::CanvasFrameOptions::draw_grid, yaze::gui::CanvasFrameOptions::draw_overlay, yaze::zelda3::ObjectDrawInfo::draw_routine_id, yaze::gui::EndCanvas(), yaze::gui::PreviewPanelOpts::ensure_texture, yaze::editor::AgentUI::GetTheme(), yaze::gui::CanvasFrameOptions::grid_step, yaze::gui::PreviewPanelOpts::grid_step, ICON_MD_BRUSH, ICON_MD_CLOSE, ICON_MD_CODE, ICON_MD_CONSTRUCTION, ICON_MD_CONTENT_COPY, ICON_MD_GRID_ON, ICON_MD_GRID_VIEW, ICON_MD_INFO, ICON_MD_LAYERS, ICON_MD_TAG, yaze::zelda3::ObjectDrawInfo::is_horizontal, yaze::zelda3::ObjectDrawInfo::is_vertical, yaze::gui::CanvasFrameOptions::render_popups, yaze::gui::PreviewPanelOpts::render_popups, yaze::gui::RenderPreviewPanel(), yaze::zelda3::ObjectDrawInfo::routine_name, static_editor_draw_info_, static_editor_object_id_, static_preview_buffer_, static_preview_canvas_, static_preview_rendered_, yaze::zelda3::ObjectDrawInfo::tile_count, and tile_editor_callback_.
Referenced by Draw().
|
private |
Definition at line 813 of file object_editor_panel.cc.
References current_room_id_, yaze::editor::DungeonObjectSelector::get_rooms(), yaze::editor::AgentUI::GetTheme(), ICON_MD_DOOR_FRONT, ICON_MD_ERROR, ICON_MD_INVENTORY_2, ICON_MD_PEST_CONTROL, ICON_MD_WARNING, ICON_MD_WIDGETS, yaze::zelda3::kMaxChests, yaze::zelda3::kMaxDoors, yaze::zelda3::kMaxTileObjects, yaze::zelda3::kMaxTotalSprites, yaze::zelda3::kNumberOfRooms, object_selector_, and yaze::zelda3::DungeonValidator::ValidateRoom().
Referenced by Draw().

|
private |
Definition at line 906 of file object_editor_panel.cc.
References yaze::editor::AgentUI::GetTheme(), ICON_MD_EDIT, ICON_MD_KEYBOARD, ICON_MD_OPEN_WITH, ICON_MD_VISIBILITY, and show_shortcut_help_.
Referenced by Draw().

|
private |
Definition at line 958 of file object_editor_panel.cc.
References CancelPlacement(), canvas_viewer_, CopySelectedObjects(), CycleObjectSelection(), DeleteSelectedObjects(), DeselectAllObjects(), DuplicateSelectedObjects(), has_preview_object_, yaze::editor::DungeonObjectInteraction::IsObjectLoaded(), NudgeSelectedObjects(), object_editor_, yaze::editor::DungeonCanvasViewer::object_interaction(), PasteObjects(), SelectAllObjects(), show_grid_, show_object_ids_, and show_shortcut_help_.
Referenced by Draw().
|
private |
Definition at line 1081 of file object_editor_panel.cc.
References canvas_viewer_, yaze::editor::DungeonObjectInteraction::ClearSelection(), and yaze::editor::DungeonCanvasViewer::object_interaction().
Referenced by HandleKeyboardShortcuts().

|
private |
Definition at line 1106 of file object_editor_panel.cc.
References canvas_viewer_, yaze::editor::DungeonObjectInteraction::GetSelectedObjectIndices(), object_editor_, and yaze::editor::DungeonCanvasViewer::object_interaction().
Referenced by DeleteSelectedObjects().

|
private |
Definition at line 1127 of file object_editor_panel.cc.
References canvas_viewer_, yaze::editor::DungeonObjectInteraction::GetSelectedObjectIndices(), object_editor_, and yaze::editor::DungeonCanvasViewer::object_interaction().
Referenced by HandleKeyboardShortcuts().

|
private |
Definition at line 1173 of file object_editor_panel.cc.
References canvas_viewer_, yaze::editor::DungeonObjectInteraction::GetSelectedObjectIndices(), object_editor_, and yaze::editor::DungeonCanvasViewer::object_interaction().
Referenced by HandleKeyboardShortcuts().

|
private |
Definition at line 1207 of file object_editor_panel.cc.
References canvas_viewer_, object_editor_, and yaze::editor::DungeonCanvasViewer::ScrollToTile().
Referenced by CycleObjectSelection().

|
private |
Definition at line 178 of file object_editor_panel.h.
Referenced by OpenStaticObjectEditor(), and SetContext().
|
private |
Definition at line 179 of file object_editor_panel.h.
Referenced by CancelPlacement(), CopySelectedObjects(), CycleObjectSelection(), DeleteSelectedObjects(), DeselectAllObjects(), Draw(), DrawDoorSection(), DrawSelectedObjectInfo(), DuplicateSelectedObjects(), HandleKeyboardShortcuts(), NudgeSelectedObjects(), ObjectEditorPanel(), OnSelectionChanged(), PasteObjects(), PerformDelete(), ScrollToObject(), SelectAllObjects(), SetCanvasViewer(), and SetupSelectionCallbacks().
|
private |
Definition at line 180 of file object_editor_panel.h.
Referenced by DrawDoorSection(), DrawRoomValidationBar(), OpenStaticObjectEditor(), and SetCurrentRoom().
|
private |
Definition at line 183 of file object_editor_panel.h.
Referenced by CloseStaticObjectEditor(), DrawDoorSection(), DrawObjectSelector(), DrawRoomValidationBar(), object_selector(), ObjectEditorPanel(), OpenStaticObjectEditor(), SelectObject(), SetContext(), SetCurrentPaletteGroup(), SetCurrentRoom(), SetGameData(), and SetRooms().
|
private |
Definition at line 184 of file object_editor_panel.h.
Referenced by DrawEmulatorPreview(), emulator_preview(), ObjectEditorPanel(), SetContext(), and SetGameData().
|
private |
Definition at line 187 of file object_editor_panel.h.
|
private |
Definition at line 190 of file object_editor_panel.h.
|
private |
Definition at line 191 of file object_editor_panel.h.
Referenced by Draw().
|
private |
Definition at line 192 of file object_editor_panel.h.
|
private |
Definition at line 193 of file object_editor_panel.h.
|
private |
Definition at line 194 of file object_editor_panel.h.
Referenced by HandleKeyboardShortcuts().
|
private |
Definition at line 195 of file object_editor_panel.h.
Referenced by HandleKeyboardShortcuts().
|
private |
Definition at line 196 of file object_editor_panel.h.
|
private |
Definition at line 197 of file object_editor_panel.h.
Referenced by DeleteSelectedObjects().
|
private |
Definition at line 200 of file object_editor_panel.h.
Referenced by Draw(), DrawSelectedObjectInfo(), and ObjectEditorPanel().
|
private |
Definition at line 201 of file object_editor_panel.h.
Referenced by CancelPlacement(), Draw(), DrawSelectedObjectInfo(), HandleKeyboardShortcuts(), and ObjectEditorPanel().
|
private |
Definition at line 202 of file object_editor_panel.h.
Referenced by OpenStaticObjectEditor().
|
private |
Definition at line 203 of file object_editor_panel.h.
Referenced by CopySelectedObjects(), CycleObjectSelection(), DeleteSelectedObjects(), DrawSelectedObjectInfo(), DuplicateSelectedObjects(), HandleKeyboardShortcuts(), NudgeSelectedObjects(), ObjectEditorPanel(), OnSelectionChanged(), PasteObjects(), PerformDelete(), ScrollToObject(), and SelectAllObjects().
|
private |
Definition at line 206 of file object_editor_panel.h.
Referenced by OnSelectionChanged().
|
private |
Definition at line 207 of file object_editor_panel.h.
Referenced by SetCanvasViewer(), and SetupSelectionCallbacks().
|
private |
Definition at line 210 of file object_editor_panel.h.
Referenced by CloseStaticObjectEditor(), Draw(), IsStaticEditorOpen(), and OpenStaticObjectEditor().
|
private |
Definition at line 211 of file object_editor_panel.h.
Referenced by CloseStaticObjectEditor(), DrawStaticObjectEditor(), GetStaticEditorObjectId(), and OpenStaticObjectEditor().
|
private |
Definition at line 212 of file object_editor_panel.h.
|
private |
Definition at line 213 of file object_editor_panel.h.
Referenced by DrawStaticObjectEditor().
|
private |
Definition at line 214 of file object_editor_panel.h.
Referenced by DrawStaticObjectEditor(), and OpenStaticObjectEditor().
|
private |
Definition at line 215 of file object_editor_panel.h.
Referenced by ObjectEditorPanel(), and OpenStaticObjectEditor().
|
private |
Definition at line 216 of file object_editor_panel.h.
Referenced by DrawStaticObjectEditor(), and OpenStaticObjectEditor().
|
private |
Definition at line 217 of file object_editor_panel.h.
Referenced by DrawStaticObjectEditor(), and OpenStaticObjectEditor().
|
private |
Definition at line 220 of file object_editor_panel.h.
Referenced by DrawDoorSection().
|
private |
Definition at line 221 of file object_editor_panel.h.
Referenced by DrawDoorSection().
|
private |
Definition at line 224 of file object_editor_panel.h.
Referenced by Draw(), DrawKeyboardShortcutHelp(), and HandleKeyboardShortcuts().
|
staticconstexprprivate |
Definition at line 227 of file object_editor_panel.h.
Referenced by Draw(), and SetPlacementError().
|
private |
Definition at line 228 of file object_editor_panel.h.
Referenced by Draw(), and SetPlacementError().
|
private |
Definition at line 229 of file object_editor_panel.h.
Referenced by Draw(), and SetPlacementError().
|
private |
Definition at line 232 of file object_editor_panel.h.
Referenced by DrawStaticObjectEditor(), and set_tile_editor_callback().