The EditorManager controls the main editor window and manages the various editor classes. More...
#include <editor_manager.h>

Classes | |
| class | SessionScope |
| struct | UiSyncState |
Public Types | |
| enum class | PotItemSaveDecision { kSaveWithPotItems , kSaveWithoutPotItems , kCancel } |
Static Public Member Functions | |
| static bool | IsPanelBasedEditor (EditorType type) |
The EditorManager controls the main editor window and manages the various editor classes.
The EditorManager class contains instances of various editor classes such as AssemblyEditor, DungeonEditor, GraphicsEditor, MusicEditor, OverworldEditor, PaletteEditor, ScreenEditor, and SpriteEditor. The current_editor_ member variable points to the currently active editor in the tab view.
EditorManager subscribes to EventBus events for session lifecycle notifications (SessionSwitchedEvent, SessionCreatedEvent, etc.) and updates cross-cutting concerns accordingly.
Definition at line 94 of file editor_manager.h.
|
strong |
| Enumerator | |
|---|---|
| kSaveWithPotItems | |
| kSaveWithoutPotItems | |
| kCancel | |
Definition at line 103 of file editor_manager.h.
| yaze::editor::EditorManager::EditorManager | ( | ) |
Definition at line 613 of file editor_manager.cc.
References editor_context_, event_bus_, yaze::editor::StatusBar::Initialize(), InitializeSubsystems(), RegisterEditors(), yaze::editor::ContentRegistry::Context::SetGlobalContext(), status_bar_, SubscribeToEvents(), and version_.
| yaze::editor::EditorManager::~EditorManager | ( | ) |
Definition at line 1003 of file editor_manager.cc.
References yaze::gui::ThemeManager::Get(), and yaze::gui::ThemeManager::SetOnThemeChangedCallback().

| void yaze::editor::EditorManager::Initialize | ( | gfx::IRenderer * | renderer, |
| const std::string & | filename = "" ) |
Definition at line 1323 of file editor_manager.cc.
References dashboard_mode_override_, editor_registry_, emulator_, yaze::editor::WorkspaceWindowManager::GetActiveSessionId(), GetPreferredStartupCategory(), InitializeServices(), InitializeShortcutSystem(), InitializeTestSuites(), yaze::kShow, OpenRomOrProject(), yaze::editor::UserSettings::Preferences::panel_browser_category_width, yaze::editor::UserSettings::Preferences::panel_visibility_state, pending_layout_defaults_reset_, yaze::editor::UserSettings::prefs(), PRINT_IF_ERROR, yaze::editor::RegisterDefaultEditorFactories(), RegisterEmulatorPanels(), renderer_, ResetWorkspaceLayout(), yaze::editor::WorkspaceWindowManager::RestoreVisibilityState(), yaze::emu::Emulator::set_window_manager(), yaze::editor::WorkspaceManager::set_window_manager(), yaze::editor::WorkspaceWindowManager::SetActiveCategory(), yaze::editor::WorkspaceWindowManager::SetSidebarExpanded(), yaze::editor::WorkspaceWindowManager::SetSidebarVisible(), yaze::editor::WorkspaceWindowManager::SetStoredSidePanelWidth(), SetupComponentCallbacks(), yaze::editor::WorkspaceWindowManager::SetWindowBrowserCategoryWidth(), yaze::editor::UserSettings::Preferences::sidebar_active_category, yaze::editor::UserSettings::Preferences::sidebar_panel_expanded, yaze::editor::UserSettings::Preferences::sidebar_panel_width, yaze::editor::UserSettings::Preferences::sidebar_visible, startup_editor_hint_, startup_panel_hints_, SyncEditorContextForCategory(), user_settings_, window_manager_, and workspace_manager_.
Referenced by yaze::Controller::OnEntry().
| void yaze::editor::EditorManager::OpenEditorAndPanelsFromFlags | ( | const std::string & | editor_name, |
| const std::string & | panels_str ) |
Definition at line 1844 of file editor_manager.cc.
References yaze::editor::JumpToRoomRequestEvent::Create(), dashboard_panel_, EnsureEditorAssetsLoaded(), event_bus_, yaze::editor::WorkspaceWindowManager::GetActiveCategory(), yaze::editor::WorkspaceWindowManager::GetAllWindowDescriptors(), GetCurrentEditorSet(), GetCurrentSessionId(), yaze::editor::EditorRegistry::GetEditorTypeFromCategory(), yaze::editor::WorkspaceWindowManager::GetWindowDescriptor(), yaze::editor::WorkspaceWindowManager::kDashboardCategory, yaze::kShow, LOG_DEBUG, LOG_INFO, LOG_WARN, yaze::editor::WorkspaceWindowManager::OpenWindow(), yaze::EventBus::Publish(), yaze::editor::WorkspaceWindowManager::SetActiveCategory(), SwitchToEditor(), ui_coordinator_, and window_manager_.
Referenced by ProcessStartupActions(), and yaze::Controller::SetStartupEditor().
| void yaze::editor::EditorManager::ProcessStartupActions | ( | const AppConfig & | config | ) |
Definition at line 2062 of file editor_manager.cc.
References ApplyStartupVisibility(), yaze::editor::JumpToMapRequestEvent::Create(), yaze::editor::JumpToRoomRequestEvent::Create(), event_bus_, GetCurrentSessionId(), yaze::AppConfig::jump_to_map, yaze::AppConfig::jump_to_room, yaze::AppConfig::open_panels, OpenEditorAndPanelsFromFlags(), yaze::EventBus::Publish(), and yaze::AppConfig::startup_editor.
| void yaze::editor::EditorManager::ApplyStartupVisibility | ( | const AppConfig & | config | ) |
Definition at line 1974 of file editor_manager.cc.
References ApplyStartupVisibilityOverrides(), yaze::AppConfig::dashboard_mode, dashboard_mode_override_, yaze::AppConfig::sidebar_mode, sidebar_mode_override_, yaze::AppConfig::welcome_mode, and welcome_mode_override_.
Referenced by ProcessStartupActions().

| void yaze::editor::EditorManager::SetStartupLoadHints | ( | const AppConfig & | config | ) |
Definition at line 1981 of file editor_manager.cc.
References yaze::AppConfig::dashboard_mode, dashboard_mode_override_, yaze::AppConfig::open_panels, yaze::AppConfig::sidebar_mode, sidebar_mode_override_, yaze::AppConfig::startup_editor, startup_editor_hint_, startup_panel_hints_, yaze::AppConfig::welcome_mode, and welcome_mode_override_.
| void yaze::editor::EditorManager::SetAssetLoadMode | ( | AssetLoadMode | mode | ) |
Definition at line 2027 of file editor_manager.cc.
References asset_load_mode_.
Referenced by yaze::Controller::LoadRomForTesting(), and yaze::Controller::OnEntry().
|
inline |
Definition at line 126 of file editor_manager.h.
References asset_load_mode_.
Referenced by yaze::Controller::LoadRomForTesting().
| absl::Status yaze::editor::EditorManager::Update | ( | ) |
Main update loop for the editor application.
DELEGATION FLOW:
Note: EditorManager retains the main loop to coordinate multi-session updates, but delegates specific drawing/state operations to specialized components.
Definition at line 2401 of file editor_manager.cc.
References DrawInterface(), ProcessInput(), status_, and UpdateEditorState().
Referenced by yaze::Controller::OnLoad().

| void yaze::editor::EditorManager::DrawMainMenuBar | ( | ) |
Definition at line 2752 of file editor_manager.cc.
References yaze::gui::GetPrimaryVec4(), yaze::gui::GetSurfaceContainerHighestVec4(), yaze::gui::GetSurfaceContainerHighVec4(), yaze::gui::GetTextSecondaryVec4(), ICON_MD_MENU, ICON_MD_MENU_OPEN, yaze::editor::WorkspaceWindowManager::IsSidebarVisible(), menu_orchestrator_, yaze::editor::WorkspaceWindowManager::ToggleSidebarVisibility(), ui_coordinator_, and window_manager_.
Referenced by yaze::Controller::OnLoad().
| void yaze::editor::EditorManager::HandleHostVisibilityChanged | ( | bool | visible | ) |
Definition at line 2409 of file editor_manager.cc.
References yaze::gui::Animator::ClearWorkspaceTransitionState(), yaze::gui::GetAnimator(), and right_drawer_manager_.
Referenced by yaze::Controller::OnInput().

|
inline |
Definition at line 134 of file editor_manager.h.
References emulator_.
Referenced by yaze::app::GetGlobalEmulator(), main(), yaze::Controller::OnEntry(), and yaze::Controller::OnInput().
|
inline |
Definition at line 135 of file editor_manager.h.
References quit_.
Referenced by yaze::Controller::OnLoad().
|
inline |
Definition at line 136 of file editor_manager.h.
References version_.
Referenced by yaze::editor::PopupManager::DrawAboutPopup(), and yaze::editor::UICoordinator::DrawMenuBarExtras().
|
inline |
Definition at line 138 of file editor_manager.h.
References menu_builder_.
|
inline |
Definition at line 139 of file editor_manager.h.
References workspace_manager_.
Referenced by yaze::editor::UICoordinator::DrawWorkspacePresetDialogs().
|
inline |
Definition at line 140 of file editor_manager.h.
References right_drawer_manager_.
Referenced by yaze::editor::UICoordinator::DrawAllUI(), yaze::editor::UICoordinator::DrawMenuBarExtras(), and yaze::editor::UICoordinator::DrawNotificationBell().
|
inline |
Definition at line 143 of file editor_manager.h.
References right_drawer_manager_.
|
inline |
Definition at line 146 of file editor_manager.h.
References status_bar_.
|
inline |
Definition at line 147 of file editor_manager.h.
References toast_manager_.
Referenced by yaze::editor::PopupManager::DrawRomBackupManagerPopup(), yaze::editor::PopupManager::DrawRomWriteConfirmPopup(), yaze::editor::PopupManager::DrawWriteConflictWarningPopup(), and InitializeSubsystems().
|
inline |
Definition at line 148 of file editor_manager.h.
References window_manager_.
|
inline |
Definition at line 149 of file editor_manager.h.
References window_manager_.
Referenced by yaze::editor::PopupManager::DrawLayoutPresetsPopup().
|
inline |
Definition at line 150 of file editor_manager.h.
References window_manager_.
|
inline |
Definition at line 153 of file editor_manager.h.
References window_host_.
|
inline |
Definition at line 157 of file editor_manager.h.
References window_host_.
|
inline |
Definition at line 160 of file editor_manager.h.
References window_host_.
|
inline |
Definition at line 161 of file editor_manager.h.
References window_host_.
|
inline |
Definition at line 165 of file editor_manager.h.
References yaze::editor::LayoutCoordinator::GetLeftLayoutOffset(), and layout_coordinator_.
Referenced by yaze::editor::UICoordinator::DrawWelcomeScreen(), and yaze::Controller::OnLoad().

|
inline |
Definition at line 168 of file editor_manager.h.
References yaze::editor::LayoutCoordinator::GetRightLayoutOffset(), and layout_coordinator_.
Referenced by yaze::editor::UICoordinator::DrawWelcomeScreen(), and yaze::Controller::OnLoad().

|
inline |
Definition at line 171 of file editor_manager.h.
References yaze::editor::LayoutCoordinator::GetBottomLayoutOffset(), and layout_coordinator_.
Referenced by yaze::Controller::OnLoad().

| absl::Status yaze::editor::EditorManager::SetCurrentRom | ( | Rom * | rom | ) |
Definition at line 4346 of file editor_manager.cc.
References yaze::test::TestManager::Get(), GetCurrentRom(), RefreshResourceLabelProvider(), session_coordinator_, yaze::test::TestManager::SetCurrentRom(), and UpdateCurrentRomHash().
|
inlineoverridevirtual |
Implements yaze::editor::IEditorSwitcher.
Definition at line 176 of file editor_manager.h.
References session_coordinator_.
Referenced by CheckRomWritePolicy(), yaze::editor::UICoordinator::DrawGlobalSearch(), DrawInterface(), yaze::editor::UICoordinator::DrawMenuBarExtras(), yaze::editor::UICoordinator::DrawNotificationBell(), yaze::editor::PopupManager::DrawRomBackupManagerPopup(), yaze::editor::PopupManager::DrawRomInfoPopup(), yaze::editor::PopupManager::DrawRomWriteConfirmPopup(), yaze::editor::PopupManager::DrawSaveAsPopup(), yaze::editor::UICoordinator::DrawSessionButton(), yaze::editor::PopupManager::DrawSessionManagerPopup(), yaze::editor::UICoordinator::DrawWelcomeScreen(), yaze::Controller::GetCurrentRom(), GetRomBackups(), HandleSessionClosed(), HandleUIActionRequest(), LoadAssets(), LoadAssetsLazy(), LoadProjectWithRom(), LoadRom(), yaze::Controller::OnLoad(), OpenRomOrProject(), PruneRomBackups(), RefreshResourceLabelProvider(), RestoreRomBackup(), RunEmulator(), SaveProject(), SaveRom(), SaveRomAs(), SetCurrentRom(), SetupDialogCallbacks(), yaze::editor::UICoordinator::ShouldShowActivityBar(), ShowProjectManagement(), UpdateCurrentRomHash(), UpdateEditorState(), and UpdateSystemUIs().
|
inline |
Definition at line 180 of file editor_manager.h.
References session_coordinator_.
|
inline |
Definition at line 184 of file editor_manager.h.
References session_coordinator_.
Referenced by DrawInterface(), DrawSecondaryWindows(), InitializeSubsystems(), LoadAssets(), LoadAssetsLazy(), LoadProjectWithRom(), LoadRom(), OpenEditorAndPanelsFromFlags(), OpenRomOrProject(), overworld(), ResolveEditorForCategory(), SaveProject(), SaveRom(), SetupSidebarCallbacks(), and UpdateEditorState().
|
inline |
Definition at line 188 of file editor_manager.h.
References current_editor_.
Referenced by yaze::editor::PopupManager::DrawLayoutPresetsPopup(), HandleUIActionRequest(), and yaze::Controller::OnLoad().
|
inline |
Definition at line 189 of file editor_manager.h.
References yaze::editor::RomLifecycleManager::current_rom_hash(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawRomInfoPopup(), and yaze::editor::PopupManager::DrawRomWriteConfirmPopup().

|
inline |
Definition at line 192 of file editor_manager.h.
References current_project_, yaze::project::RomMetadata::role, and yaze::project::YazeProject::rom_metadata.
Referenced by yaze::editor::PopupManager::DrawRomWriteConfirmPopup().
|
inline |
Definition at line 195 of file editor_manager.h.
References current_project_, yaze::project::YazeProject::rom_metadata, and yaze::project::RomMetadata::write_policy.
Referenced by yaze::editor::PopupManager::DrawRomWriteConfirmPopup().
|
inline |
Definition at line 198 of file editor_manager.h.
References current_project_, yaze::project::RomMetadata::expected_hash, and yaze::project::YazeProject::rom_metadata.
Referenced by yaze::editor::PopupManager::DrawRomWriteConfirmPopup().
|
inline |
Definition at line 201 of file editor_manager.h.
References yaze::editor::RomLifecycleManager::IsRomHashMismatch(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawRomInfoPopup(), and LoadProjectWithRom().

| std::vector< RomFileManager::BackupEntry > yaze::editor::EditorManager::GetRomBackups | ( | ) | const |
Definition at line 4384 of file editor_manager.cc.
References GetCurrentRom(), yaze::editor::RomLifecycleManager::GetRomBackups(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawRomBackupManagerPopup().

| absl::Status yaze::editor::EditorManager::RestoreRomBackup | ( | const std::string & | backup_path | ) |
Definition at line 4388 of file editor_manager.cc.
References yaze::Rom::filename(), GetCurrentRom(), LoadAssetsForMode(), yaze::editor::RomFileManager::LoadRom(), ResetAssetState(), RETURN_IF_ERROR, rom_file_manager_, session_coordinator_, yaze::Rom::set_filename(), and UpdateCurrentRomHash().
Referenced by yaze::editor::PopupManager::DrawRomBackupManagerPopup().
| absl::Status yaze::editor::EditorManager::PruneRomBackups | ( | ) |
Definition at line 4408 of file editor_manager.cc.
References GetCurrentRom(), yaze::editor::RomLifecycleManager::PruneRomBackups(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawRomBackupManagerPopup().

|
inline |
Definition at line 205 of file editor_manager.h.
References yaze::editor::RomLifecycleManager::ConfirmRomWrite(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawRomWriteConfirmPopup().

|
inline |
Definition at line 206 of file editor_manager.h.
References yaze::editor::RomLifecycleManager::CancelRomWriteConfirm(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawRomWriteConfirmPopup().

|
inline |
Definition at line 207 of file editor_manager.h.
References yaze::editor::RomLifecycleManager::IsRomWriteConfirmPending(), and rom_lifecycle_.

|
inline |
Definition at line 212 of file editor_manager.h.
References yaze::editor::RomLifecycleManager::pending_write_conflicts(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawWriteConflictWarningPopup().

|
inline |
Definition at line 215 of file editor_manager.h.
References yaze::editor::RomLifecycleManager::BypassWriteConflictOnce(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawWriteConflictWarningPopup().

|
inline |
Definition at line 216 of file editor_manager.h.
References yaze::editor::RomLifecycleManager::ClearPendingWriteConflicts(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawWriteConflictWarningPopup().

|
inlineoverridevirtual |
Implements yaze::editor::ISessionConfigurator.
Definition at line 219 of file editor_manager.h.
References current_editor_, right_drawer_manager_, yaze::editor::ContentRegistry::Context::SetCurrentEditor(), and yaze::editor::Editor::type().
Referenced by SyncEditorContextForCategory().

|
inline |
Definition at line 228 of file editor_manager.h.
References session_coordinator_.
Referenced by ApplyLayoutPreset(), ApplyLayoutProfile(), CaptureTemporaryLayoutSnapshot(), CollectEditorsToPreload(), ConfigureEditorDependencies(), DrawInterface(), yaze::editor::PopupManager::DrawSessionManagerPopup(), InitializeSubsystems(), ListLayoutSnapshots(), LoadProjectWithRom(), LoadRom(), OpenEditorAndPanelsFromFlags(), OpenRomOrProject(), ProcessStartupActions(), ResetCurrentEditorLayout(), RestoreLayoutSnapshot(), RestoreTemporaryLayoutSnapshot(), and SaveLayoutSnapshotAs().
|
inline |
Definition at line 232 of file editor_manager.h.
References ui_coordinator_.
Referenced by yaze::Controller::OnLoad().
| yaze::zelda3::Overworld * yaze::editor::EditorManager::overworld | ( | ) | const |
Definition at line 4339 of file editor_manager.cc.
References GetCurrentEditorSet().
Referenced by yaze::Controller::overworld().

| size_t yaze::editor::EditorManager::GetCurrentSessionIndex | ( | ) | const |
Definition at line 4448 of file editor_manager.cc.
References session_coordinator_.
Referenced by GetCurrentFeatureFlags().
|
inline |
Definition at line 239 of file editor_manager.h.
References yaze::editor::RomSession::feature_flags, yaze::core::FeatureFlags::get(), GetCurrentSessionIndex(), and session_coordinator_.

|
inline |
Definition at line 252 of file editor_manager.h.
References yaze::editor::UserSettings::Preferences::font_global_scale, LOG_WARN, yaze::editor::UserSettings::prefs(), yaze::editor::UserSettings::Save(), and user_settings_.
Referenced by yaze::editor::anonymous_namespace{shortcut_configurator.cc}::AdjustUiFontScaleBy(), and yaze::editor::PopupManager::DrawDisplaySettingsPopup().

|
inline |
Definition at line 262 of file editor_manager.h.
References user_settings_.
Referenced by yaze::editor::anonymous_namespace{shortcut_configurator.cc}::AdjustUiFontScaleBy(), yaze::editor::UICoordinator::InitializeCommandPalette(), and yaze::editor::UICoordinator::UICoordinator().
|
inline |
Definition at line 263 of file editor_manager.h.
References user_settings_.
|
inline |
Definition at line 266 of file editor_manager.h.
References yaze::editor::WorkspaceManager::RefreshPresets(), and workspace_manager_.
Referenced by yaze::editor::UICoordinator::DrawWorkspacePresetDialogs().

|
inline |
Definition at line 267 of file editor_manager.h.
References yaze::editor::WorkspaceManager::SaveWorkspacePreset(), and workspace_manager_.
Referenced by yaze::editor::UICoordinator::DrawWorkspacePresetDialogs().

|
inline |
Definition at line 270 of file editor_manager.h.
References yaze::editor::WorkspaceManager::LoadWorkspacePreset(), and workspace_manager_.
Referenced by yaze::editor::UICoordinator::DrawWorkspacePresetDialogs().

|
overridevirtual |
Implements yaze::editor::IEditorSwitcher.
Definition at line 4487 of file editor_manager.cc.
References editor_activator_, EnsureEditorAssetsLoaded(), yaze::editor::kAgent, yaze::editor::kEditorNames, yaze::editor::kError, yaze::editor::ToastManager::Show(), yaze::editor::EditorActivator::SwitchToEditor(), and toast_manager_.
Referenced by HandleUIActionRequest(), yaze::editor::UICoordinator::InitializeCommandPalette(), OpenEditorAndPanelsFromFlags(), SetupSidebarCallbacks(), SetupWelcomeScreenCallbacks(), and yaze::editor::UICoordinator::UICoordinator().

|
overridevirtual |
Implements yaze::editor::IEditorSwitcher.
Definition at line 4510 of file editor_manager.cc.
References yaze::editor::kEditor, and ui_coordinator_.
|
static |
Definition at line 446 of file editor_manager.cc.
References yaze::editor::EditorRegistry::IsPanelBasedEditor().
Referenced by DrawInterface(), and yaze::editor::SessionCoordinator::UpdateSessions().

|
inline |
Definition at line 281 of file editor_manager.h.
References ui_coordinator_.
|
inline |
Definition at line 284 of file editor_manager.h.
References ui_coordinator_.
| absl::Status yaze::editor::EditorManager::EnsureEditorAssetsLoaded | ( | EditorType | type | ) |
Definition at line 2324 of file editor_manager.cc.
References EditorInitRequiresGameData(), EditorRequiresGameData(), yaze::editor::EditorTypeIndex(), EnsureGameDataLoaded(), GetEditorByType(), InitializeEditorForType(), yaze::editor::kUnknown, MarkEditorInitialized(), MarkEditorLoaded(), RETURN_IF_ERROR, session_coordinator_, and yaze::editor::EditorRegistry::UpdateAllowedWithoutLoadedRom().
Referenced by InitializeSubsystems(), OpenEditorAndPanelsFromFlags(), SaveRom(), and SwitchToEditor().
| absl::Status yaze::editor::EditorManager::EnsureGameDataLoaded | ( | ) |
Definition at line 2297 of file editor_manager.cc.
References yaze::gfx::Arena::Get(), yaze::zelda3::LoadGameData(), yaze::gfx::Arena::mutable_gfx_sheets(), RETURN_IF_ERROR, session_coordinator_, and yaze::editor::ContentRegistry::Context::SetGameData().
Referenced by EnsureEditorAssetsLoaded().

| void yaze::editor::EditorManager::CreateNewSession | ( | ) |
Definition at line 4415 of file editor_manager.cc.
References session_coordinator_.
Referenced by yaze::editor::PopupManager::DrawSessionManagerPopup().
| void yaze::editor::EditorManager::DuplicateCurrentSession | ( | ) |
Definition at line 4422 of file editor_manager.cc.
References session_coordinator_.
| void yaze::editor::EditorManager::CloseCurrentSession | ( | ) |
Definition at line 4428 of file editor_manager.cc.
References session_coordinator_.
| void yaze::editor::EditorManager::RemoveSession | ( | size_t | index | ) |
Definition at line 4434 of file editor_manager.cc.
References session_coordinator_.
Referenced by yaze::editor::PopupManager::DrawSessionManagerPopup().
| void yaze::editor::EditorManager::SwitchToSession | ( | size_t | index | ) |
Definition at line 4440 of file editor_manager.cc.
References session_coordinator_.
Referenced by yaze::editor::UICoordinator::DrawGlobalSearch(), yaze::editor::UICoordinator::DrawSessionButton(), and yaze::editor::PopupManager::DrawSessionManagerPopup().
| size_t yaze::editor::EditorManager::GetActiveSessionCount | ( | ) | const |
Definition at line 4474 of file editor_manager.cc.
References session_coordinator_.
Referenced by yaze::editor::PopupManager::DrawSessionManagerPopup().
|
inline |
Definition at line 304 of file editor_manager.h.
References yaze::editor::WorkspaceManager::SaveWorkspaceLayout(), and workspace_manager_.

|
inline |
Definition at line 305 of file editor_manager.h.
References yaze::editor::WorkspaceManager::LoadWorkspaceLayout(), and workspace_manager_.

| void yaze::editor::EditorManager::ResetWorkspaceLayout | ( | ) |
Definition at line 450 of file editor_manager.cc.
References layout_coordinator_, and yaze::editor::LayoutCoordinator::ResetWorkspaceLayout().
Referenced by HandleUIActionRequest(), and Initialize().

|
inline |
Definition at line 307 of file editor_manager.h.
References ui_coordinator_.
|
inline |
Definition at line 311 of file editor_manager.h.
References ui_coordinator_.
|
inline |
Definition at line 317 of file editor_manager.h.
References yaze::editor::WindowDelegate::LoadDeveloperLayout(), and window_delegate_.

|
inline |
Definition at line 318 of file editor_manager.h.
References yaze::editor::WindowDelegate::LoadDesignerLayout(), and window_delegate_.

|
inline |
Definition at line 319 of file editor_manager.h.
References yaze::editor::WindowDelegate::LoadModderLayout(), and window_delegate_.

| void yaze::editor::EditorManager::ApplyLayoutPreset | ( | const std::string & | preset_name | ) |
Definition at line 454 of file editor_manager.cc.
References yaze::editor::LayoutCoordinator::ApplyLayoutPreset(), GetCurrentSessionId(), and layout_coordinator_.
Referenced by yaze::editor::UICoordinator::InitializeCommandPalette(), and InitializeSubsystems().

| bool yaze::editor::EditorManager::ApplyLayoutProfile | ( | const std::string & | profile_id | ) |
Definition at line 458 of file editor_manager.cc.
References current_editor_, GetCurrentSessionId(), yaze::editor::RightDrawerManager::GetDefaultDrawerWidth(), yaze::editor::RightDrawerManager::kAgentChat, yaze::editor::kSuccess, yaze::editor::kUnknown, yaze::editor::LayoutProfile::label, layout_manager_, yaze::editor::LayoutProfile::open_agent_chat, right_drawer_manager_, yaze::editor::ToastManager::Show(), toast_manager_, and yaze::editor::Editor::type().
Referenced by yaze::editor::MenuOrchestrator::AddLayoutMenuItems().

| void yaze::editor::EditorManager::CaptureTemporaryLayoutSnapshot | ( | ) |
Definition at line 489 of file editor_manager.cc.
References GetCurrentSessionId(), yaze::editor::kInfo, layout_manager_, yaze::editor::ToastManager::Show(), and toast_manager_.

| void yaze::editor::EditorManager::RestoreTemporaryLayoutSnapshot | ( | bool | clear_after_restore = false | ) |
Definition at line 497 of file editor_manager.cc.
References GetCurrentSessionId(), yaze::editor::kSuccess, yaze::editor::kWarning, layout_manager_, yaze::editor::ToastManager::Show(), and toast_manager_.

| void yaze::editor::EditorManager::ClearTemporaryLayoutSnapshot | ( | ) |
Definition at line 512 of file editor_manager.cc.
References yaze::editor::kInfo, layout_manager_, yaze::editor::ToastManager::Show(), and toast_manager_.

| bool yaze::editor::EditorManager::SaveLayoutSnapshotAs | ( | const std::string & | name | ) |
Definition at line 520 of file editor_manager.cc.
References GetCurrentSessionId(), yaze::editor::kError, yaze::editor::kSuccess, yaze::editor::kWarning, layout_manager_, yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by yaze::editor::MenuOrchestrator::BuildMainMenu().

| bool yaze::editor::EditorManager::RestoreLayoutSnapshot | ( | const std::string & | name, |
| bool | remove_after_restore = false ) |
Definition at line 539 of file editor_manager.cc.
References GetCurrentSessionId(), yaze::editor::kSuccess, yaze::editor::kWarning, layout_manager_, yaze::editor::ToastManager::Show(), and toast_manager_.

| bool yaze::editor::EditorManager::DeleteLayoutSnapshot | ( | const std::string & | name | ) |
Definition at line 555 of file editor_manager.cc.
References yaze::editor::kInfo, layout_manager_, yaze::editor::ToastManager::Show(), and toast_manager_.

| std::vector< std::string > yaze::editor::EditorManager::ListLayoutSnapshots | ( | ) | const |
Definition at line 566 of file editor_manager.cc.
References GetCurrentSessionId(), and layout_manager_.

| void yaze::editor::EditorManager::ResetCurrentEditorLayout | ( | ) |
Definition at line 585 of file editor_manager.cc.
References current_editor_, GetCurrentSessionId(), yaze::editor::kWarning, layout_coordinator_, yaze::editor::LayoutCoordinator::ResetCurrentEditorLayout(), yaze::editor::ToastManager::Show(), toast_manager_, and yaze::editor::Editor::type().
Referenced by yaze::editor::MenuOrchestrator::AddLayoutMenuItems().

| std::string yaze::editor::EditorManager::GenerateUniqueEditorTitle | ( | EditorType | type, |
| size_t | session_index ) const |
Definition at line 4479 of file editor_manager.cc.
References yaze::editor::kEditorNames, and session_coordinator_.
| bool yaze::editor::EditorManager::HasDuplicateSession | ( | const std::string & | filepath | ) |
Definition at line 4542 of file editor_manager.cc.
References session_coordinator_.
| void yaze::editor::EditorManager::RenameSession | ( | size_t | index, |
| const std::string & | new_name ) |
|
inline |
Definition at line 342 of file editor_manager.h.
References quit_.
|
inline |
Definition at line 346 of file editor_manager.h.
References deferred_actions_, and pending_editor_deferred_actions_.
Referenced by InitializeSubsystems().
| EditorManager::UiSyncState yaze::editor::EditorManager::GetUiSyncStateSnapshot | ( | ) | const |
Definition at line 4453 of file editor_manager.cc.
References yaze::editor::EditorManager::UiSyncState::frame_id, layout_coordinator_, layout_manager_, yaze::editor::EditorManager::UiSyncState::layout_rebuild_pending, yaze::editor::EditorManager::UiSyncState::pending_editor_actions, pending_editor_deferred_actions_, yaze::editor::EditorManager::UiSyncState::pending_layout_actions, yaze::editor::LayoutCoordinator::PendingDeferredActionCount(), and ui_sync_frame_id_.
Referenced by yaze::Controller::DoRender().

|
overridevirtual |
Implements yaze::editor::ISessionConfigurator.
Definition at line 4518 of file editor_manager.cc.
References ConfigureEditorDependencies(), yaze::editor::RomSession::editors, yaze::editor::RomSession::rom, yaze::editor::EditorSet::session_id(), yaze::editor::EditorSet::set_user_settings(), and user_settings_.

|
inline |
Definition at line 365 of file editor_manager.h.
References ui_coordinator_.
|
inline |
Definition at line 369 of file editor_manager.h.
References ui_coordinator_.
|
inline |
Definition at line 384 of file editor_manager.h.
|
inline |
Definition at line 385 of file editor_manager.h.
| absl::Status yaze::editor::EditorManager::LoadRom | ( | ) |
Load a ROM file into a new or existing session.
DELEGATION:
FLOW:
Definition at line 2932 of file editor_manager.cc.
References ApplyDefaultBackupPolicy(), yaze::zelda3::CustomObjectManager::ClearObjectFileMap(), yaze::core::RomSettings::ClearOverrides(), ConfigureEditorDependencies(), yaze::test::TestManager::Get(), yaze::core::RomSettings::Get(), yaze::zelda3::CustomObjectManager::Get(), GetCurrentEditorSet(), GetCurrentRom(), GetCurrentSessionId(), yaze::project::RecentFilesManager::GetInstance(), yaze::editor::kWarning, LoadAssetsForMode(), yaze::editor::RomFileManager::LoadRom(), yaze::util::MakeRomFileDialogOptions(), yaze::editor::RomLoadOptionsDialog::Open(), OpenRomOrProject(), yaze::platform::ios::PostOverlayCommand(), RefreshResourceLabelProvider(), RETURN_IF_ERROR, rom_file_manager_, rom_load_options_dialog_, session_coordinator_, yaze::test::TestManager::SetCurrentRom(), yaze::editor::ToastManager::Show(), show_rom_load_options_, yaze::util::FileDialogWrapper::ShowOpenFileDialog(), toast_manager_, ui_coordinator_, and UpdateCurrentRomHash().
Referenced by CreateNewProject(), HandleUIActionRequest(), SetupWelcomeScreenCallbacks(), and yaze::editor::UICoordinator::UICoordinator().
| absl::Status yaze::editor::EditorManager::SaveRom | ( | ) |
Definition at line 3259 of file editor_manager.cc.
References yaze::core::HackManifest::AnalyzePcWriteRanges(), yaze::editor::RomLifecycleManager::ApplyDefaultBackupPolicy(), yaze::editor::UserSettings::Preferences::backup_before_save, yaze::project::WorkspaceSettings::backup_keep_daily, yaze::project::WorkspaceSettings::backup_keep_daily_days, yaze::project::WorkspaceSettings::backup_on_save, yaze::project::WorkspaceSettings::backup_retention_count, yaze::editor::RomLifecycleManager::CancelRomWriteConfirm(), CheckOracleRomSafetyPreSave(), CheckRomWritePolicy(), yaze::editor::RomLifecycleManager::ClearPotItemBypass(), yaze::rom::ComputeDiffRanges(), yaze::editor::RomLifecycleManager::ConsumeWriteConflictBypass(), current_project_, yaze::core::FeatureFlags::Flags::dungeon, EnsureEditorAssetsLoaded(), yaze::gfx::Arena::Get(), yaze::core::FeatureFlags::get(), yaze::project::YazeProject::GetAbsolutePath(), GetCurrentEditorSet(), GetCurrentRom(), yaze::project::YazeProject::hack_manifest, yaze::editor::RomLifecycleManager::HasPendingPotItemSaveConfirmation(), yaze::editor::RomLifecycleManager::IsRomWriteConfirmPending(), yaze::editor::kDungeon, yaze::editor::PopupID::kDungeonPotItemSaveConfirm, yaze::editor::kMessage, yaze::editor::kOverworld, yaze::core::FeatureFlags::Flags::Dungeon::kSavePotItems, yaze::editor::kScreen, yaze::editor::kWarning, yaze::editor::PopupID::kWriteConflictWarning, yaze::core::HackManifest::loaded(), LOG_DEBUG, yaze::editor::RomLifecycleManager::pending_pot_item_unloaded_rooms(), yaze::editor::RomLifecycleManager::pending_write_conflicts(), popup_manager_, yaze::editor::UserSettings::prefs(), yaze::project::YazeProject::project_opened(), RETURN_IF_ERROR, yaze::project::YazeProject::rom_backup_folder, rom_file_manager_, rom_lifecycle_, yaze::zelda3::SaveAllGraphicsData(), yaze::editor::RomFileManager::SaveRom(), yaze::editor::RomLifecycleManager::SetPendingWriteConflicts(), yaze::editor::RomLifecycleManager::SetPotItemConfirmPending(), yaze::editor::RomLifecycleManager::ShouldBypassPotItemConfirm(), yaze::editor::RomLifecycleManager::ShouldBypassWriteConflict(), yaze::editor::RomLifecycleManager::ShouldSuppressPotItemSave(), yaze::editor::ToastManager::Show(), toast_manager_, user_settings_, and yaze::project::YazeProject::workspace_settings.
Referenced by yaze::editor::PopupManager::DrawRomWriteConfirmPopup(), yaze::editor::PopupManager::DrawWriteConflictWarningPopup(), HandleUIActionRequest(), ResolvePotItemSaveConfirmation(), and SaveRomAs().
| absl::Status yaze::editor::EditorManager::SaveRomAs | ( | const std::string & | filename | ) |
Definition at line 3428 of file editor_manager.cc.
References GetCurrentRom(), yaze::project::RecentFilesManager::GetInstance(), RETURN_IF_ERROR, rom_file_manager_, SaveRom(), yaze::editor::RomFileManager::SaveRomAs(), and session_coordinator_.
Referenced by yaze::editor::PopupManager::DrawSaveAsPopup().

| absl::Status yaze::editor::EditorManager::OpenRomOrProject | ( | const std::string & | filename | ) |
Definition at line 3457 of file editor_manager.cc.
References yaze::editor::RomLifecycleManager::CheckRomOpenPolicy(), yaze::project::YazeProject::code_folder, ConfigureEditorDependencies(), current_project_, yaze::editor::RomSession::feature_flags, yaze::project::YazeProject::feature_flags, yaze::test::TestManager::Get(), yaze::core::FeatureFlags::get(), yaze::project::YazeProject::GetAbsolutePath(), GetCurrentEditorSet(), GetCurrentRom(), GetCurrentSessionId(), yaze::editor::WorkspaceWindowManager::kDashboardCategory, LoadAssetsForMode(), LoadProjectWithRom(), yaze::editor::RomFileManager::LoadRom(), LOG_DEBUG, LOG_INFO, yaze::project::YazeProject::Open(), RefreshHackWorkflowBackend(), RefreshResourceLabelProvider(), RETURN_IF_ERROR, rom_file_manager_, rom_lifecycle_, session_coordinator_, yaze::editor::WorkspaceWindowManager::SetActiveCategory(), yaze::test::TestManager::SetCurrentRom(), yaze::editor::WorkspaceWindowManager::SetFileBrowserPath(), SyncLayoutScopeFromCurrentProject(), ui_coordinator_, UpdateCurrentRomHash(), version_manager_, and window_manager_.
Referenced by yaze::editor::UICoordinator::DrawGlobalSearch(), yaze::editor::PopupManager::DrawRomBackupManagerPopup(), Initialize(), yaze::editor::UICoordinator::InitializeCommandPalette(), LoadRom(), yaze::Controller::LoadRomForTesting(), SetupWelcomeScreenCallbacks(), and yaze::editor::UICoordinator::UICoordinator().
| absl::Status yaze::editor::EditorManager::CreateNewProject | ( | const std::string & | template_name = "Basic ROM Hack" | ) |
Definition at line 3575 of file editor_manager.cc.
References yaze::editor::ProjectManager::CreateNewProject(), current_project_, yaze::editor::ProjectManager::GetCurrentProject(), LoadRom(), project_manager_, SyncLayoutScopeFromCurrentProject(), and ui_coordinator_.
Referenced by yaze::editor::PopupManager::DrawNewProjectPopup(), yaze::editor::UICoordinator::InitializeCommandPalette(), SaveProject(), SetupWelcomeScreenCallbacks(), and yaze::editor::UICoordinator::UICoordinator().

| absl::Status yaze::editor::EditorManager::OpenProject | ( | ) |
Definition at line 3595 of file editor_manager.cc.
References current_project_, yaze::editor::kWarning, LoadProjectWithRom(), yaze::project::YazeProject::Open(), popup_manager_, yaze::platform::ios::PostOverlayCommand(), RETURN_IF_ERROR, yaze::editor::ToastManager::Show(), yaze::util::FileDialogWrapper::ShowOpenFileDialog(), SyncLayoutScopeFromCurrentProject(), toast_manager_, yaze::project::YazeProject::Validate(), and version_manager_.
Referenced by SetupWelcomeScreenCallbacks(), and yaze::editor::UICoordinator::UICoordinator().
| absl::Status yaze::editor::EditorManager::SaveProject | ( | ) |
Definition at line 3939 of file editor_manager.cc.
References yaze::editor::UserSettings::Preferences::autosave_enabled, yaze::project::WorkspaceSettings::autosave_enabled, yaze::editor::UserSettings::Preferences::autosave_interval, yaze::project::WorkspaceSettings::autosave_interval_secs, yaze::editor::UserSettings::Preferences::backup_before_save, yaze::project::WorkspaceSettings::backup_on_save, CreateNewProject(), current_project_, yaze::project::YazeProject::feature_flags, yaze::editor::UserSettings::Preferences::font_global_scale, yaze::project::WorkspaceSettings::font_global_scale, GetCurrentEditorSet(), GetCurrentRom(), yaze::project::RecentFilesManager::GetInstance(), yaze::editor::UserSettings::prefs(), yaze::project::YazeProject::project_opened(), yaze::project::WorkspaceSettings::recent_files, yaze::project::YazeProject::Save(), session_coordinator_, user_settings_, and yaze::project::YazeProject::workspace_settings.
Referenced by InitializeSubsystems().
| absl::Status yaze::editor::EditorManager::SaveProjectAs | ( | ) |
Definition at line 3996 of file editor_manager.cc.
References current_project_, yaze::project::YazeProject::filepath, yaze::project::YazeProject::GetDisplayName(), yaze::project::RecentFilesManager::GetInstance(), yaze::editor::kError, yaze::editor::kSuccess, yaze::project::YazeProject::project_opened(), yaze::project::YazeProject::Save(), yaze::editor::ToastManager::Show(), yaze::util::FileDialogWrapper::ShowSaveFileDialog(), SyncLayoutScopeFromCurrentProject(), and toast_manager_.
| absl::Status yaze::editor::EditorManager::BuildCurrentProject | ( | ) |
Definition at line 4119 of file editor_manager.cc.
References yaze::editor::kFailure, yaze::editor::kRunning, yaze::editor::kSuccess, yaze::editor::kWarning, LOG_INFO, MakeBuildStatus(), project_management_panel_, RunProjectBuildCommand(), yaze::editor::ToastManager::Show(), status_bar_, and toast_manager_.

| void yaze::editor::EditorManager::QueueBuildCurrentProject | ( | ) |
Definition at line 4152 of file editor_manager.cc.
References active_project_build_, active_project_build_reported_, current_project_, yaze::project::YazeProject::filepath, yaze::editor::kFailure, yaze::editor::kInfo, yaze::editor::kRunning, yaze::editor::kWarning, MakeBuildStatus(), project_management_panel_, ResolveProjectBuildCommand(), yaze::editor::ContentRegistry::Context::SetBuildWorkflowLog(), yaze::editor::ToastManager::Show(), status_bar_, and toast_manager_.
Referenced by InitializeSubsystems(), and yaze::editor::UICoordinator::RefreshWorkflowActions().

| void yaze::editor::EditorManager::CancelQueuedProjectBuild | ( | ) |
Definition at line 4205 of file editor_manager.cc.
References active_project_build_, yaze::editor::kRunning, MakeBuildStatus(), project_management_panel_, and status_bar_.
Referenced by InitializeSubsystems().

| absl::Status yaze::editor::EditorManager::RunCurrentProject | ( | ) |
Definition at line 4223 of file editor_manager.cc.
References emulator_, yaze::Application::Instance(), yaze::editor::kError, yaze::editor::kFailure, yaze::editor::kInfo, yaze::editor::kRunning, yaze::editor::kSuccess, yaze::editor::kWarning, yaze::editor::RomFileManager::LoadRom(), MakeRunStatus(), project_management_panel_, yaze::emu::Emulator::ReloadRuntimeRom(), ResolveProjectRunTarget(), rom_file_manager_, yaze::editor::ToastManager::Show(), status_bar_, toast_manager_, ui_coordinator_, and yaze::Rom::vector().
Referenced by InitializeSubsystems(), and yaze::editor::UICoordinator::RefreshWorkflowActions().
|
inline |
Definition at line 406 of file editor_manager.h.
References yaze::editor::RomLifecycleManager::HasPendingPotItemSaveConfirmation(), and rom_lifecycle_.

|
inline |
Definition at line 409 of file editor_manager.h.
References yaze::editor::RomLifecycleManager::pending_pot_item_unloaded_rooms(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawDungeonPotItemSaveConfirmPopup().

|
inline |
Definition at line 412 of file editor_manager.h.
References yaze::editor::RomLifecycleManager::pending_pot_item_total_rooms(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawDungeonPotItemSaveConfirmPopup().

| void yaze::editor::EditorManager::ResolvePotItemSaveConfirmation | ( | PotItemSaveDecision | decision | ) |
Definition at line 3973 of file editor_manager.cc.
References kCancel, yaze::editor::kError, yaze::editor::kInfo, yaze::editor::kSuccess, yaze::editor::RomLifecycleManager::ResolvePotItemSaveConfirmation(), rom_lifecycle_, SaveRom(), yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by yaze::editor::PopupManager::DrawDungeonPotItemSaveConfirmPopup().

| absl::Status yaze::editor::EditorManager::ImportProject | ( | const std::string & | project_path | ) |
Definition at line 4317 of file editor_manager.cc.
References current_project_, yaze::editor::ProjectManager::GetCurrentProject(), yaze::editor::ProjectManager::ImportProject(), project_manager_, RefreshHackWorkflowBackend(), RETURN_IF_ERROR, and SyncLayoutScopeFromCurrentProject().

| absl::Status yaze::editor::EditorManager::RepairCurrentProject | ( | ) |
Definition at line 4327 of file editor_manager.cc.
References current_project_, yaze::editor::kSuccess, yaze::project::YazeProject::project_opened(), yaze::project::YazeProject::RepairProject(), RETURN_IF_ERROR, yaze::editor::ToastManager::Show(), and toast_manager_.

| absl::Status yaze::editor::EditorManager::LoadProjectWithRom | ( | ) |
Definition at line 3638 of file editor_manager.cc.
References active_project_build_, active_project_build_reported_, yaze::editor::UserSettings::Preferences::autosave_enabled, yaze::project::WorkspaceSettings::autosave_enabled, yaze::editor::UserSettings::Preferences::autosave_interval, yaze::project::WorkspaceSettings::autosave_interval_secs, yaze::editor::UserSettings::Preferences::backup_before_save, yaze::project::WorkspaceSettings::backup_keep_daily, yaze::project::WorkspaceSettings::backup_keep_daily_days, yaze::project::WorkspaceSettings::backup_on_save, yaze::project::WorkspaceSettings::backup_retention_count, yaze::editor::RomLifecycleManager::CheckRomOpenPolicy(), yaze::zelda3::CustomObjectManager::ClearObjectFileMap(), yaze::editor::StatusBar::ClearProjectWorkflowStatus(), yaze::editor::ContentRegistry::Context::ClearWorkflowHistory(), yaze::project::YazeProject::code_folder, ConfigureEditorDependencies(), current_project_, yaze::project::YazeProject::custom_object_files, yaze::project::YazeProject::custom_objects_folder, yaze::editor::RomSession::feature_flags, yaze::project::YazeProject::feature_flags, yaze::project::YazeProject::filepath, yaze::editor::UserSettings::Preferences::font_global_scale, yaze::project::WorkspaceSettings::font_global_scale, yaze::test::TestManager::Get(), yaze::core::FeatureFlags::get(), yaze::core::RomSettings::Get(), yaze::zelda3::CustomObjectManager::Get(), yaze::zelda3::DrawRoutineRegistry::Get(), yaze::project::YazeProject::GetAbsolutePath(), GetCurrentEditorSet(), GetCurrentRom(), GetCurrentSessionId(), yaze::project::YazeProject::GetDisplayName(), yaze::project::RecentFilesManager::GetInstance(), yaze::zelda3::CustomObjectManager::Initialize(), yaze::Rom::is_loaded(), IsRomHashMismatch(), yaze::editor::WorkspaceWindowManager::kDashboardCategory, yaze::core::FeatureFlags::Flags::kEnableCustomObjects, yaze::editor::kError, yaze::editor::kInfo, yaze::editor::kSuccess, yaze::editor::kWarning, LoadAssetsForMode(), LoadProjectWithRom(), yaze::editor::RomFileManager::LoadRom(), LOG_DEBUG, LOG_INFO, LOG_WARN, yaze::util::MakeRomFileDialogOptions(), yaze::editor::UserSettings::prefs(), project_management_panel_, yaze::zelda3::DrawRoutineRegistry::RefreshFeatureFlagMappings(), RefreshHackWorkflowBackend(), RefreshResourceLabelProvider(), RETURN_IF_ERROR, yaze::project::YazeProject::rom_address_overrides, yaze::project::YazeProject::rom_backup_folder, rom_file_manager_, yaze::project::YazeProject::rom_filename, rom_lifecycle_, yaze::project::YazeProject::Save(), session_coordinator_, yaze::editor::WorkspaceWindowManager::SetActiveCategory(), yaze::core::RomSettings::SetAddressOverrides(), yaze::editor::RomFileManager::SetBackupBeforeSave(), yaze::editor::RomFileManager::SetBackupFolder(), yaze::editor::RomFileManager::SetBackupKeepDaily(), yaze::editor::RomFileManager::SetBackupKeepDailyDays(), yaze::editor::RomFileManager::SetBackupRetentionCount(), yaze::editor::ContentRegistry::Context::SetBuildWorkflowLog(), yaze::editor::ContentRegistry::Context::SetBuildWorkflowStatus(), yaze::editor::ContentRegistry::Context::SetCurrentProject(), yaze::test::TestManager::SetCurrentRom(), yaze::editor::WorkspaceWindowManager::SetFileBrowserPath(), yaze::zelda3::CustomObjectManager::SetObjectFileMap(), yaze::editor::ContentRegistry::Context::SetRunWorkflowStatus(), yaze::editor::ToastManager::Show(), yaze::util::FileDialogWrapper::ShowOpenFileDialog(), yaze::util::FileDialogWrapper::ShowOpenFileDialogAsync(), status_bar_, toast_manager_, ui_coordinator_, UpdateCurrentRomHash(), user_settings_, version_manager_, window_manager_, and yaze::project::YazeProject::workspace_settings.
Referenced by InitializeSubsystems(), LoadProjectWithRom(), OpenProject(), and OpenRomOrProject().
|
inline |
Definition at line 421 of file editor_manager.h.
References current_project_.
Referenced by yaze::editor::PopupManager::DrawRomBackupManagerPopup(), yaze::editor::PopupManager::DrawRomInfoPopup(), yaze::editor::PopupManager::DrawRomWriteConfirmPopup(), yaze::editor::UICoordinator::RefreshWorkflowActions(), and yaze::editor::UICoordinator::UICoordinator().
|
inline |
Definition at line 422 of file editor_manager.h.
References current_project_.
|
inline |
Definition at line 425 of file editor_manager.h.
References version_manager_.
| void yaze::editor::EditorManager::ShowProjectManagement | ( | ) |
Injects dependencies into all editors within an EditorSet.
This function is called whenever a new session is created or a ROM is loaded into an existing session. It configures the EditorDependencies struct with pointers to all the managers and services that editors need, then applies them to the editor set.
| editor_set | The set of editors to configure |
| rom | The ROM instance for this session |
| session_id | The unique ID for this session |
Dependencies injected:
Definition at line 4571 of file editor_manager.cc.
References current_project_, GetCurrentRom(), yaze::editor::RightDrawerManager::kProject, project_management_panel_, right_drawer_manager_, and version_manager_.
Referenced by SetupWelcomeScreenCallbacks(), and yaze::editor::UICoordinator::UICoordinator().

| void yaze::editor::EditorManager::ShowProjectFileEditor | ( | ) |
Definition at line 4584 of file editor_manager.cc.
References current_project_, yaze::project::YazeProject::filepath, yaze::editor::kError, yaze::editor::ProjectFileEditor::LoadFile(), project_file_editor_, yaze::editor::ProjectFileEditor::set_active(), yaze::editor::ProjectFileEditor::SetProject(), yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by SetupWelcomeScreenCallbacks(), and yaze::editor::UICoordinator::UICoordinator().

|
privatedelete |
|
private |
Definition at line 3013 of file editor_manager.cc.
References CollectEditorsToPreload(), emulator_, yaze::gfx::PerformanceProfiler::Get(), yaze::gfx::Arena::Get(), GetCurrentEditorSet(), GetCurrentRom(), yaze::editor::kAssembly, yaze::editor::kDungeon, yaze::editor::kGraphics, yaze::editor::kMessage, yaze::editor::kMusic, yaze::editor::kOverworld, yaze::editor::kPalette, yaze::editor::kScreen, yaze::editor::kSprite, yaze::zelda3::LoadGameData(), LOG_DEBUG, MarkEditorInitialized(), MarkEditorLoaded(), yaze::gfx::Arena::mutable_gfx_sheets(), yaze::editor::UserSettings::prefs(), yaze::gfx::PerformanceProfiler::PrintSummary(), renderer_, ResetAssetState(), RETURN_IF_ERROR, right_drawer_manager_, session_coordinator_, yaze::emu::Emulator::set_renderer(), yaze::editor::StatusBar::SetEnabled(), yaze::editor::UserSettings::Preferences::show_status_bar, status_bar_, and user_settings_.
Referenced by LoadAssetsForMode().
|
private |
Definition at line 2084 of file editor_manager.cc.
References asset_load_mode_, yaze::kAuto, yaze::kFull, yaze::kLazy, LoadAssets(), and LoadAssetsLazy().
Referenced by LoadProjectWithRom(), LoadRom(), OpenRomOrProject(), and RestoreRomBackup().

|
private |
Definition at line 3175 of file editor_manager.cc.
References emulator_, GetCurrentEditorSet(), GetCurrentRom(), LOG_INFO, yaze::editor::UserSettings::prefs(), renderer_, ResetAssetState(), right_drawer_manager_, session_coordinator_, yaze::emu::Emulator::set_renderer(), yaze::editor::StatusBar::SetEnabled(), yaze::editor::UserSettings::Preferences::show_status_bar, status_bar_, and user_settings_.
Referenced by LoadAssetsForMode().
|
private |
Definition at line 2282 of file editor_manager.cc.
References GetEditorByType().
Referenced by EnsureEditorAssetsLoaded().

|
private |
Definition at line 2095 of file editor_manager.cc.
References yaze::editor::RomSession::editor_assets_loaded, yaze::editor::RomSession::editor_initialized, and yaze::editor::RomSession::game_data_loaded.
Referenced by HandleSessionRomLoaded(), LoadAssets(), LoadAssetsLazy(), and RestoreRomBackup().
|
private |
Definition at line 2104 of file editor_manager.cc.
References yaze::editor::RomSession::editor_initialized, and yaze::editor::EditorTypeIndex().
Referenced by EnsureEditorAssetsLoaded(), and LoadAssets().

|
private |
Definition at line 2115 of file editor_manager.cc.
References yaze::editor::RomSession::editor_assets_loaded, and yaze::editor::EditorTypeIndex().
Referenced by EnsureEditorAssetsLoaded(), and LoadAssets().

|
private |
Definition at line 2239 of file editor_manager.cc.
References yaze::editor::EditorSet::GetEditor().
Referenced by EnsureEditorAssetsLoaded(), InitializeEditorForType(), and ResolveEditorForCategory().

|
private |
Definition at line 2244 of file editor_manager.cc.
References agent_ui_, yaze::editor::AgentUiController::GetAgentEditor(), GetCurrentEditorSet(), GetEditorByType(), yaze::editor::EditorRegistry::GetEditorTypeFromCategory(), yaze::editor::kAgent, yaze::editor::WorkspaceWindowManager::kDashboardCategory, yaze::editor::kEmulator, yaze::editor::kSettings, and yaze::editor::kUnknown.
Referenced by SetupSidebarCallbacks(), and SyncEditorContextForCategory().

|
private |
Definition at line 2272 of file editor_manager.cc.
References yaze::editor::WorkspaceWindowManager::kDashboardCategory, LOG_DEBUG, ResolveEditorForCategory(), and SetCurrentEditor().
Referenced by DrawInterface(), Initialize(), and SetupSidebarCallbacks().

|
private |
Definition at line 2125 of file editor_manager.cc.
References yaze::editor::kDungeon, yaze::editor::kGraphics, yaze::editor::kMessage, yaze::editor::kOverworld, yaze::editor::kPalette, yaze::editor::kScreen, and yaze::editor::kSprite.
Referenced by EnsureEditorAssetsLoaded().
|
private |
Definition at line 2140 of file editor_manager.cc.
References yaze::editor::kMessage.
Referenced by EnsureEditorAssetsLoaded().
|
private |
Definition at line 2144 of file editor_manager.cc.
References yaze::editor::EditorSet::active_editors_, current_editor_, dashboard_mode_override_, yaze::editor::WorkspaceWindowManager::GetActiveCategory(), yaze::editor::WorkspaceWindowManager::GetAllWindowDescriptors(), GetCurrentSessionId(), yaze::editor::EditorRegistry::GetEditorTypeFromCategory(), yaze::editor::WorkspaceWindowManager::GetVisibleWindowIds(), yaze::editor::WorkspaceWindowManager::GetWindowDescriptor(), yaze::editor::kAgent, yaze::editor::WorkspaceWindowManager::kDashboardCategory, yaze::editor::kEmulator, yaze::editor::kSettings, yaze::kShow, yaze::editor::kUnknown, startup_editor_hint_, startup_panel_hints_, yaze::editor::Editor::type(), and window_manager_.
Referenced by LoadAssets().
|
private |
Definition at line 1289 of file editor_manager.cc.
References yaze::test::TestManager::Get(), and yaze::test::RegisterZ3edTestSuites().
Referenced by Initialize().

|
private |
Definition at line 2031 of file editor_manager.cc.
References dashboard_mode_override_, dashboard_panel_, yaze::kAuto, yaze::kHide, yaze::kShow, yaze::editor::WorkspaceWindowManager::SetSidebarExpanded(), yaze::editor::WorkspaceWindowManager::SetSidebarVisible(), sidebar_mode_override_, ui_coordinator_, welcome_mode_override_, and window_manager_.
Referenced by ApplyStartupVisibility().

|
private |
Definition at line 1989 of file editor_manager.cc.
References yaze::editor::UserSettings::ApplyPanelLayoutDefaultsRevision(), yaze::TimingManager::Get(), yaze::TimingManager::GetElapsedTime(), yaze::editor::UserSettings::kLatestPanelLayoutDefaultsRevision, LOG_INFO, pending_layout_defaults_reset_, settings_dirty_, settings_dirty_timestamp_, and user_settings_.
Referenced by InitializeServices().

|
private |
Definition at line 2005 of file editor_manager.cc.
Referenced by DrawInterface(), and Initialize().
|
private |
Definition at line 1083 of file editor_manager.cc.
References yaze::editor::RomSession::editors, yaze::editor::RomSession::game_data, yaze::test::TestManager::Get(), yaze::editor::WorkspaceWindowManager::GetActiveCategory(), yaze::editor::EditorSet::GetSettingsPanel(), yaze::editor::WorkspaceWindowManager::kDashboardCategory, LOG_DEBUG, yaze::editor::UserSettings::Preferences::panel_visibility_state, yaze::editor::UserSettings::prefs(), RefreshResourceLabelProvider(), yaze::editor::WorkspaceWindowManager::RestoreVisibilityState(), right_drawer_manager_, yaze::editor::RomSession::rom, selection_properties_panel_, yaze::test::TestManager::SetCurrentRom(), yaze::editor::ContentRegistry::Context::SetGameData(), yaze::editor::ContentRegistry::Context::SetRom(), yaze::editor::SelectionPropertiesPanel::SetRom(), user_settings_, and window_manager_.
Referenced by SubscribeToEvents().
|
private |
Definition at line 1120 of file editor_manager.cc.
References LOG_INFO, yaze::editor::UserSettings::Preferences::pinned_panels, yaze::editor::UserSettings::prefs(), yaze::editor::WorkspaceWindowManager::RegisterRegistryWindowContentsForSession(), yaze::editor::WorkspaceWindowManager::RestorePinnedState(), user_settings_, and window_manager_.
Referenced by SubscribeToEvents().

|
private |
Definition at line 1126 of file editor_manager.cc.
References yaze::editor::ContentRegistry::Context::Clear(), yaze::test::TestManager::Get(), GetCurrentRom(), LOG_INFO, RefreshResourceLabelProvider(), session_coordinator_, and yaze::test::TestManager::SetCurrentRom().
Referenced by SubscribeToEvents().
|
private |
Definition at line 936 of file editor_manager.cc.
References deferred_actions_, event_bus_, yaze::TimingManager::Get(), yaze::TimingManager::GetElapsedTime(), HandleSessionClosed(), HandleSessionCreated(), HandleSessionRomLoaded(), HandleSessionSwitched(), HandleUIActionRequest(), yaze::editor::WorkspaceWindowManager::kDashboardCategory, layout_coordinator_, yaze::editor::UserSettings::Preferences::panel_visibility_state, pending_editor_deferred_actions_, yaze::editor::UserSettings::prefs(), yaze::editor::LayoutCoordinator::ProcessDeferredActions(), settings_dirty_, settings_dirty_timestamp_, yaze::EventBus::Subscribe(), ui_sync_frame_id_, and user_settings_.
Referenced by EditorManager().
|
private |
Definition at line 633 of file editor_manager.cc.
References activity_bar_, agent_ui_, ApplyLayoutPreset(), yaze::project::YazeProject::assets_folder, CancelQueuedProjectBuild(), yaze::project::YazeProject::code_folder, current_project_, editor_activator_, editor_registry_, yaze::editor::EditorActivator::Dependencies::ensure_editor_assets_loaded, EnsureEditorAssetsLoaded(), yaze::editor::EditorActivator::Dependencies::event_bus, event_bus_, yaze::editor::EditorActivator::Dependencies::get_current_editor_set, yaze::editor::EditorActivator::Dependencies::get_current_session_id, yaze::editor::AgentEditor::GetAgentChat(), yaze::editor::AgentUiController::GetAgentEditor(), GetCurrentEditorSet(), GetCurrentSessionId(), ICON_MD_FOLDER_OPEN, ICON_MD_KEYBOARD, ICON_MD_SETTINGS, ICON_MD_TERMINAL, yaze::editor::LayoutCoordinator::Initialize(), yaze::editor::EditorActivator::Initialize(), yaze::editor::RomLifecycleManager::Initialize(), yaze::editor::RightDrawerManager::kAgentChat, yaze::editor::kDungeon, yaze::editor::kError, yaze::editor::kSuccess, layout_coordinator_, yaze::editor::LayoutCoordinator::Dependencies::layout_manager, yaze::editor::EditorActivator::Dependencies::layout_manager, layout_manager_, LoadProjectWithRom(), yaze::util::MakeRomFileDialogOptions(), yaze::editor::WorkspaceWindowManager::MarkWindowRecentlyUsed(), menu_builder_, menu_orchestrator_, yaze::editor::WorkspaceWindowManager::OpenWindow(), popup_manager_, project_management_panel_, project_manager_, yaze::project::YazeProject::project_opened(), proposal_drawer_, yaze::editor::EditorActivator::Dependencies::queue_deferred_action, QueueBuildCurrentProject(), QueueDeferredAction(), RefreshHackWorkflowBackend(), yaze::editor::WorkspaceWindowManager::RegisterWindowContent(), yaze::editor::LayoutCoordinator::Dependencies::right_drawer_manager, yaze::editor::EditorActivator::Dependencies::right_drawer_manager, right_drawer_manager_, rom_file_manager_, yaze::project::YazeProject::rom_filename, rom_lifecycle_, RunCurrentProject(), yaze::project::YazeProject::Save(), SaveProject(), selection_properties_panel_, session_coordinator_, yaze::editor::AgentChat::set_active(), yaze::editor::WindowDelegate::set_apply_preset_callback(), yaze::editor::WorkspaceManager::set_apply_preset_callback(), yaze::editor::WorkspaceManager::set_layout_manager(), yaze::editor::SelectionPropertiesPanel::SetAgentCallbacks(), yaze::editor::StatusBar::SetAgentToggleCallback(), yaze::editor::ContentRegistry::Context::SetCancelBuildWorkflowCallback(), yaze::editor::ContentRegistry::Context::SetEventBus(), yaze::editor::WorkspaceWindowManager::SetEventBus(), yaze::editor::WorkspaceWindowManager::SetFileBrowserPath(), yaze::editor::ContentRegistry::Context::SetRunProjectWorkflowCallback(), yaze::editor::ContentRegistry::Context::SetShowWorkflowOutputCallback(), yaze::editor::ContentRegistry::Context::SetStartBuildWorkflowCallback(), shortcut_manager_, yaze::editor::ToastManager::Show(), yaze::editor::AgentUiController::ShowAgent(), yaze::util::FileDialogWrapper::ShowOpenFileDialog(), yaze::util::FileDialogWrapper::ShowOpenFolderDialog(), yaze::editor::LayoutCoordinator::Dependencies::status_bar, status_bar_, toast_manager(), yaze::editor::LayoutCoordinator::Dependencies::toast_manager, yaze::editor::EditorActivator::Dependencies::toast_manager, toast_manager_, yaze::editor::WorkspaceWindowManager::TriggerOpenRom(), yaze::editor::WorkspaceWindowManager::TriggerShowCommandPalette(), yaze::editor::WorkspaceWindowManager::TriggerShowSettings(), yaze::editor::WorkspaceWindowManager::TriggerShowShortcuts(), yaze::editor::LayoutCoordinator::Dependencies::ui_coordinator, yaze::editor::EditorActivator::Dependencies::ui_coordinator, ui_coordinator_, user_settings_, window_delegate_, window_host_, yaze::editor::LayoutCoordinator::Dependencies::window_manager, yaze::editor::EditorActivator::Dependencies::window_manager, window_manager_, and workspace_manager_.
Referenced by EditorManager().
|
private |
Definition at line 902 of file editor_manager.cc.
References yaze::editor::WindowDefinition::category, yaze::editor::ContentRegistry::Panels::CreateAll(), dashboard_panel_, yaze::editor::WindowDefinition::display_name, yaze::editor::WindowDefinition::icon, ICON_MD_DASHBOARD, yaze::editor::WindowDefinition::id, yaze::editor::WindowDefinition::priority, yaze::editor::WorkspaceWindowManager::RegisterRegistryWindowContent(), yaze::editor::WorkspaceWindowManager::RegisterWindow(), yaze::editor::WindowDefinition::shortcut_hint, yaze::editor::WindowDefinition::visibility_flag, window_host_, window_manager_, and yaze::editor::WindowDefinition::window_title.
Referenced by EditorManager().

|
private |
Definition at line 1394 of file editor_manager.cc.
References yaze::editor::WindowDescriptor::card_id, yaze::editor::WindowDescriptor::category, yaze::editor::WindowDescriptor::context_scope, yaze::editor::WindowDescriptor::display_name, yaze::editor::WindowDescriptor::icon, ICON_MD_AUDIO_FILE, ICON_MD_AUDIOTRACK, ICON_MD_BUG_REPORT, ICON_MD_KEYBOARD, ICON_MD_MEMORY, ICON_MD_SAVE, ICON_MD_SMART_TOY, ICON_MD_SPEED, ICON_MD_SPORTS_ESPORTS, ICON_MD_STOP, ICON_MD_VIDEOGAME_ASSET, yaze::editor::WindowDescriptor::on_hide, yaze::editor::WindowDescriptor::on_show, yaze::editor::WorkspaceWindowManager::OpenWindow(), yaze::editor::WindowDescriptor::priority, yaze::editor::WorkspaceWindowManager::RegisterPanelAlias(), yaze::editor::WorkspaceWindowManager::RegisterWindow(), yaze::editor::WindowDescriptor::scope, yaze::editor::WindowDescriptor::shortcut_hint, yaze::editor::WindowDescriptor::visibility_flag, window_host_, yaze::editor::WindowDescriptor::window_lifecycle, window_manager_, and yaze::editor::WindowDescriptor::window_title.
Referenced by Initialize().

|
private |
Definition at line 1493 of file editor_manager.cc.
References agent_ui_, ApplyLayoutDefaultsMigrationIfNeeded(), yaze::gui::ThemeManager::ApplyTheme(), yaze::editor::AgentUiController::ApplyUserSettingsDefaults(), yaze::gui::Animator::ClampMotionProfile(), yaze::editor::UserSettings::Preferences::font_global_scale, yaze::gui::ThemeManager::Get(), yaze::TimingManager::Get(), yaze::gui::GetAnimator(), yaze::TimingManager::GetElapsedTime(), yaze::app::platform::WasmControlApi::Initialize(), yaze::app::platform::WasmSessionBridge::Initialize(), yaze::editor::AgentUiController::Initialize(), yaze::editor::UserSettings::Preferences::last_theme_name, yaze::editor::UserSettings::Load(), LOG_INFO, LOG_WARN, pending_layout_defaults_reset_, yaze::editor::UserSettings::Preferences::pinned_panels, yaze::editor::UserSettings::Preferences::prefer_hmagic_sprite_names, yaze::editor::UserSettings::prefs(), project_file_editor_, proposal_drawer_, yaze::editor::WorkspaceWindowManager::RestorePinnedState(), right_drawer_manager_, yaze::editor::UserSettings::Preferences::right_panel_widths, yaze::gui::Animator::SetMotionPreferences(), yaze::gui::ThemeManager::SetOnThemeChangedCallback(), yaze::zelda3::SetPreferHmagicSpriteNames(), settings_dirty_, settings_dirty_timestamp_, yaze::editor::ProjectFileEditor::SetToastManager(), status_, yaze::editor::UserSettings::Preferences::switch_motion_profile, toast_manager_, user_settings_, and window_manager_.
Referenced by Initialize().
|
private |
Definition at line 1583 of file editor_manager.cc.
References SetupDialogCallbacks(), SetupSidebarCallbacks(), and SetupWelcomeScreenCallbacks().
Referenced by Initialize().

|
private |
Definition at line 1589 of file editor_manager.cc.
References yaze::editor::RomLoadOptionsDialog::LoadOptions::create_project, yaze::editor::RomLoadOptionsDialog::LoadOptions::enable_custom_overworld, yaze::editor::ProjectManager::FinalizeProjectCreation(), yaze::core::FeatureFlags::get(), GetCurrentRom(), yaze::editor::kError, yaze::editor::kSuccess, LOG_INFO, project_manager_, yaze::editor::RomLoadOptionsDialog::LoadOptions::project_name, yaze::editor::RomLoadOptionsDialog::LoadOptions::project_path, rom_load_options_dialog_, yaze::editor::RomLoadOptionsDialog::LoadOptions::save_all_palettes, yaze::editor::RomLoadOptionsDialog::LoadOptions::save_dungeon_maps, yaze::editor::RomLoadOptionsDialog::LoadOptions::save_gfx_groups, yaze::editor::RomLoadOptionsDialog::LoadOptions::save_overworld_entrances, yaze::editor::RomLoadOptionsDialog::LoadOptions::save_overworld_exits, yaze::editor::RomLoadOptionsDialog::LoadOptions::save_overworld_items, yaze::editor::RomLoadOptionsDialog::LoadOptions::save_overworld_maps, yaze::editor::RomLoadOptionsDialog::LoadOptions::selected_preset, yaze::editor::RomLoadOptionsDialog::SetConfirmCallback(), yaze::editor::ProjectManager::SetProjectRom(), yaze::editor::ToastManager::Show(), show_rom_load_options_, toast_manager_, and ui_coordinator_.
Referenced by SetupComponentCallbacks().
|
private |
Definition at line 1629 of file editor_manager.cc.
References CreateNewProject(), current_project_, yaze::project::YazeProject::filepath, yaze::editor::kAssembly, yaze::editor::kError, yaze::editor::kGraphics, yaze::editor::kInfo, LoadRom(), OpenProject(), OpenRomOrProject(), yaze::editor::WorkspaceWindowManager::OpenWindow(), yaze::editor::UserSettings::prefs(), yaze::editor::WelcomeScreen::SetNewProjectCallback(), yaze::editor::WelcomeScreen::SetNewProjectWithTemplateCallback(), yaze::editor::WelcomeScreen::SetOpenAgentCallback(), yaze::editor::WelcomeScreen::SetOpenAssemblyEditorNoRomCallback(), yaze::editor::WelcomeScreen::SetOpenProjectCallback(), yaze::editor::WelcomeScreen::SetOpenProjectDialogCallback(), yaze::editor::WelcomeScreen::SetOpenProjectFileEditorCallback(), yaze::editor::WelcomeScreen::SetOpenProjectManagementCallback(), yaze::editor::WelcomeScreen::SetOpenPrototypeResearchCallback(), yaze::editor::WelcomeScreen::SetOpenRomCallback(), yaze::editor::ToastManager::Show(), yaze::editor::UserSettings::Preferences::show_welcome_on_startup, ShowProjectFileEditor(), ShowProjectManagement(), status_, SwitchToEditor(), toast_manager_, ui_coordinator_, user_settings_, welcome_screen_, and window_manager_.
Referenced by SetupComponentCallbacks().
|
private |
Definition at line 1712 of file editor_manager.cc.
References yaze::editor::WorkspaceWindowManager::EnableFileBrowser(), yaze::TimingManager::Get(), yaze::editor::WorkspaceWindowManager::GetActiveSessionId(), GetCurrentEditorSet(), yaze::editor::LayoutPresets::GetDefaultWindows(), yaze::editor::EditorRegistry::GetEditorTypeFromCategory(), yaze::TimingManager::GetElapsedTime(), yaze::editor::WorkspaceWindowManager::GetWindowsInCategory(), yaze::editor::kAssembly, yaze::editor::WorkspaceWindowManager::kDashboardCategory, yaze::editor::kEditor, yaze::editor::kSettings, yaze::editor::kUnknown, yaze::editor::WorkspaceWindowManager::OpenWindow(), yaze::editor::UserSettings::Preferences::panel_browser_category_width, yaze::editor::UserSettings::Preferences::panel_visibility_state, yaze::editor::UserSettings::prefs(), ResolveEditorForCategory(), yaze::editor::WorkspaceWindowManager::RestoreVisibilityState(), yaze::editor::WorkspaceWindowManager::SetCategoryChangedCallback(), yaze::editor::WorkspaceWindowManager::SetEditorResolver(), yaze::editor::ContentRegistry::Context::SetEditorWindowContext(), yaze::editor::WorkspaceWindowManager::SetFileClickedCallback(), yaze::editor::WorkspaceWindowManager::SetOnWindowCategorySelectedCallback(), yaze::editor::WorkspaceWindowManager::SetOnWindowClickedCallback(), yaze::editor::WorkspaceWindowManager::SetPanelBrowserCategoryWidthChangedCallback(), yaze::editor::WorkspaceWindowManager::SetSidebarStateChangedCallback(), yaze::editor::WorkspaceWindowManager::SetSidePanelWidthChangedCallback(), settings_dirty_, settings_dirty_timestamp_, yaze::editor::UserSettings::Preferences::sidebar_active_category, yaze::editor::UserSettings::Preferences::sidebar_panel_width, SwitchToEditor(), SyncEditorContextForCategory(), ui_coordinator_, user_settings_, and window_manager_.
Referenced by SetupComponentCallbacks().
|
private |
Definition at line 1824 of file editor_manager.cc.
References yaze::editor::ConfigureEditorShortcuts(), yaze::editor::ConfigureMenuShortcuts(), yaze::editor::ConfigurePanelShortcuts(), yaze::editor::ShortcutDependencies::editor_manager, yaze::editor::ShortcutDependencies::editor_registry, editor_registry_, yaze::editor::ShortcutDependencies::menu_orchestrator, menu_orchestrator_, yaze::editor::ShortcutDependencies::popup_manager, popup_manager_, yaze::editor::ShortcutDependencies::project_manager, project_manager_, yaze::editor::ShortcutDependencies::rom_file_manager, rom_file_manager_, yaze::editor::ShortcutDependencies::session_coordinator, session_coordinator_, shortcut_manager_, yaze::editor::ShortcutDependencies::toast_manager, toast_manager_, yaze::editor::ShortcutDependencies::ui_coordinator, ui_coordinator_, yaze::editor::ShortcutDependencies::user_settings, user_settings_, yaze::editor::ShortcutDependencies::window_manager, window_manager_, yaze::editor::ShortcutDependencies::workspace_manager, and workspace_manager_.
Referenced by Initialize().

|
private |
Definition at line 2418 of file editor_manager.cc.
References yaze::editor::ExecuteShortcuts(), yaze::TimingManager::Get(), shortcut_manager_, and yaze::TimingManager::Update().
Referenced by Update().

|
private |
Definition at line 2426 of file editor_manager.cc.
References agent_ui_, yaze::editor::UserSettings::Preferences::autosave_enabled, yaze::editor::UserSettings::Preferences::autosave_interval, autosave_timer_, yaze::Rom::SaveSettings::backup, current_editor_, current_project_, yaze::TimingManager::Get(), yaze::test::TestManager::Get(), GetCurrentEditorSet(), GetCurrentRom(), yaze::TimingManager::GetElapsedTime(), yaze::editor::kError, yaze::editor::kSuccess, yaze::editor::kUnknown, layout_coordinator_, LOG_DEBUG, LOG_WARN, PollProjectWorkflowTasks(), yaze::editor::UserSettings::prefs(), yaze::editor::LayoutCoordinator::ProcessLayoutRebuild(), yaze::editor::UserSettings::Save(), yaze::Rom::SaveSettings::save_new, session_coordinator_, yaze::editor::AgentUiController::SetAsarWrapperContext(), yaze::editor::AgentUiController::SetAssemblySymbolTableContext(), yaze::test::TestManager::SetCurrentRom(), yaze::editor::AgentUiController::SetProjectContext(), yaze::editor::AgentUiController::SetRomContext(), settings_dirty_, settings_dirty_timestamp_, yaze::editor::ToastManager::Show(), status_, toast_manager_, yaze::editor::Editor::type(), ui_coordinator_, yaze::editor::AgentUiController::Update(), and user_settings_.
Referenced by Update().
|
private |
Definition at line 2507 of file editor_manager.cc.
References active_project_build_, active_project_build_reported_, yaze::editor::kError, yaze::editor::kFailure, yaze::editor::kInfo, yaze::editor::kRunning, yaze::editor::kSuccess, MakeBuildStatus(), project_management_panel_, yaze::editor::ContentRegistry::Context::SetBuildWorkflowLog(), yaze::editor::ToastManager::Show(), status_bar_, and toast_manager_.
Referenced by UpdateEditorState().

|
private |
Definition at line 2570 of file editor_manager.cc.
References activity_bar_, yaze::editor::AgentUIContext::agent_config(), agent_ui_, yaze::editor::StatusBar::ClearAgentInfo(), yaze::editor::StatusBar::ClearEditorContributions(), yaze::editor::StatusBar::ClearProjectWorkflowStatus(), yaze::editor::Editor::ContributeStatus(), current_editor_, current_project_, dashboard_mode_override_, dashboard_panel_, yaze::Rom::dirty(), yaze::editor::StatusBar::Draw(), yaze::editor::RomLoadOptionsDialog::Draw(), DrawSecondaryWindows(), yaze::editor::WorkspaceWindowManager::DrawVisibleWindows(), yaze::gfx::PerformanceDashboard::Get(), yaze::editor::WorkspaceWindowManager::GetActiveCategory(), yaze::editor::WorkspaceWindowManager::GetActiveSessionId(), yaze::editor::AgentUiController::GetAgentEditor(), yaze::editor::EditorRegistry::GetAllEditorCategories(), yaze::editor::AgentUiController::GetContext(), GetCurrentEditorSet(), GetCurrentRom(), GetCurrentSessionId(), yaze::editor::EditorRegistry::GetEditorCategory(), GetPreferredStartupCategory(), yaze::Rom::is_loaded(), IsPanelBasedEditor(), yaze::kShow, yaze::editor::UserSettings::Preferences::panel_visibility_state, yaze::editor::UserSettings::prefs(), yaze::project::YazeProject::project_opened(), yaze::gfx::PerformanceDashboard::Render(), yaze::editor::WorkspaceWindowManager::RestoreVisibilityState(), right_drawer_manager_, rom_load_options_dialog_, RunEmulator(), session_coordinator_, yaze::editor::WorkspaceWindowManager::SetActiveCategory(), yaze::editor::StatusBar::SetAgentInfo(), yaze::editor::StatusBar::SetRom(), yaze::editor::StatusBar::SetSessionInfo(), show_rom_load_options_, startup_editor_hint_, startup_panel_hints_, status_bar_, SyncEditorContextForCategory(), ui_coordinator_, UpdateSystemUIs(), user_settings_, and window_manager_.
Referenced by Update().
|
private |
Definition at line 2791 of file editor_manager.cc.
References yaze::editor::ProjectFileEditor::Draw(), yaze::test::TestManager::DrawTestDashboard(), yaze::gfx::PerformanceDashboard::Get(), yaze::test::TestManager::Get(), GetCurrentEditorSet(), yaze::editor::WorkspaceWindowManager::GetWindowVisibilityFlag(), yaze::editor::kAssembly, yaze::editor::kHex, project_file_editor_, yaze::gfx::PerformanceDashboard::Render(), yaze::gfx::PerformanceDashboard::SetVisible(), ui_coordinator_, yaze::gfx::PerformanceDashboard::Update(), yaze::test::TestManager::UpdateResourceStats(), and window_manager_.
Referenced by DrawInterface().
|
private |
Definition at line 2855 of file editor_manager.cc.
References agent_ui_, current_project_, yaze::project::ResourceLabelManager::DisplayLabels(), yaze::editor::AgentUiController::DrawPopups(), yaze::project::ResourceLabelManager::filename_, GetCurrentRom(), yaze::project::YazeProject::labels_filename, yaze::project::YazeProject::project_opened(), proposal_drawer_, yaze::Rom::resource_label(), yaze::editor::ProposalDrawer::SetRom(), and ui_coordinator_.
Referenced by DrawInterface().
|
private |
Definition at line 2882 of file editor_manager.cc.
References emulator_, GetCurrentRom(), yaze::emu::Emulator::is_audio_focus_mode(), yaze::emu::Emulator::is_snes_initialized(), yaze::emu::Emulator::Run(), yaze::emu::Emulator::RunAudioFrame(), yaze::emu::Emulator::RunFrameOnly(), yaze::emu::Emulator::running(), and ui_coordinator_.
Referenced by DrawInterface().
|
private |
Definition at line 2903 of file editor_manager.cc.
References yaze::editor::workflow::CreateHackWorkflowBackendForProject(), current_project_, hack_workflow_backend_, and yaze::editor::ContentRegistry::Context::SetHackWorkflowBackend().
Referenced by ImportProject(), InitializeSubsystems(), LoadProjectWithRom(), and OpenRomOrProject().

|
private |
Definition at line 1145 of file editor_manager.cc.
References yaze::test::TestManager::Get(), LOG_INFO, RefreshResourceLabelProvider(), ResetAssetState(), session_coordinator_, yaze::test::TestManager::SetCurrentRom(), yaze::editor::ContentRegistry::Context::SetGameData(), and yaze::editor::ContentRegistry::Context::SetRom().
Referenced by SubscribeToEvents().
|
private |
Definition at line 1018 of file editor_manager.cc.
References yaze::core::ProjectRegistry::all_resource_labels, current_project_, GetCurrentRom(), yaze::zelda3::GetResourceLabels(), yaze::project::YazeProject::hack_manifest, yaze::core::HackManifest::HasProjectRegistry(), yaze::project::ResourceLabelManager::labels_, yaze::core::HackManifest::loaded(), LOG_DEBUG, yaze::project::WorkspaceSettings::prefer_hmagic_names, yaze::editor::UserSettings::Preferences::prefer_hmagic_sprite_names, yaze::editor::UserSettings::prefs(), yaze::project::YazeProject::project_opened(), yaze::core::HackManifest::project_registry(), yaze::Rom::resource_label(), yaze::project::YazeProject::resource_labels, user_settings_, and yaze::project::YazeProject::workspace_settings.
Referenced by HandleSessionClosed(), HandleSessionRomLoaded(), HandleSessionSwitched(), LoadProjectWithRom(), LoadRom(), OpenRomOrProject(), and SetCurrentRom().
|
private |
Definition at line 1170 of file editor_manager.cc.
References GetCurrentEditor(), GetCurrentRom(), yaze::editor::PopupID::kAbout, yaze::editor::kAgent, yaze::editor::RightDrawerManager::kAgentChat, yaze::editor::kError, yaze::editor::RightDrawerManager::kHelp, yaze::editor::RightDrawerManager::kProposals, yaze::editor::kSettings, yaze::editor::RightDrawerManager::kSettings, yaze::editor::kSuccess, LoadRom(), popup_manager_, yaze::editor::Editor::Redo(), ResetWorkspaceLayout(), right_drawer_manager_, SaveRom(), yaze::editor::ToastManager::Show(), SwitchToEditor(), toast_manager_, ui_coordinator_, and yaze::editor::Editor::Undo().
Referenced by SubscribeToEvents().
|
private |
|
private |
|
private |
Definition at line 4377 of file editor_manager.cc.
References GetCurrentRom(), rom_lifecycle_, and yaze::editor::RomLifecycleManager::UpdateCurrentRomHash().
Referenced by LoadProjectWithRom(), LoadRom(), OpenRomOrProject(), RestoreRomBackup(), and SetCurrentRom().

|
private |
Definition at line 4372 of file editor_manager.cc.
References yaze::editor::RomLifecycleManager::ApplyDefaultBackupPolicy(), yaze::editor::UserSettings::Preferences::backup_before_save, yaze::editor::UserSettings::prefs(), rom_lifecycle_, and user_settings_.
Referenced by LoadRom().

|
private |
Definition at line 4073 of file editor_manager.cc.
References yaze::editor::ProjectWorkflowStatus::visible.
Referenced by BuildCurrentProject(), CancelQueuedProjectBuild(), PollProjectWorkflowTasks(), and QueueBuildCurrentProject().
|
private |
Definition at line 4086 of file editor_manager.cc.
References yaze::editor::ProjectWorkflowStatus::visible.
Referenced by RunCurrentProject().
|
private |
Definition at line 4096 of file editor_manager.cc.
References current_project_, yaze::project::YazeProject::filepath, yaze::editor::BackgroundCommandTask::GetSnapshot(), ResolveProjectBuildCommand(), yaze::editor::BackgroundCommandTask::Start(), and yaze::editor::BackgroundCommandTask::Wait().
Referenced by BuildCurrentProject().

|
private |
Definition at line 4040 of file editor_manager.cc.
References yaze::core::HackManifest::build_pipeline(), yaze::core::BuildPipeline::build_script, yaze::project::YazeProject::build_script, current_project_, yaze::project::YazeProject::hack_manifest, yaze::core::HackManifest::loaded(), and yaze::project::YazeProject::project_opened().
Referenced by QueueBuildCurrentProject(), and RunProjectBuildCommand().

|
private |
Definition at line 4055 of file editor_manager.cc.
References yaze::core::HackManifest::build_pipeline(), yaze::project::YazeProject::build_target, current_project_, yaze::project::YazeProject::GetAbsolutePath(), yaze::project::YazeProject::hack_manifest, yaze::core::HackManifest::loaded(), yaze::core::BuildPipeline::patched_rom, and yaze::project::YazeProject::project_opened().
Referenced by RunCurrentProject().

|
private |
Save the current ROM file.
DELEGATION:
RESPONSIBILITIES STILL IN EDITORMANAGER:
This stays in EditorManager because it requires knowledge of all editors and the order in which they must be saved to maintain ROM integrity.
Definition at line 3251 of file editor_manager.cc.
References yaze::editor::RomLifecycleManager::CheckRomWritePolicy(), GetCurrentRom(), and rom_lifecycle_.
Referenced by SaveRom().

|
private |
Definition at line 3255 of file editor_manager.cc.
References yaze::editor::RomLifecycleManager::CheckOracleRomSafetyPreSave(), and rom_lifecycle_.
Referenced by SaveRom().

|
private |
Definition at line 4601 of file editor_manager.cc.
References yaze::editor::EditorSet::ApplyDependencies(), current_project_, yaze::editor::EditorDependencies::custom_data, editor_context_, yaze::editor::EditorDependencies::emulator, emulator_, GetCurrentSessionId(), yaze::editor::EditorDependencies::gfx_group_workspace, yaze::editor::EditorSet::gfx_group_workspace(), yaze::editor::EditorDependencies::global_context, yaze::editor::EditorDependencies::popup_manager, popup_manager_, yaze::editor::EditorDependencies::project, yaze::editor::EditorDependencies::renderer, renderer_, yaze::editor::EditorDependencies::rom, selection_properties_panel_, yaze::editor::EditorDependencies::session_id, yaze::editor::SelectionPropertiesPanel::SetRom(), yaze::editor::EditorDependencies::shared_clipboard, shared_clipboard_, yaze::editor::EditorDependencies::shortcut_manager, shortcut_manager_, yaze::editor::EditorDependencies::status_bar, status_bar_, yaze::editor::EditorDependencies::toast_manager, toast_manager_, yaze::editor::EditorDependencies::user_settings, user_settings_, yaze::editor::EditorDependencies::version_manager, version_manager_, yaze::editor::EditorDependencies::window_manager, and window_manager_.
Referenced by ConfigureSession(), LoadProjectWithRom(), LoadRom(), and OpenRomOrProject().

|
private |
Definition at line 572 of file editor_manager.cc.
References current_project_, layout_manager_, yaze::project::YazeProject::MakeStorageKey(), and yaze::project::YazeProject::project_opened().
Referenced by CreateNewProject(), ImportProject(), OpenProject(), OpenRomOrProject(), and SaveProjectAs().

|
private |
Definition at line 493 of file editor_manager.h.
|
private |
Definition at line 499 of file editor_manager.h.
|
private |
Definition at line 500 of file editor_manager.h.
|
private |
Definition at line 501 of file editor_manager.h.
|
private |
Definition at line 507 of file editor_manager.h.
Referenced by InitializeServices(), InitializeSubsystems(), and UpdateSystemUIs().
|
private |
Definition at line 508 of file editor_manager.h.
|
private |
Definition at line 511 of file editor_manager.h.
Referenced by DrawInterface(), InitializeServices(), InitializeSubsystems(), ResolveEditorForCategory(), UpdateEditorState(), and UpdateSystemUIs().
|
private |
Definition at line 514 of file editor_manager.h.
Referenced by DrawSecondaryWindows(), InitializeServices(), and ShowProjectFileEditor().
|
private |
Definition at line 518 of file editor_manager.h.
Referenced by ApplyStartupVisibilityOverrides(), DrawInterface(), OpenEditorAndPanelsFromFlags(), and RegisterEditors().
|
private |
Definition at line 519 of file editor_manager.h.
Referenced by SetupWelcomeScreenCallbacks().
|
private |
Definition at line 520 of file editor_manager.h.
Referenced by DrawInterface(), LoadRom(), and SetupDialogCallbacks().
|
private |
Definition at line 521 of file editor_manager.h.
Referenced by DrawInterface(), LoadRom(), and SetupDialogCallbacks().
|
private |
Definition at line 522 of file editor_manager.h.
Referenced by ApplyStartupVisibility(), ApplyStartupVisibilityOverrides(), and SetStartupLoadHints().
|
private |
Definition at line 523 of file editor_manager.h.
Referenced by ApplyStartupVisibility(), ApplyStartupVisibilityOverrides(), CollectEditorsToPreload(), DrawInterface(), Initialize(), and SetStartupLoadHints().
|
private |
Definition at line 524 of file editor_manager.h.
Referenced by ApplyStartupVisibility(), ApplyStartupVisibilityOverrides(), and SetStartupLoadHints().
|
private |
Definition at line 525 of file editor_manager.h.
Referenced by asset_load_mode(), LoadAssetsForMode(), and SetAssetLoadMode().
|
private |
Definition at line 526 of file editor_manager.h.
Referenced by CollectEditorsToPreload(), DrawInterface(), Initialize(), and SetStartupLoadHints().
|
private |
Definition at line 527 of file editor_manager.h.
Referenced by CollectEditorsToPreload(), DrawInterface(), Initialize(), and SetStartupLoadHints().
|
private |
Definition at line 530 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), HandleSessionSwitched(), and InitializeSubsystems().
|
private |
Definition at line 533 of file editor_manager.h.
Referenced by BuildCurrentProject(), CancelQueuedProjectBuild(), InitializeSubsystems(), LoadProjectWithRom(), PollProjectWorkflowTasks(), QueueBuildCurrentProject(), RunCurrentProject(), and ShowProjectManagement().
|
private |
Definition at line 535 of file editor_manager.h.
Referenced by EditorManager(), and version().
|
private |
Definition at line 536 of file editor_manager.h.
Referenced by InitializeServices(), SetupWelcomeScreenCallbacks(), Update(), and UpdateEditorState().
|
private |
Definition at line 537 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), emulator(), Initialize(), LoadAssets(), LoadAssetsLazy(), RunCurrentProject(), and RunEmulator().
|
private |
Definition at line 541 of file editor_manager.h.
Referenced by ApplyLayoutProfile(), CollectEditorsToPreload(), DrawInterface(), GetCurrentEditor(), ResetCurrentEditorLayout(), SetCurrentEditor(), and UpdateEditorState().
|
private |
Definition at line 545 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), Initialize(), LoadAssets(), and LoadAssetsLazy().
|
private |
Definition at line 547 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), CreateNewProject(), DrawInterface(), GetCurrentProject(), GetCurrentProject(), GetProjectExpectedRomHash(), GetProjectRomRole(), GetProjectRomWritePolicy(), ImportProject(), InitializeSubsystems(), LoadProjectWithRom(), OpenProject(), OpenRomOrProject(), QueueBuildCurrentProject(), RefreshHackWorkflowBackend(), RefreshResourceLabelProvider(), RepairCurrentProject(), ResolveProjectBuildCommand(), ResolveProjectRunTarget(), RunProjectBuildCommand(), SaveProject(), SaveProjectAs(), SaveRom(), SetupWelcomeScreenCallbacks(), ShowProjectFileEditor(), ShowProjectManagement(), SyncLayoutScopeFromCurrentProject(), UpdateEditorState(), and UpdateSystemUIs().
|
private |
Definition at line 548 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), GetVersionManager(), LoadProjectWithRom(), OpenProject(), OpenRomOrProject(), and ShowProjectManagement().
|
private |
Definition at line 549 of file editor_manager.h.
Referenced by ConfigureEditorDependencies().
|
private |
Definition at line 550 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), HandleUIActionRequest(), InitializeShortcutSystem(), InitializeSubsystems(), OpenProject(), and SaveRom().
|
private |
Definition at line 551 of file editor_manager.h.
Referenced by ApplyLayoutProfile(), BuildCurrentProject(), CaptureTemporaryLayoutSnapshot(), ClearTemporaryLayoutSnapshot(), ConfigureEditorDependencies(), DeleteLayoutSnapshot(), HandleUIActionRequest(), InitializeServices(), InitializeShortcutSystem(), InitializeSubsystems(), LoadProjectWithRom(), LoadRom(), OpenProject(), PollProjectWorkflowTasks(), QueueBuildCurrentProject(), RepairCurrentProject(), ResetCurrentEditorLayout(), ResolvePotItemSaveConfirmation(), RestoreLayoutSnapshot(), RestoreTemporaryLayoutSnapshot(), RunCurrentProject(), SaveLayoutSnapshotAs(), SaveProjectAs(), SaveRom(), SetupDialogCallbacks(), SetupWelcomeScreenCallbacks(), ShowProjectFileEditor(), SwitchToEditor(), toast_manager(), and UpdateEditorState().
|
private |
Definition at line 552 of file editor_manager.h.
Referenced by InitializeSubsystems(), and menu_builder().
|
private |
Definition at line 553 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), InitializeShortcutSystem(), InitializeSubsystems(), and ProcessInput().
|
private |
Definition at line 554 of file editor_manager.h.
Referenced by ApplyDefaultBackupPolicy(), ApplyLayoutDefaultsMigrationIfNeeded(), ConfigureEditorDependencies(), ConfigureSession(), DrawInterface(), HandleSessionCreated(), HandleSessionSwitched(), Initialize(), InitializeServices(), InitializeShortcutSystem(), InitializeSubsystems(), LoadAssets(), LoadAssetsLazy(), LoadProjectWithRom(), RefreshResourceLabelProvider(), SaveProject(), SaveRom(), SetFontGlobalScale(), SetupSidebarCallbacks(), SetupWelcomeScreenCallbacks(), SubscribeToEvents(), UpdateEditorState(), user_settings(), and user_settings().
|
private |
Definition at line 558 of file editor_manager.h.
Referenced by ApplyStartupVisibilityOverrides(), CollectEditorsToPreload(), ConfigureEditorDependencies(), DrawInterface(), DrawMainMenuBar(), DrawSecondaryWindows(), GetWindowManager(), HandleSessionCreated(), HandleSessionSwitched(), Initialize(), InitializeServices(), InitializeShortcutSystem(), InitializeSubsystems(), LoadProjectWithRom(), OpenEditorAndPanelsFromFlags(), OpenRomOrProject(), RegisterEditors(), RegisterEmulatorPanels(), SetupSidebarCallbacks(), SetupWelcomeScreenCallbacks(), window_manager(), and window_manager().
|
private |
Definition at line 559 of file editor_manager.h.
Referenced by InitializeSubsystems(), panel_host(), panel_host(), RegisterEditors(), RegisterEmulatorPanels(), window_host(), and window_host().
|
private |
Definition at line 560 of file editor_manager.h.
Referenced by Initialize(), InitializeShortcutSystem(), and InitializeSubsystems().
|
private |
Definition at line 561 of file editor_manager.h.
Referenced by DrawMainMenuBar(), InitializeShortcutSystem(), and InitializeSubsystems().
|
private |
Definition at line 562 of file editor_manager.h.
Referenced by CreateNewProject(), ImportProject(), InitializeShortcutSystem(), InitializeSubsystems(), and SetupDialogCallbacks().
|
private |
Definition at line 563 of file editor_manager.h.
Referenced by InitializeShortcutSystem(), InitializeSubsystems(), LoadProjectWithRom(), LoadRom(), OpenRomOrProject(), RestoreRomBackup(), RunCurrentProject(), SaveRom(), and SaveRomAs().
|
private |
Definition at line 564 of file editor_manager.h.
Referenced by ApplyStartupVisibilityOverrides(), CreateNewProject(), DismissEditorSelection(), DrawInterface(), DrawMainMenuBar(), DrawSecondaryWindows(), HandleUIActionRequest(), HideAllWindows(), InitializeShortcutSystem(), InitializeSubsystems(), IsSidebarVisible(), LoadProjectWithRom(), LoadRom(), OpenEditorAndPanelsFromFlags(), OpenRomOrProject(), RunCurrentProject(), RunEmulator(), SetSidebarVisible(), SetupDialogCallbacks(), SetupSidebarCallbacks(), SetupWelcomeScreenCallbacks(), ShowAllWindows(), ShowImGuiDemo(), ShowImGuiMetrics(), ui_coordinator(), UpdateEditorState(), and UpdateSystemUIs().
|
private |
Definition at line 565 of file editor_manager.h.
Referenced by InitializeSubsystems(), LoadDesignerLayout(), LoadDeveloperLayout(), and LoadModderLayout().
|
private |
Definition at line 566 of file editor_manager.h.
Referenced by InitializeSubsystems(), and SwitchToEditor().
|
private |
Definition at line 567 of file editor_manager.h.
Referenced by CloseCurrentSession(), CreateNewSession(), DrawInterface(), DuplicateCurrentSession(), EnsureEditorAssetsLoaded(), EnsureGameDataLoaded(), GenerateUniqueEditorTitle(), GetActiveSessionCount(), GetCurrentEditorSet(), GetCurrentFeatureFlags(), GetCurrentGameData(), GetCurrentRom(), GetCurrentSessionId(), GetCurrentSessionIndex(), HandleSessionClosed(), HandleSessionRomLoaded(), HasDuplicateSession(), InitializeShortcutSystem(), InitializeSubsystems(), LoadAssets(), LoadAssetsLazy(), LoadProjectWithRom(), LoadRom(), OpenRomOrProject(), RemoveSession(), RestoreRomBackup(), SaveProject(), SaveRomAs(), yaze::editor::EditorManager::SessionScope::SessionScope(), SetCurrentRom(), SwitchToSession(), and UpdateEditorState().
|
private |
Definition at line 569 of file editor_manager.h.
Referenced by ApplyLayoutProfile(), CaptureTemporaryLayoutSnapshot(), ClearTemporaryLayoutSnapshot(), DeleteLayoutSnapshot(), GetUiSyncStateSnapshot(), InitializeSubsystems(), ListLayoutSnapshots(), RestoreLayoutSnapshot(), RestoreTemporaryLayoutSnapshot(), SaveLayoutSnapshotAs(), and SyncLayoutScopeFromCurrentProject().
|
private |
Definition at line 570 of file editor_manager.h.
Referenced by ApplyLayoutPreset(), GetBottomLayoutOffset(), GetLeftLayoutOffset(), GetRightLayoutOffset(), GetUiSyncStateSnapshot(), InitializeSubsystems(), ResetCurrentEditorLayout(), ResetWorkspaceLayout(), SubscribeToEvents(), and UpdateEditorState().
|
private |
Definition at line 572 of file editor_manager.h.
Referenced by ApplyLayoutProfile(), DrawInterface(), HandleHostVisibilityChanged(), HandleSessionSwitched(), HandleUIActionRequest(), InitializeServices(), InitializeSubsystems(), LoadAssets(), LoadAssetsLazy(), right_drawer_manager(), right_drawer_manager(), SetCurrentEditor(), and ShowProjectManagement().
|
private |
Definition at line 573 of file editor_manager.h.
Referenced by BuildCurrentProject(), CancelQueuedProjectBuild(), ConfigureEditorDependencies(), DrawInterface(), EditorManager(), InitializeSubsystems(), LoadAssets(), LoadAssetsLazy(), LoadProjectWithRom(), PollProjectWorkflowTasks(), QueueBuildCurrentProject(), RunCurrentProject(), and status_bar().
|
private |
Definition at line 574 of file editor_manager.h.
Referenced by DrawInterface(), and InitializeSubsystems().
|
private |
Definition at line 575 of file editor_manager.h.
Referenced by Initialize(), InitializeShortcutSystem(), InitializeSubsystems(), LoadWorkspaceLayout(), LoadWorkspacePreset(), RefreshWorkspacePresets(), SaveWorkspaceLayout(), SaveWorkspacePreset(), and workspace_manager().
|
private |
Definition at line 595 of file editor_manager.h.
Referenced by UpdateEditorState().
|
private |
Definition at line 596 of file editor_manager.h.
Referenced by ApplyLayoutDefaultsMigrationIfNeeded(), InitializeServices(), SetupSidebarCallbacks(), SubscribeToEvents(), and UpdateEditorState().
|
private |
Definition at line 597 of file editor_manager.h.
Referenced by ApplyLayoutDefaultsMigrationIfNeeded(), InitializeServices(), SetupSidebarCallbacks(), SubscribeToEvents(), and UpdateEditorState().
|
private |
Definition at line 598 of file editor_manager.h.
Referenced by ApplyLayoutDefaultsMigrationIfNeeded(), Initialize(), and InitializeServices().
|
mutableprivate |
Definition at line 602 of file editor_manager.h.
Referenced by ApplyDefaultBackupPolicy(), BypassWriteConflictOnce(), CancelRomWriteConfirm(), CheckOracleRomSafetyPreSave(), CheckRomWritePolicy(), ClearPendingWriteConflicts(), ConfirmRomWrite(), GetCurrentRomHash(), GetRomBackups(), HasPendingPotItemSaveConfirmation(), InitializeSubsystems(), IsRomHashMismatch(), IsRomWriteConfirmPending(), LoadProjectWithRom(), OpenRomOrProject(), pending_pot_item_total_rooms(), pending_pot_item_unloaded_rooms(), pending_write_conflicts(), PruneRomBackups(), ResolvePotItemSaveConfirmation(), SaveRom(), and UpdateCurrentRomHash().
|
private |
Definition at line 605 of file editor_manager.h.
Referenced by QueueDeferredAction(), and SubscribeToEvents().
|
private |
Definition at line 606 of file editor_manager.h.
Referenced by GetUiSyncStateSnapshot(), QueueDeferredAction(), and SubscribeToEvents().
|
private |
Definition at line 607 of file editor_manager.h.
Referenced by GetUiSyncStateSnapshot(), and SubscribeToEvents().
|
private |
Definition at line 608 of file editor_manager.h.
Referenced by CancelQueuedProjectBuild(), LoadProjectWithRom(), PollProjectWorkflowTasks(), and QueueBuildCurrentProject().
|
private |
Definition at line 609 of file editor_manager.h.
Referenced by LoadProjectWithRom(), PollProjectWorkflowTasks(), and QueueBuildCurrentProject().
|
private |
Definition at line 612 of file editor_manager.h.
Referenced by EditorManager(), InitializeSubsystems(), OpenEditorAndPanelsFromFlags(), ProcessStartupActions(), and SubscribeToEvents().
|
private |
Definition at line 613 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), and EditorManager().
|
private |
Definition at line 614 of file editor_manager.h.
Referenced by RefreshHackWorkflowBackend().