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

Classes | |
| struct | PendingProjectRomSelection |
| struct | PendingRomSave |
| struct | PendingUnsavedSessionAction |
| class | SessionScope |
| struct | UiSyncState |
Public Types | |
| enum class | PotItemSaveDecision { kSaveWithPotItems , kSaveWithoutPotItems , kCancel } |
Static Public Member Functions | |
| static bool | IsPanelBasedEditor (EditorType type) |
Friends | |
| class | EditorManagerLayoutTestPeer |
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 98 of file editor_manager.h.
|
strong |
| Enumerator | |
|---|---|
| kSaveWithPotItems | |
| kSaveWithoutPotItems | |
| kCancel | |
Definition at line 109 of file editor_manager.h.
| yaze::editor::EditorManager::EditorManager | ( | ) |
Definition at line 691 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 1110 of file editor_manager.cc.
References yaze::editor::ContentRegistry::Context::Clear(), yaze::gui::ThemeManager::Get(), yaze::i18n::LanguageManager::Get(), yaze::zelda3::GetResourceLabels(), yaze::editor::ContentRegistry::Context::SetGlobalContext(), yaze::zelda3::ResourceLabelProvider::SetHackManifest(), yaze::i18n::LanguageManager::SetOnLanguageChangedCallback(), yaze::gui::ThemeManager::SetOnThemeChangedCallback(), and yaze::zelda3::ResourceLabelProvider::SetProjectLabels().
| void yaze::editor::EditorManager::Initialize | ( | gfx::IRenderer * | renderer, |
| const std::string & | filename = "" ) |
Definition at line 2010 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 2471 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::editor::ParseEditorTypeFromString(), 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 2694 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::zelda3::kNumOverworldMaps, yaze::editor::kWarning, LOG_WARN, yaze::AppConfig::open_panels, OpenEditorAndPanelsFromFlags(), yaze::EventBus::Publish(), yaze::editor::ToastManager::Show(), yaze::AppConfig::startup_editor, and toast_manager_.
| void yaze::editor::EditorManager::ApplyStartupVisibility | ( | const AppConfig & | config | ) |
Definition at line 2601 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 2608 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 2659 of file editor_manager.cc.
References asset_load_mode_.
Referenced by yaze::Controller::LoadRomForTesting(), and yaze::Controller::OnEntry().
|
inline |
Definition at line 132 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 3094 of file editor_manager.cc.
References DrawInterface(), ProcessInput(), status_, and UpdateEditorState().
Referenced by yaze::Controller::OnLoad().

| void yaze::editor::EditorManager::DrawMainMenuBar | ( | ) |
Definition at line 3520 of file editor_manager.cc.
References 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 3102 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 140 of file editor_manager.h.
References emulator_.
Referenced by yaze::app::GetGlobalEmulator(), main(), yaze::Controller::OnEntry(), and yaze::Controller::OnInput().
|
inline |
Definition at line 141 of file editor_manager.h.
References quit_.
Referenced by yaze::Controller::OnLoad().
|
inline |
Definition at line 142 of file editor_manager.h.
References version_.
Referenced by yaze::editor::PopupManager::DrawAboutPopup().
|
inline |
Definition at line 144 of file editor_manager.h.
References menu_builder_.
|
inline |
Definition at line 145 of file editor_manager.h.
References workspace_manager_.
Referenced by yaze::editor::UICoordinator::DrawWorkspacePresetDialogs().
|
inline |
Definition at line 146 of file editor_manager.h.
References right_drawer_manager_.
Referenced by yaze::editor::MenuOrchestrator::AddDrawersMenuItems(), yaze::editor::UICoordinator::DrawAllUI(), yaze::editor::UICoordinator::DrawMenuBarExtras(), yaze::editor::UICoordinator::DrawNotificationBell(), and yaze::editor::UICoordinator::InitializeCommandPalette().
|
inline |
Definition at line 149 of file editor_manager.h.
References right_drawer_manager_.
|
inline |
Definition at line 152 of file editor_manager.h.
References status_bar_.
|
inline |
Definition at line 153 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 154 of file editor_manager.h.
References popup_manager_.
Referenced by InitializeSubsystems().
|
inline |
Definition at line 155 of file editor_manager.h.
References window_manager_.
|
inline |
Definition at line 156 of file editor_manager.h.
References window_manager_.
Referenced by yaze::editor::PopupManager::DrawLayoutPresetsPopup().
|
inline |
Definition at line 157 of file editor_manager.h.
References window_manager_.
|
inline |
Definition at line 160 of file editor_manager.h.
References session_coordinator_.
|
inline |
Definition at line 163 of file editor_manager.h.
References session_coordinator_.
|
inline |
Definition at line 166 of file editor_manager.h.
References window_host_.
|
inline |
Definition at line 169 of file editor_manager.h.
References window_host_.
|
inline |
Definition at line 173 of file editor_manager.h.
References window_host_.
|
inline |
Definition at line 174 of file editor_manager.h.
References window_host_.
|
inline |
Definition at line 178 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 181 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 184 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 6006 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 189 of file editor_manager.h.
References session_coordinator_.
Referenced by ApplyCurrentProjectRuntimeContext(), 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(), LoadRomInternal(), yaze::Controller::OnLoad(), OpenRomOrProjectInternal(), PendingRomSaveMatchesActiveSession(), PruneRomBackups(), RefreshResourceLabelProvider(), RestoreRomBackup(), RunEmulator(), SaveProject(), SaveRomInternal(), SetCurrentRom(), yaze::editor::UICoordinator::ShouldShowActivityBar(), ShowProjectManagement(), StartPendingRomSave(), UpdateCurrentRomHash(), UpdateEditorState(), and UpdateSystemUIs().
|
inline |
Definition at line 193 of file editor_manager.h.
References session_coordinator_.
|
inline |
Definition at line 197 of file editor_manager.h.
References session_coordinator_.
Referenced by ConfigureEditorDependencies(), DrawInterface(), DrawSecondaryWindows(), InitializeSubsystems(), LoadAssets(), LoadAssetsLazy(), LoadProjectWithRom(), LoadRomInternal(), OpenEditorAndPanelsFromFlags(), OpenRomOrProjectInternal(), overworld(), ResolveEditorForCategory(), SaveProject(), SaveRomInternal(), SetupSidebarCallbacks(), SwitchToEditor(), and UpdateEditorState().
|
inlineoverridevirtual |
Implements yaze::editor::ISessionConfigurator.
Definition at line 201 of file editor_manager.h.
References current_editor_.
Referenced by yaze::editor::PopupManager::DrawLayoutPresetsPopup(), HandleUIActionRequest(), and yaze::Controller::OnLoad().
|
inline |
Definition at line 202 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 205 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 208 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 211 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 214 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 6044 of file editor_manager.cc.
References GetCurrentRom(), yaze::editor::RomLifecycleManager::GetRomBackups(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawRomBackupManagerPopup().

| bool yaze::editor::EditorManager::IsRomBackupRestorePending | ( | ) | const |
Definition at line 6048 of file editor_manager.cc.
References session_coordinator_.
Referenced by yaze::editor::PopupManager::DrawRomBackupManagerPopup().
| absl::Status yaze::editor::EditorManager::RestoreRomBackup | ( | const std::string & | backup_path | ) |
Definition at line 6056 of file editor_manager.cc.
References yaze::editor::RomLifecycleManager::CheckRomOpenPolicy(), yaze::Rom::filename(), GetCurrentRom(), GetCurrentSessionIndex(), yaze::editor::RomFileManager::ListBackups(), yaze::editor::RomFileManager::LoadRom(), ReplaceActiveSessionRom(), yaze::Rom::resource_label(), RETURN_IF_ERROR, rom_file_manager_, rom_lifecycle_, session_coordinator_, SessionHasPendingRomWork(), yaze::Rom::set_dirty(), and yaze::Rom::set_filename().
Referenced by yaze::editor::PopupManager::DrawRomBackupManagerPopup().
| absl::Status yaze::editor::EditorManager::DiscardPendingRomBackupRestore | ( | ) |
Definition at line 6109 of file editor_manager.cc.
References yaze::gfx::PaletteManager::Get(), GetCurrentSessionIndex(), HasPendingDungeonChangesForSession(), yaze::editor::RomFileManager::LoadRom(), ReplaceActiveSessionRom(), yaze::Rom::resource_label(), RETURN_IF_ERROR, rom_file_manager_, and session_coordinator_.
Referenced by yaze::editor::PopupManager::DrawRomBackupManagerPopup().
| absl::Status yaze::editor::EditorManager::PruneRomBackups | ( | ) |
Definition at line 6152 of file editor_manager.cc.
References GetCurrentRom(), yaze::editor::RomLifecycleManager::PruneRomBackups(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawRomBackupManagerPopup().

| void yaze::editor::EditorManager::ConfirmRomWrite | ( | ) |
Definition at line 6156 of file editor_manager.cc.
References yaze::editor::RomLifecycleManager::ConfirmRomWrite(), yaze::editor::RomLifecycleManager::IsRomWriteConfirmPending(), PendingRomSaveMatchesActiveSession(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawRomWriteConfirmPopup().

| void yaze::editor::EditorManager::CancelRomWriteConfirm | ( | ) |
Definition at line 6164 of file editor_manager.cc.
References CancelPendingRomSave().
Referenced by yaze::editor::PopupManager::DrawRomWriteConfirmPopup().

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

|
inline |
Definition at line 227 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 230 of file editor_manager.h.
References yaze::editor::RomLifecycleManager::BypassWriteConflictOnce(), and rom_lifecycle_.
Referenced by yaze::editor::PopupManager::DrawWriteConflictWarningPopup().

| void yaze::editor::EditorManager::ClearPendingWriteConflicts | ( | ) |
Definition at line 6168 of file editor_manager.cc.
References CancelPendingRomSave().
Referenced by yaze::editor::PopupManager::DrawWriteConflictWarningPopup().

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

|
inline |
Stable workspace identity; unlike the UI index, it does not compact.
Definition at line 242 of file editor_manager.h.
References session_coordinator_.
Referenced by ApplyLayoutPreset(), ApplyLayoutProfile(), CaptureTemporaryLayoutSnapshot(), CloseCurrentSession(), CollectEditorsToPreload(), ConfigureEditorDependencies(), ConfirmPendingUnsavedSessionActionSaveAndContinue(), DrawInterface(), InitializeSubsystems(), ListLayoutSnapshots(), LoadProjectWithRom(), LoadRom(), LoadRomInternal(), OpenEditorAndPanelsFromFlags(), OpenProject(), OpenRomOrProject(), OpenRomOrProjectInternal(), ProcessStartupActions(), ResetCurrentEditorLayout(), RestoreLayoutSnapshot(), RestoreTemporaryLayoutSnapshot(), SaveLayoutSnapshotAs(), SaveRomInternal(), and SwitchToSession().
|
inline |
Definition at line 246 of file editor_manager.h.
References ui_coordinator_.
Referenced by yaze::Controller::OnLoad().
| yaze::zelda3::Overworld * yaze::editor::EditorManager::overworld | ( | ) | const |
Definition at line 5999 of file editor_manager.cc.
References GetCurrentEditorSet().
Referenced by yaze::Controller::overworld().

| size_t yaze::editor::EditorManager::GetCurrentSessionIndex | ( | ) | const |
Definition at line 6797 of file editor_manager.cc.
References session_coordinator_.
Referenced by AutosaveActiveSession(), DiscardPendingRomBackupRestore(), DrawInterface(), yaze::editor::PopupManager::DrawSessionManagerPopup(), GetCurrentFeatureFlags(), PendingRomSaveMatchesActiveSession(), ReloadProjectRom(), ReplaceActiveSessionRom(), RestoreRomBackup(), StartPendingRomSave(), SwapProjectRom(), SwitchToSession(), and UpdateEditorState().
|
inline |
Definition at line 253 of file editor_manager.h.
References yaze::editor::RomSession::feature_flags, yaze::core::FeatureFlags::get(), GetCurrentSessionIndex(), and session_coordinator_.

|
inline |
Definition at line 266 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 276 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 277 of file editor_manager.h.
References user_settings_.
|
inline |
Definition at line 280 of file editor_manager.h.
References yaze::editor::WorkspaceManager::RefreshPresets(), and workspace_manager_.
Referenced by yaze::editor::UICoordinator::DrawWorkspacePresetDialogs().

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

|
inline |
Definition at line 284 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 6836 of file editor_manager.cc.
References editor_activator_, EnsureEditorAssetsLoaded(), GetCurrentEditorSet(), yaze::editor::EditorRegistry::IsExperimentalEditor(), yaze::editor::kAgent, yaze::editor::kEditorNames, yaze::editor::kError, yaze::editor::kWarning, yaze::editor::UserSettings::prefs(), session_coordinator_, yaze::editor::ToastManager::Show(), yaze::editor::UserSettings::Preferences::show_experimental_editors, yaze::editor::EditorActivator::SwitchToEditor(), toast_manager_, and user_settings_.
Referenced by ConfigureEditorDependencies(), yaze::editor::UICoordinator::DrawShortcutsBrowser(), HandleUIActionRequest(), yaze::editor::UICoordinator::InitializeCommandPalette(), OpenEditorAndPanelsFromFlags(), SetupSidebarCallbacks(), and yaze::editor::UICoordinator::UICoordinator().
|
overridevirtual |
Implements yaze::editor::IEditorSwitcher.
Definition at line 6879 of file editor_manager.cc.
References yaze::editor::kEditor, and ui_coordinator_.
|
static |
Definition at line 518 of file editor_manager.cc.
References yaze::editor::EditorRegistry::IsPanelBasedEditor().
Referenced by DrawInterface(), and yaze::editor::SessionCoordinator::UpdateSessions().

|
inline |
Definition at line 295 of file editor_manager.h.
References ui_coordinator_.
|
inline |
Definition at line 298 of file editor_manager.h.
References ui_coordinator_.
| absl::Status yaze::editor::EditorManager::EnsureEditorAssetsLoaded | ( | EditorType | type | ) |
Definition at line 3004 of file editor_manager.cc.
References EditorInitRequiresGameData(), EditorRequiresGameData(), yaze::editor::EditorTypeIndex(), EnsureGameDataLoaded(), GetEditorByType(), InitializeEditorForType(), yaze::editor::kUnknown, MarkEditorInitialized(), MarkEditorLoaded(), RestoreEditorLayoutAfterAssets(), RETURN_IF_ERROR, session_coordinator_, and yaze::editor::EditorRegistry::UpdateAllowedWithoutLoadedRom().
Referenced by ConfigureEditorDependencies(), InitializeSubsystems(), OpenEditorAndPanelsFromFlags(), SaveRomInternal(), and SwitchToEditor().
| absl::Status yaze::editor::EditorManager::EnsureGameDataLoaded | ( | ) |
Definition at line 2976 of file editor_manager.cc.
References yaze::gfx::Arena::Get(), yaze::gfx::PaletteManager::Get(), yaze::gfx::PaletteManager::Initialize(), yaze::zelda3::LoadGameData(), yaze::gfx::Arena::mutable_gfx_sheets(), RETURN_IF_ERROR, session_coordinator_, and yaze::editor::ContentRegistry::Context::SetGameData().
Referenced by EnsureEditorAssetsLoaded(), and ReplaceActiveSessionRom().
| void yaze::editor::EditorManager::CreateNewSession | ( | ) |
Definition at line 6172 of file editor_manager.cc.
References session_coordinator_.
Referenced by yaze::editor::PopupManager::DrawSessionManagerPopup().
| void yaze::editor::EditorManager::DuplicateCurrentSession | ( | ) |
Definition at line 6179 of file editor_manager.cc.
References session_coordinator_.
| void yaze::editor::EditorManager::CloseCurrentSession | ( | ) |
Definition at line 6185 of file editor_manager.cc.
References GetCurrentSessionId(), yaze::editor::EditorManager::PendingUnsavedSessionAction::kCloseSession, MaybeGuardPendingSessionAction(), session_coordinator_, and UpdateCurrentRomHash().

| void yaze::editor::EditorManager::RemoveSession | ( | size_t | index | ) |
Definition at line 6208 of file editor_manager.cc.
References yaze::editor::EditorManager::PendingUnsavedSessionAction::kCloseSession, MaybeGuardPendingSessionAction(), session_coordinator_, and UpdateCurrentRomHash().
Referenced by yaze::editor::PopupManager::DrawSessionManagerPopup(), and RequestCloseSession().

| void yaze::editor::EditorManager::SwitchToSession | ( | size_t | index | ) |
Definition at line 6225 of file editor_manager.cc.
References GetCurrentSessionId(), GetCurrentSessionIndex(), yaze::editor::EditorManager::PendingUnsavedSessionAction::kSwitchSession, MaybeGuardPendingSessionAction(), and session_coordinator_.
Referenced by yaze::editor::UICoordinator::DrawGlobalSearch(), yaze::editor::UICoordinator::DrawSessionButton(), yaze::editor::PopupManager::DrawSessionManagerPopup(), and RequestSwitchToSession().

|
inlineoverridevirtual |
Implements yaze::editor::ISessionConfigurator.
Definition at line 314 of file editor_manager.h.
References SwitchToSession().

|
inlineoverridevirtual |
Implements yaze::editor::ISessionConfigurator.
Definition at line 315 of file editor_manager.h.
References RemoveSession().

| size_t yaze::editor::EditorManager::GetActiveSessionCount | ( | ) | const |
Definition at line 6823 of file editor_manager.cc.
References session_coordinator_.
Referenced by yaze::editor::PopupManager::DrawSessionManagerPopup().
|
inline |
Definition at line 320 of file editor_manager.h.
References yaze::editor::WorkspaceManager::SaveWorkspaceLayout(), and workspace_manager_.

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

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

|
inline |
Definition at line 323 of file editor_manager.h.
References ui_coordinator_.
|
inline |
Definition at line 327 of file editor_manager.h.
References ui_coordinator_.
|
inline |
Definition at line 333 of file editor_manager.h.
References yaze::editor::WindowDelegate::LoadDeveloperLayout(), and window_delegate_.

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

|
inline |
Definition at line 335 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 526 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 530 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::UICoordinator::InitializeCommandPalette().

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

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

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

| bool yaze::editor::EditorManager::SaveLayoutSnapshotAs | ( | const std::string & | name | ) |
Definition at line 592 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 611 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 627 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 638 of file editor_manager.cc.
References GetCurrentSessionId(), and layout_manager_.

| void yaze::editor::EditorManager::ResetCurrentEditorLayout | ( | ) |
Definition at line 657 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().

| std::string yaze::editor::EditorManager::GenerateUniqueEditorTitle | ( | EditorType | type, |
| size_t | session_index ) const |
Definition at line 6828 of file editor_manager.cc.
References yaze::editor::kEditorNames, and session_coordinator_.
| bool yaze::editor::EditorManager::HasDuplicateSession | ( | const std::string & | filepath | ) |
Definition at line 6911 of file editor_manager.cc.
References session_coordinator_.
| void yaze::editor::EditorManager::RenameSession | ( | size_t | index, |
| const std::string & | new_name ) |
| void yaze::editor::EditorManager::Quit | ( | ) |
Definition at line 6247 of file editor_manager.cc.
References yaze::editor::EditorManager::PendingUnsavedSessionAction::kQuit, MaybeGuardPendingSessionAction(), and quit_.
Referenced by yaze::Controller::OnInput().

| bool yaze::editor::EditorManager::HasPendingUnsavedSessionAction | ( | ) | const |
Definition at line 6256 of file editor_manager.cc.
References pending_unsaved_session_action_.
Referenced by yaze::editor::PopupManager::DrawUnsavedSessionChangesPopup().
| std::string yaze::editor::EditorManager::GetPendingUnsavedSessionActionPrompt | ( | ) | const |
Definition at line 6275 of file editor_manager.cc.
References DescribeAllPendingUnsavedWork(), DescribePendingUnsavedWork(), yaze::editor::EditorManager::PendingUnsavedSessionAction::kCloseSession, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenProjectDialog, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenRomDialog, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenRomOrProjectPath, yaze::editor::EditorManager::PendingUnsavedSessionAction::kQuit, yaze::editor::EditorManager::PendingUnsavedSessionAction::kSwitchSession, pending_unsaved_session_action_, ResolveSessionIndexById(), and session_coordinator_.
Referenced by yaze::editor::PopupManager::DrawUnsavedSessionChangesPopup().

| std::string yaze::editor::EditorManager::GetPendingUnsavedSessionActionSaveLabel | ( | ) | const |
Definition at line 6323 of file editor_manager.cc.
References yaze::editor::EditorManager::PendingUnsavedSessionAction::kCloseSession, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenProjectDialog, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenRomDialog, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenRomOrProjectPath, yaze::editor::EditorManager::PendingUnsavedSessionAction::kQuit, yaze::editor::EditorManager::PendingUnsavedSessionAction::kSwitchSession, ModifiedSessionCount(), and pending_unsaved_session_action_.
Referenced by yaze::editor::PopupManager::DrawUnsavedSessionChangesPopup().

| std::string yaze::editor::EditorManager::GetPendingUnsavedSessionActionContinueLabel | ( | ) | const |
Definition at line 6346 of file editor_manager.cc.
References yaze::editor::EditorManager::PendingUnsavedSessionAction::kCloseSession, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenProjectDialog, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenRomDialog, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenRomOrProjectPath, yaze::editor::EditorManager::PendingUnsavedSessionAction::kQuit, yaze::editor::EditorManager::PendingUnsavedSessionAction::kSwitchSession, and pending_unsaved_session_action_.
Referenced by yaze::editor::PopupManager::DrawUnsavedSessionChangesPopup().
| void yaze::editor::EditorManager::ConfirmPendingUnsavedSessionActionSaveAndContinue | ( | ) |
Definition at line 6368 of file editor_manager.cc.
References DescribePendingUnsavedWork(), ExecutePendingUnsavedSessionAction(), GetCurrentSessionId(), HasPendingRomSaveConfirmation(), yaze::editor::EditorManager::PendingUnsavedSessionAction::kCloseSession, yaze::editor::kError, yaze::editor::kInfo, yaze::editor::EditorManager::PendingUnsavedSessionAction::kQuit, yaze::editor::PopupID::kUnsavedSessionChanges, pending_unsaved_session_action_, PendingRomSaveMatchesActiveSession(), popup_manager_, ResolveSessionIndexById(), RETURN_IF_ERROR, SaveActiveProjectEditingWork(), SaveRom(), session_coordinator_, SessionHasPendingRomWork(), SessionHasPendingUnsavedWork(), yaze::editor::ToastManager::Show(), and toast_manager_.
Referenced by yaze::editor::PopupManager::DrawUnsavedSessionChangesPopup().
| void yaze::editor::EditorManager::ConfirmPendingUnsavedSessionActionDiscardAndContinue | ( | ) |
Definition at line 6466 of file editor_manager.cc.
References ExecutePendingUnsavedSessionAction(), yaze::editor::PopupID::kUnsavedSessionChanges, pending_unsaved_session_action_, and popup_manager_.
Referenced by yaze::editor::PopupManager::DrawUnsavedSessionChangesPopup().

| void yaze::editor::EditorManager::CancelPendingUnsavedSessionAction | ( | ) |
Definition at line 6479 of file editor_manager.cc.
References yaze::editor::PopupID::kUnsavedSessionChanges, pending_unsaved_session_action_, and popup_manager_.
Referenced by yaze::editor::PopupManager::DrawUnsavedSessionChangesPopup().
|
inline |
Definition at line 370 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 6802 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 6887 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_.
Referenced by BindProjectContextToSession(), ReplaceActiveSessionRom(), and RestoreProjectContextForSession().

|
inline |
Definition at line 389 of file editor_manager.h.
References ui_coordinator_.
|
inline |
Definition at line 393 of file editor_manager.h.
References ui_coordinator_.
|
inline |
Definition at line 408 of file editor_manager.h.
|
inline |
Definition at line 409 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 3695 of file editor_manager.cc.
References GetCurrentSessionId(), yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenRomDialog, LoadRomInternal(), and MaybeGuardPendingSessionAction().
Referenced by HandleUIActionRequest(), and yaze::editor::UICoordinator::UICoordinator().

| absl::Status yaze::editor::EditorManager::SaveRom | ( | ) |
Definition at line 4110 of file editor_manager.cc.
References FinishPendingRomSaveAttempt(), yaze::editor::RomLifecycleManager::HasPendingPotItemSaveConfirmation(), yaze::editor::RomLifecycleManager::IsRomWriteConfirmPending(), pending_rom_save_, yaze::editor::RomLifecycleManager::pending_write_conflicts(), ResumePendingRomSave(), RETURN_IF_ERROR, rom_lifecycle_, SaveRomInternal(), yaze::editor::RomLifecycleManager::ShouldBypassWriteConflict(), and StartPendingRomSave().
Referenced by AutosaveActiveSession(), ConfirmPendingUnsavedSessionActionSaveAndContinue(), DrawInterface(), and HandleUIActionRequest().
| absl::Status yaze::editor::EditorManager::SaveRomAs | ( | const std::string & | filename | ) |
Definition at line 4398 of file editor_manager.cc.
References FinishPendingRomSaveAttempt(), HasPendingRomSaveConfirmation(), pending_rom_save_, RETURN_IF_ERROR, SaveRomInternal(), and StartPendingRomSave().
Referenced by yaze::editor::PopupManager::DrawSaveAsPopup().

| absl::Status yaze::editor::EditorManager::ResumePendingRomSave | ( | ) |
Definition at line 4411 of file editor_manager.cc.
References CancelPendingRomSave(), FinishPendingRomSaveAttempt(), pending_rom_save_, PendingRomSaveMatchesActiveSession(), yaze::editor::RomLifecycleManager::ResetPendingSaveState(), rom_lifecycle_, and SaveRomInternal().
Referenced by yaze::editor::PopupManager::DrawRomWriteConfirmPopup(), yaze::editor::PopupManager::DrawWriteConflictWarningPopup(), ResolvePotItemSaveConfirmation(), and SaveRom().
| absl::Status yaze::editor::EditorManager::OpenRomOrProject | ( | const std::string & | filename | ) |
Definition at line 4428 of file editor_manager.cc.
References GetCurrentSessionId(), yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenRomOrProjectPath, MaybeGuardPendingSessionAction(), and OpenRomOrProjectInternal().
Referenced by yaze::editor::UICoordinator::DrawGlobalSearch(), yaze::editor::PopupManager::DrawRomBackupManagerPopup(), Initialize(), yaze::editor::UICoordinator::InitializeCommandPalette(), yaze::Controller::LoadRomForTesting(), and yaze::editor::UICoordinator::UICoordinator().

| absl::Status yaze::editor::EditorManager::CreateNewProject | ( | const std::string & | template_name = "Basic ROM Hack" | ) |
Definition at line 4585 of file editor_manager.cc.
References HasAnySessionPendingUnsavedWork(), and ui_coordinator_.
Referenced by SaveProject().

| absl::Status yaze::editor::EditorManager::CreateNewProjectFromRom | ( | const std::string & | template_name, |
| const std::string & | rom_path, | ||
| const std::string & | project_name, | ||
| const std::string & | project_path = std::string() ) |
Definition at line 4600 of file editor_manager.cc.
References active_project_context_session_id_, yaze::editor::ProjectManager::CancelPendingProject(), yaze::editor::ProjectManager::CreateNewProject(), current_project_, DetachActiveProjectContext(), DiscardProvisionalSessionCreatedSince(), FinalizeNewProject(), yaze::editor::ProjectManager::GetCurrentProject(), HasAnySessionPendingUnsavedWork(), yaze::editor::ProjectManager::IsPendingRomSelection(), OpenRomOrProjectInternal(), yaze::editor::SessionCoordinator::PathsReferToSameBackingFile(), project_manager_, yaze::project::YazeProject::project_opened(), RestoreProjectContextAfterFailedOpen(), RETURN_IF_ERROR, session_coordinator_, yaze::editor::ProjectManager::SetProjectRom(), SyncLayoutScopeFromCurrentProject(), and yaze::editor::ProjectManager::ValidateProjectCreationTarget().
Referenced by yaze::editor::PopupManager::DrawNewProjectPopup(), and yaze::editor::UICoordinator::UICoordinator().
| absl::Status yaze::editor::EditorManager::FinalizeNewProject | ( | const std::string & | project_name, |
| const std::string & | project_path = std::string() ) |
Definition at line 4672 of file editor_manager.cc.
References active_project_context_session_id_, ApplyCurrentProjectRuntimeContext(), yaze::editor::UserSettings::Preferences::autosave_enabled, yaze::editor::UserSettings::Preferences::autosave_interval, yaze::editor::UserSettings::Preferences::backup_before_save, BindProjectContextToSession(), yaze::editor::ProjectManager::CancelPendingProject(), CaptureActiveProjectContext(), yaze::editor::ProjectManager::CreateNewProject(), current_project_, yaze::project::YazeProject::feature_flags, yaze::project::YazeProject::filepath, yaze::editor::ProjectManager::FinalizeProjectCreation(), yaze::editor::UserSettings::Preferences::font_global_scale, yaze::editor::ProjectManager::GetCurrentProject(), yaze::project::YazeProject::git_repository, yaze::core::VersionManager::InitializeGit(), yaze::editor::ProjectManager::IsPendingRomSelection(), yaze::editor::UserSettings::prefs(), project_manager_, RebaseCleanProjectFileDraft(), RestoreProjectContextForSession(), RETURN_IF_ERROR, runtime_feature_flags_session_id_, session_coordinator_, yaze::editor::ProjectManager::SetProjectRom(), user_settings_, and version_manager_.
Referenced by CreateNewProjectFromRom(), and SetupDialogCallbacks().
| absl::Status yaze::editor::EditorManager::OpenProject | ( | ) |
Definition at line 4737 of file editor_manager.cc.
References GetCurrentSessionId(), yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenProjectDialog, MaybeGuardPendingSessionAction(), and OpenProjectInternal().

| absl::Status yaze::editor::EditorManager::SaveProject | ( | ) |
Definition at line 5443 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, CaptureActiveProjectContext(), CaptureActiveProjectEditingState(), CreateNewProject(), current_project_, yaze::project::YazeProject::feature_flags, yaze::project::YazeProject::filepath, yaze::editor::UserSettings::Preferences::font_global_scale, yaze::project::WorkspaceSettings::font_global_scale, GetCurrentEditorSet(), GetCurrentRom(), yaze::project::RecentFilesManager::GetInstance(), yaze::editor::UserSettings::prefs(), PrepareActiveProjectEditorDraftsForSave(), project_management_panel_, yaze::project::YazeProject::project_opened(), ProjectFileDraftTargetsCurrentProject(), RebaseCleanProjectFileDraft(), yaze::project::WorkspaceSettings::recent_files, RETURN_IF_ERROR, yaze::project::YazeProject::Save(), session_coordinator_, user_settings_, and yaze::project::YazeProject::workspace_settings.
Referenced by yaze::editor::PopupManager::DrawNewProjectPopup(), InitializeSubsystems(), and SaveActiveProjectEditingWork().
| absl::Status yaze::editor::EditorManager::SaveProjectAs | ( | ) |
Definition at line 5612 of file editor_manager.cc.
References current_project_, yaze::project::YazeProject::GetDisplayName(), yaze::project::YazeProject::project_opened(), SaveProjectAs(), and yaze::util::FileDialogWrapper::ShowSaveFileDialog().
Referenced by SaveProjectAs().

| absl::Status yaze::editor::EditorManager::SaveProjectAs | ( | const std::string & | filepath | ) |
Definition at line 5627 of file editor_manager.cc.
References CaptureActiveProjectContext(), CaptureActiveProjectEditingState(), current_project_, yaze::project::YazeProject::filepath, yaze::project::RecentFilesManager::GetInstance(), yaze::editor::kError, yaze::editor::kSuccess, yaze::editor::SessionCoordinator::PathsReferToSameBackingFile(), PrepareActiveProjectEditorDraftsForSave(), project_management_panel_, RebaseCleanProjectFileDraft(), RETURN_IF_ERROR, yaze::project::YazeProject::Save(), session_coordinator_, yaze::editor::ToastManager::Show(), SyncLayoutScopeFromCurrentProject(), and toast_manager_.
| absl::Status yaze::editor::EditorManager::AutosaveActiveSession | ( | ) |
Definition at line 5569 of file editor_manager.cc.
References GetCurrentSessionIndex(), RETURN_IF_ERROR, SaveActiveProjectEditingWork(), SaveRom(), session_coordinator_, SessionHasPendingRomWork(), and SessionHasPendingUnsavedWork().
Referenced by UpdateEditorState().
| absl::Status yaze::editor::EditorManager::BuildCurrentProject | ( | ) |
Definition at line 5771 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 5804 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 5857 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 5875 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 440 of file editor_manager.h.
References yaze::editor::RomLifecycleManager::HasPendingPotItemSaveConfirmation(), and rom_lifecycle_.

|
inline |
Definition at line 443 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 446 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 5590 of file editor_manager.cc.
References CancelPendingRomSave(), kCancel, yaze::editor::kError, yaze::editor::kInfo, yaze::editor::RomLifecycleManager::ResolvePotItemSaveConfirmation(), ResumePendingRomSave(), rom_lifecycle_, 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 5969 of file editor_manager.cc.
References BindProjectContextToSession(), current_project_, DetachActiveProjectContext(), yaze::editor::ProjectManager::GetCurrentProject(), yaze::editor::ProjectManager::ImportProject(), project_manager_, RefreshHackWorkflowBackend(), RestoreProjectContextForSession(), RETURN_IF_ERROR, session_coordinator_, and SyncLayoutScopeFromCurrentProject().
| absl::Status yaze::editor::EditorManager::RepairCurrentProject | ( | ) |
Definition at line 5986 of file editor_manager.cc.
References CaptureActiveProjectContext(), 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 4814 of file editor_manager.cc.
References active_project_build_, active_project_build_reported_, active_project_context_session_id_, 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, BindProjectContextToSession(), CaptureActiveProjectContext(), yaze::editor::RomLifecycleManager::CheckRomOpenPolicy(), 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, DiscardProvisionalSessionCreatedSince(), 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::zelda3::DrawRoutineRegistry::Get(), yaze::project::YazeProject::GetAbsolutePath(), GetCurrentEditorSet(), GetCurrentRom(), GetCurrentSessionId(), yaze::project::YazeProject::GetDisplayName(), yaze::project::RecentFilesManager::GetInstance(), yaze::project::YazeProject::git_repository, yaze::core::VersionManager::InitializeGit(), 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(), pending_project_open_previous_session_id_, pending_project_open_transition_, pending_project_rom_selection_, yaze::editor::UserSettings::prefs(), yaze::editor::RomSession::project_context, project_management_panel_, project_rom_selection_generation_, yaze::zelda3::DrawRoutineRegistry::RefreshFeatureFlagMappings(), RefreshHackWorkflowBackend(), RefreshResourceLabelProvider(), RestoreProjectContextAfterFailedOpen(), RestoreProjectContextForSession(), RETURN_IF_ERROR, yaze::project::YazeProject::rom_address_overrides, rom_file_manager_, yaze::project::YazeProject::rom_filename, rom_lifecycle_, yaze::project::YazeProject::Save(), session_coordinator_, yaze::editor::WorkspaceWindowManager::SetActiveCategory(), yaze::editor::ContentRegistry::Context::SetBuildWorkflowLog(), yaze::editor::ContentRegistry::Context::SetBuildWorkflowStatus(), yaze::editor::ContentRegistry::Context::SetCurrentProject(), yaze::test::TestManager::SetCurrentRom(), yaze::editor::WorkspaceWindowManager::SetFileBrowserPath(), 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_, ValidateProjectRomSelection(), version_manager_, window_manager_, and yaze::project::YazeProject::workspace_settings.
Referenced by LoadProjectWithRom(), OpenProjectInternal(), and OpenRomOrProjectInternal().
| absl::Status yaze::editor::EditorManager::SwapProjectRom | ( | const std::string & | rom_path | ) |
Definition at line 5355 of file editor_manager.cc.
References ApplyCurrentProjectRuntimeContext(), BindProjectContextToSession(), CaptureActiveProjectContext(), CaptureActiveProjectEditingState(), yaze::editor::RomLifecycleManager::CheckRomOpenPolicy(), current_project_, yaze::project::YazeProject::filepath, GetCurrentSessionIndex(), yaze::editor::RomFileManager::LoadRom(), project_management_panel_, yaze::project::YazeProject::project_opened(), ProjectFileDraftTargetsCurrentProject(), RebaseCleanProjectFileDraft(), ReplaceActiveSessionRom(), RETURN_IF_ERROR, rom_file_manager_, yaze::project::YazeProject::rom_filename, rom_lifecycle_, yaze::project::YazeProject::Save(), session_coordinator_, and SessionHasPendingRomWork().
Referenced by InitializeSubsystems().
| absl::Status yaze::editor::EditorManager::ReloadProjectRom | ( | ) |
Definition at line 5418 of file editor_manager.cc.
References yaze::editor::RomLifecycleManager::CheckRomOpenPolicy(), current_project_, GetCurrentSessionIndex(), yaze::editor::RomFileManager::LoadRom(), yaze::project::YazeProject::project_opened(), ReplaceActiveSessionRom(), RETURN_IF_ERROR, rom_file_manager_, yaze::project::YazeProject::rom_filename, rom_lifecycle_, session_coordinator_, and SessionHasPendingRomWork().
Referenced by InitializeSubsystems().
|
inline |
Definition at line 457 of file editor_manager.h.
References current_project_.
Referenced by yaze::editor::PopupManager::DrawNewProjectPopup(), yaze::editor::PopupManager::DrawRomBackupManagerPopup(), yaze::editor::PopupManager::DrawRomInfoPopup(), yaze::editor::PopupManager::DrawRomWriteConfirmPopup(), and yaze::editor::UICoordinator::RefreshWorkflowActions().
|
inline |
Definition at line 458 of file editor_manager.h.
References current_project_.
|
inline |
Definition at line 465 of file editor_manager.h.
References active_project_context_session_id_.
Referenced by ConfigureEditorDependencies(), and PrepareActiveProjectEditorDraftsForSave().
| void yaze::editor::EditorManager::MarkCurrentProjectDirty | ( | ) |
Definition at line 5503 of file editor_manager.cc.
References project_management_panel_, and session_coordinator_.
Referenced by yaze::editor::PopupManager::DrawNewProjectPopup(), and InitializeSubsystems().
| bool yaze::editor::EditorManager::IsCurrentProjectDirty | ( | ) | const |
Definition at line 5514 of file editor_manager.cc.
References project_management_panel_, and session_coordinator_.
Referenced by PrepareRawProjectFileSave(), and ShowProjectManagement().
|
inline |
Definition at line 471 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 6940 of file editor_manager.cc.
References CaptureActiveProjectEditingState(), current_project_, GetCurrentRom(), IsCurrentProjectDirty(), yaze::editor::RightDrawerManager::kProject, project_management_panel_, right_drawer_manager_, and version_manager_.
Referenced by yaze::editor::UICoordinator::UICoordinator().

| void yaze::editor::EditorManager::ShowProjectFileEditor | ( | ) |
Definition at line 6957 of file editor_manager.cc.
References CaptureActiveProjectEditingState(), yaze::editor::ProjectFileEditor::CaptureState(), current_project_, yaze::project::YazeProject::filepath, yaze::editor::kError, yaze::editor::ProjectFileEditor::LoadFile(), yaze::editor::SessionCoordinator::PathsReferToSameBackingFile(), project_file_editor_, RebaseCleanProjectFileDraft(), yaze::editor::ProjectFileEditor::ResetForProject(), yaze::editor::ProjectFileEditor::RestoreState(), session_coordinator_, yaze::editor::ProjectFileEditor::set_active(), yaze::editor::ProjectFileEditor::SetProject(), yaze::editor::ToastManager::Show(), and toast_manager_.
|
inline |
Definition at line 478 of file editor_manager.h.
References project_file_editor_.
|
inline |
Definition at line 479 of file editor_manager.h.
References project_management_panel_.
|
privatedelete |
|
private |
Definition at line 3804 of file editor_manager.cc.
References CollectEditorsToPreload(), emulator_, yaze::gfx::PerformanceProfiler::Get(), yaze::gfx::Arena::Get(), yaze::gfx::PaletteManager::Get(), GetCurrentEditorSet(), GetCurrentRom(), yaze::gfx::PaletteManager::Initialize(), 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(), yaze::gfx::PaletteManager::ReleaseSession(), renderer_, ResetAssetState(), RestoreActiveEditorLayoutAfterAssets(), 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 2725 of file editor_manager.cc.
References asset_load_mode_, yaze::kAuto, yaze::kFull, yaze::kLazy, LoadAssets(), and LoadAssetsLazy().
Referenced by LoadProjectWithRom(), LoadRomInternal(), OpenRomOrProjectInternal(), and ReplaceActiveSessionRom().

|
private |
Definition at line 3970 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 2961 of file editor_manager.cc.
References GetEditorByType().
Referenced by EnsureEditorAssetsLoaded().

|
private |
Definition at line 2736 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 ReplaceActiveSessionRom().
|
private |
Definition at line 2745 of file editor_manager.cc.
References yaze::editor::RomSession::editor_initialized, and yaze::editor::EditorTypeIndex().
Referenced by EnsureEditorAssetsLoaded(), and LoadAssets().

|
private |
Definition at line 2756 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 2766 of file editor_manager.cc.
References editor_activator_, yaze::editor::RomSession::editor_initialized, yaze::editor::EditorTypeIndex(), yaze::editor::WorkspaceWindowManager::GetActiveCategory(), yaze::editor::WorkspaceWindowManager::GetActiveSessionId(), yaze::editor::EditorRegistry::GetEditorCategory(), yaze::editor::EditorActivator::InitializeEditorLayout(), yaze::editor::EditorRegistry::IsPanelBasedEditor(), layout_manager_, yaze::editor::UserSettings::Preferences::panel_visibility_state, yaze::editor::UserSettings::prefs(), yaze::editor::WorkspaceWindowManager::RestoreVisibilityState(), yaze::editor::RomSession::session_id(), user_settings_, and window_manager_.
Referenced by EnsureEditorAssetsLoaded(), and RestoreActiveEditorLayoutAfterAssets().
|
private |
Definition at line 2798 of file editor_manager.cc.
References yaze::editor::WorkspaceWindowManager::GetActiveCategory(), yaze::editor::EditorRegistry::GetEditorTypeFromCategory(), RestoreEditorLayoutAfterAssets(), and window_manager_.
Referenced by LoadAssets().

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

|
private |
Definition at line 2923 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 HandleSessionSwitched(), SetupSidebarCallbacks(), and SyncEditorContextForCategory().

|
private |
Definition at line 2951 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 2804 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 2819 of file editor_manager.cc.
References yaze::editor::kMessage.
Referenced by EnsureEditorAssetsLoaded().
|
private |
Definition at line 2823 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, yaze::editor::ParseEditorTypeFromString(), startup_editor_hint_, startup_panel_hints_, yaze::editor::Editor::type(), and window_manager_.
Referenced by LoadAssets().
|
private |
Definition at line 1976 of file editor_manager.cc.
References yaze::test::TestManager::Get(), and yaze::test::RegisterZ3edTestSuites().
Referenced by Initialize().

|
private |
Definition at line 2663 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 2616 of file editor_manager.cc.
References yaze::editor::UserSettings::ApplyPanelLayoutDefaultsRevision(), yaze::TimingManager::Get(), yaze::TimingManager::GetElapsedTime(), yaze::editor::UserSettings::kLastWorkspaceResetPanelLayoutDefaultsRevision, yaze::editor::UserSettings::kLatestPanelLayoutDefaultsRevision, LOG_INFO, yaze::editor::UserSettings::Preferences::panel_layout_defaults_revision, pending_layout_defaults_reset_, yaze::editor::UserSettings::prefs(), settings_dirty_, settings_dirty_timestamp_, and user_settings_.
Referenced by InitializeServices().

|
private |
Definition at line 2642 of file editor_manager.cc.
References yaze::editor::EditorRegistry::GetEditorTypeFromCategory(), yaze::editor::EditorRegistry::IsExperimentalEditor(), yaze::editor::PreferStartupCategory(), yaze::editor::UserSettings::prefs(), yaze::editor::UserSettings::Preferences::show_experimental_editors, and user_settings_.
Referenced by DrawInterface(), and Initialize().

|
private |
Definition at line 1625 of file editor_manager.cc.
References yaze::zelda3::CustomObjectManager::ActivateRuntimeContext(), yaze::gfx::PaletteManager::ActivateSession(), yaze::zelda3::CustomObjectManager::ActivateStandaloneContext(), CancelPendingRomSave(), CaptureActiveProjectContext(), CaptureRuntimeFeatureFlags(), yaze::editor::SelectionPropertiesPanel::ClearSelection(), editor_activator_, yaze::editor::RomSession::editor_initialized, yaze::editor::RomSession::editors, yaze::editor::EditorTypeIndex(), yaze::editor::RomSession::feature_flags, yaze::editor::RomSession::game_data, yaze::gfx::PaletteManager::Get(), yaze::test::TestManager::Get(), yaze::core::FeatureFlags::get(), yaze::zelda3::CustomObjectManager::Get(), yaze::zelda3::DrawRoutineRegistry::Get(), yaze::editor::WorkspaceWindowManager::GetActiveCategory(), yaze::editor::EditorSet::GetSettingsPanel(), yaze::editor::EditorActivator::InitializeEditorLayout(), yaze::editor::EditorRegistry::IsPanelBasedEditor(), yaze::editor::WorkspaceWindowManager::kDashboardCategory, yaze::editor::kUnknown, layout_manager_, LOG_DEBUG, LOG_ERROR, yaze::editor::UserSettings::Preferences::panel_visibility_state, pending_project_open_previous_session_id_, pending_project_open_transition_, pending_project_rom_selection_, yaze::editor::UserSettings::prefs(), yaze::editor::RomSession::project_context, project_rom_selection_generation_, yaze::zelda3::DrawRoutineRegistry::RefreshFeatureFlagMappings(), RefreshResourceLabelProvider(), ResolveEditorForCategory(), RestoreProjectContextForSession(), yaze::editor::WorkspaceWindowManager::RestoreVisibilityState(), right_drawer_manager_, yaze::editor::RomSession::rom, runtime_feature_flags_session_id_, selection_properties_panel_, yaze::editor::RomSession::session_id(), SetCurrentEditor(), yaze::test::TestManager::SetCurrentRom(), yaze::editor::ContentRegistry::Context::SetEditorWindowContext(), yaze::editor::ContentRegistry::Context::SetGameData(), yaze::editor::ContentRegistry::Context::SetRom(), yaze::editor::SelectionPropertiesPanel::SetRom(), yaze::editor::Editor::type(), UpdateCurrentRomHash(), user_settings_, and window_manager_.
Referenced by SubscribeToEvents().
|
private |
Definition at line 1743 of file editor_manager.cc.
References yaze::gfx::PaletteManager::ActivateSession(), active_project_context_session_id_, BindProjectContextToSession(), CancelPendingRomSave(), CaptureActiveProjectContext(), current_project_, yaze::editor::RomSession::game_data, yaze::gfx::PaletteManager::Get(), LOG_INFO, pending_rom_save_, PendingRomSaveMatchesActiveSession(), yaze::editor::UserSettings::Preferences::pinned_panels, yaze::editor::UserSettings::prefs(), yaze::editor::RomSession::project_context, yaze::project::YazeProject::project_opened(), yaze::editor::WorkspaceWindowManager::RegisterRegistryWindowContentsForSession(), yaze::editor::WorkspaceWindowManager::RestorePinnedState(), RestoreProjectContextForSession(), session_coordinator_, yaze::editor::RomSession::session_id(), UpdateCurrentRomHash(), user_settings_, and window_manager_.
Referenced by SubscribeToEvents().
|
private |
Definition at line 1774 of file editor_manager.cc.
References yaze::gfx::PaletteManager::ActivateSession(), active_project_context_session_id_, CancelPendingRomSave(), CaptureActiveProjectContext(), yaze::editor::ContentRegistry::Context::Clear(), yaze::editor::RomSession::game_data, yaze::gfx::PaletteManager::Get(), yaze::test::TestManager::Get(), yaze::zelda3::CustomObjectManager::Get(), GetCurrentRom(), LOG_INFO, project_management_panel_, RefreshResourceLabelProvider(), yaze::zelda3::CustomObjectManager::RemoveRuntimeContext(), runtime_feature_flags_session_id_, session_coordinator_, yaze::test::TestManager::SetCurrentRom(), and version_manager_.
Referenced by SubscribeToEvents().
|
private |
Definition at line 1036 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_, layout_manager_, 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 711 of file editor_manager.cc.
References activity_bar_, agent_ui_, ApplyLayoutPreset(), yaze::project::YazeProject::assets_folder, CancelQueuedProjectBuild(), yaze::project::YazeProject::code_folder, CommitRawProjectFileSave(), 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_, yaze::util::MakeRomFileDialogOptions(), MarkCurrentProjectDirty(), yaze::editor::WorkspaceWindowManager::MarkWindowRecentlyUsed(), menu_builder_, menu_orchestrator_, yaze::editor::WorkspaceWindowManager::OpenWindow(), popup_manager(), popup_manager_, PrepareRawProjectFileSave(), project_file_editor_, 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(), ReloadProjectRom(), 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(), 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::SetLayoutManager(), yaze::editor::ContentRegistry::Context::SetRunProjectWorkflowCallback(), yaze::editor::ProjectFileEditor::SetSaveCompleteCallback(), yaze::editor::ProjectFileEditor::SetSaveGuardCallback(), yaze::editor::ContentRegistry::Context::SetShowWorkflowOutputCallback(), yaze::editor::ContentRegistry::Context::SetStartBuildWorkflowCallback(), yaze::editor::ContentRegistry::Context::SetUserSettings(), 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_, SwapProjectRom(), 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 1002 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 2081 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 2180 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::i18n::LanguageManager::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::SetActiveFontIndex(), yaze::i18n::LanguageManager::SetLanguage(), yaze::gui::Animator::SetMotionPreferences(), yaze::i18n::LanguageManager::SetOnLanguageChangedCallback(), yaze::gui::ThemeManager::SetOnThemeChangedCallback(), yaze::zelda3::SetPreferHmagicSpriteNames(), settings_dirty_, settings_dirty_timestamp_, yaze::editor::ProjectFileEditor::SetToastManager(), status_, toast_manager_, user_settings_, and window_manager_.
Referenced by Initialize().
|
private |
Definition at line 2283 of file editor_manager.cc.
References yaze::editor::UserSettings::prefs(), SetupDialogCallbacks(), SetupSidebarCallbacks(), yaze::editor::UserSettings::Preferences::show_welcome_on_startup, ui_coordinator_, and user_settings_.
Referenced by Initialize().

|
private |
Definition at line 2293 of file editor_manager.cc.
References yaze::editor::RomLoadOptionsDialog::LoadOptions::create_project, yaze::editor::RomLoadOptionsDialog::LoadOptions::enable_custom_overworld, FinalizeNewProject(), yaze::core::FeatureFlags::get(), yaze::editor::kError, yaze::editor::kSuccess, LOG_INFO, 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, session_coordinator_, yaze::editor::RomLoadOptionsDialog::SetConfirmCallback(), yaze::editor::ToastManager::Show(), show_rom_load_options_, toast_manager_, and ui_coordinator_.
Referenced by SetupComponentCallbacks().

|
private |
Definition at line 2339 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 2451 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 3111 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 3119 of file editor_manager.cc.
References agent_ui_, yaze::editor::UserSettings::Preferences::autosave_enabled, yaze::editor::UserSettings::Preferences::autosave_interval, autosave_timer_, AutosaveActiveSession(), current_editor_, current_project_, yaze::TimingManager::Get(), yaze::test::TestManager::Get(), GetCurrentEditorSet(), GetCurrentRom(), GetCurrentSessionIndex(), yaze::TimingManager::GetElapsedTime(), yaze::editor::kError, yaze::editor::kSuccess, yaze::editor::kUnknown, yaze::editor::kWarning, layout_coordinator_, LOG_DEBUG, LOG_WARN, PollProjectWorkflowTasks(), yaze::editor::UserSettings::prefs(), yaze::editor::LayoutCoordinator::ProcessLayoutRebuild(), yaze::editor::UserSettings::Save(), session_coordinator_, SessionHasPendingUnsavedWork(), 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 3212 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 3275 of file editor_manager.cc.
References activity_bar_, yaze::editor::AgentUIContext::agent_config(), agent_ui_, yaze::editor::StatusBar::ClearActiveEditor(), yaze::editor::StatusBar::ClearAgentInfo(), yaze::editor::StatusBar::ClearDirtyScope(), yaze::editor::StatusBar::ClearEditorContributions(), yaze::editor::StatusBar::ClearProjectWorkflowStatus(), CompactPendingUnsavedWorkLabel(), yaze::editor::Editor::ContributeStatus(), current_editor_, current_project_, dashboard_mode_override_, dashboard_panel_, DescribePendingUnsavedWork(), yaze::Rom::dirty(), yaze::editor::StatusBar::Draw(), yaze::editor::RomLoadOptionsDialog::Draw(), DrawSecondaryWindows(), yaze::editor::WorkspaceWindowManager::DrawVisibleWindows(), yaze::editor::WorkspaceWindowManager::GetActiveCategory(), yaze::editor::WorkspaceWindowManager::GetActiveSessionId(), yaze::editor::AgentUiController::GetAgentEditor(), yaze::editor::EditorRegistry::GetAllEditorCategories(), yaze::editor::AgentUiController::GetContext(), GetCurrentEditorSet(), GetCurrentRom(), GetCurrentSessionId(), GetCurrentSessionIndex(), yaze::editor::GetDrawerTypeName(), yaze::editor::EditorRegistry::GetEditorCategory(), GetPreferredStartupCategory(), yaze::Rom::is_loaded(), IsPanelBasedEditor(), yaze::editor::kDungeon, yaze::editor::kError, yaze::editor::RightDrawerManager::kNone, yaze::editor::RightDrawerManager::kProject, yaze::kShow, yaze::editor::StatusBarSegmentOptions::on_click, yaze::editor::UserSettings::Preferences::panel_visibility_state, yaze::editor::UserSettings::prefs(), yaze::project::YazeProject::project_opened(), yaze::editor::WorkspaceWindowManager::RestoreVisibilityState(), right_drawer_manager_, rom_load_options_dialog_, RunEmulator(), SaveRom(), session_coordinator_, SessionHasPendingRomWork(), SessionHasPendingUnsavedWork(), yaze::editor::WorkspaceWindowManager::SetActiveCategory(), yaze::editor::StatusBar::SetActiveEditor(), yaze::editor::StatusBar::SetAgentInfo(), yaze::editor::StatusBar::SetCustomSegment(), yaze::editor::StatusBar::SetDirtyScope(), yaze::editor::StatusBar::SetRom(), yaze::editor::StatusBar::SetSessionInfo(), yaze::editor::ToastManager::Show(), show_rom_load_options_, startup_editor_hint_, startup_panel_hints_, status_bar_, SyncEditorContextForCategory(), toast_manager_, yaze::editor::StatusBarSegmentOptions::tooltip, yaze::editor::Editor::type(), ui_coordinator_, UpdateSystemUIs(), user_settings_, and window_manager_.
Referenced by Update().
|
private |
Definition at line 3545 of file editor_manager.cc.
References CaptureActiveProjectEditingState(), 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 3610 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 3637 of file editor_manager.cc.
References emulator_, yaze::editor::UserSettings::Preferences::emulator_keep_running_in_background, GetCurrentRom(), yaze::emu::Emulator::is_audio_focus_mode(), yaze::emu::Emulator::is_snes_initialized(), yaze::editor::UserSettings::prefs(), yaze::emu::Emulator::Run(), yaze::emu::Emulator::RunAudioFrame(), yaze::emu::Emulator::RunFrameOnly(), yaze::emu::Emulator::running(), yaze::editor::ShouldTickEmulatorWhenHidden(), ui_coordinator_, and user_settings_.
Referenced by DrawInterface().
|
private |
Definition at line 3666 of file editor_manager.cc.
References yaze::editor::workflow::CreateHackWorkflowBackendForProject(), current_project_, hack_workflow_backend_, and yaze::editor::ContentRegistry::Context::SetHackWorkflowBackend().
Referenced by ApplyCurrentProjectRuntimeContext(), ImportProject(), InitializeSubsystems(), LoadProjectWithRom(), and OpenRomOrProjectInternal().

|
private |
Definition at line 1833 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 ReplaceActiveSessionRom(), and SubscribeToEvents().
|
private |
Definition at line 1142 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(), LoadRomInternal(), OpenRomOrProjectInternal(), and SetCurrentRom().
|
private |
Definition at line 1858 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, 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 6037 of file editor_manager.cc.
References GetCurrentRom(), rom_lifecycle_, and yaze::editor::RomLifecycleManager::UpdateCurrentRomHash().
Referenced by CloseCurrentSession(), ExecutePendingUnsavedSessionAction(), HandleSessionCreated(), HandleSessionSwitched(), LoadProjectWithRom(), LoadRomInternal(), OpenRomOrProjectInternal(), RemoveSession(), ReplaceActiveSessionRom(), SaveRomInternal(), and SetCurrentRom().

|
private |
Definition at line 6032 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 ApplyCurrentProjectRuntimeContext().

|
private |
Definition at line 1207 of file editor_manager.cc.
References active_project_context_session_id_, current_project_, yaze::editor::RomSession::feature_flags, yaze::project::YazeProject::feature_flags, yaze::core::FeatureFlags::get(), ResolveSessionIndexById(), runtime_feature_flags_session_id_, and session_coordinator_.
Referenced by CaptureActiveProjectContext(), HandleSessionSwitched(), and PrepareActiveProjectContextForSave().

|
private |
Definition at line 1278 of file editor_manager.cc.
References active_project_context_session_id_, yaze::editor::ProjectFileEditor::CaptureState(), yaze::editor::RomSession::project_dirty, project_file_editor_, project_management_panel_, ResolveSessionIndexById(), and session_coordinator_.
Referenced by CaptureActiveProjectContext(), DrawSecondaryWindows(), MaybeGuardPendingSessionAction(), PrepareRawProjectFileSave(), SaveActiveProjectEditingWork(), SaveProject(), SaveProjectAs(), ShowProjectFileEditor(), ShowProjectManagement(), and SwapProjectRom().

|
private |
Definition at line 1235 of file editor_manager.cc.
References active_project_context_session_id_, 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, BindProjectContextToSession(), CaptureActiveProjectEditingState(), CaptureRuntimeFeatureFlags(), current_project_, yaze::editor::RomSession::feature_flags, yaze::project::YazeProject::feature_flags, yaze::editor::UserSettings::Preferences::font_global_scale, yaze::project::WorkspaceSettings::font_global_scale, yaze::core::FeatureFlags::get(), yaze::editor::UserSettings::prefs(), ResolveSessionIndexById(), runtime_feature_flags_session_id_, session_coordinator_, user_settings_, and yaze::project::YazeProject::workspace_settings.
Referenced by DetachActiveProjectContext(), FinalizeNewProject(), HandleSessionClosed(), HandleSessionCreated(), HandleSessionSwitched(), LoadProjectWithRom(), LoadRomInternal(), OpenRomOrProjectInternal(), PrepareActiveProjectContextForSave(), RepairCurrentProject(), SaveProject(), SaveProjectAs(), and SwapProjectRom().
|
private |
Definition at line 1301 of file editor_manager.cc.
References IsCurrentProjectContextOwnedBySession(), and session_coordinator_.
Referenced by SaveProject(), and SaveProjectAs().

|
private |
Definition at line 1316 of file editor_manager.cc.
References active_project_context_session_id_, CaptureActiveProjectContext(), project_management_panel_, runtime_feature_flags_session_id_, and version_manager_.
Referenced by CreateNewProjectFromRom(), ImportProject(), OpenProjectInternal(), and OpenRomOrProjectInternal().

|
private |
Definition at line 1474 of file editor_manager.cc.
References ConfigureSession(), yaze::editor::RomSession::feature_flags, yaze::project::YazeProject::feature_flags, yaze::editor::RomSession::project_context, and yaze::editor::RomSession::version_manager.
Referenced by CaptureActiveProjectContext(), CommitRawProjectFileSave(), FinalizeNewProject(), HandleSessionCreated(), ImportProject(), LoadProjectWithRom(), and SwapProjectRom().

|
private |
Definition at line 1553 of file editor_manager.cc.
References active_project_context_session_id_, ApplyCurrentProjectRuntimeContext(), ConfigureSession(), current_project_, yaze::editor::RomSession::feature_flags, yaze::project::YazeProject::feature_flags, yaze::editor::RomSession::project_context, project_management_panel_, RestoreProjectEditingStateForSession(), rom_lifecycle_, runtime_feature_flags_session_id_, yaze::editor::RomSession::session_id(), yaze::editor::RomLifecycleManager::SetProjectContext(), yaze::editor::RomSession::version_manager, and version_manager_.
Referenced by FinalizeNewProject(), HandleSessionCreated(), HandleSessionSwitched(), ImportProject(), LoadProjectWithRom(), and RestoreProjectContextAfterFailedOpen().
|
private |
Definition at line 1580 of file editor_manager.cc.
References current_project_, yaze::editor::ProjectFileEditorState::initialized, yaze::editor::RomSession::project_dirty, project_file_editor_, yaze::editor::RomSession::project_file_editor_state, project_management_panel_, yaze::editor::ProjectFileEditor::ResetForProject(), and yaze::editor::ProjectFileEditor::RestoreState().
Referenced by RestoreProjectContextForSession().

|
private |
Definition at line 5525 of file editor_manager.cc.
References CaptureActiveProjectEditingState(), yaze::editor::ProjectFileEditor::CaptureState(), current_project_, yaze::editor::ProjectFileEditor::filepath(), yaze::project::YazeProject::filepath, project_file_editor_, yaze::project::YazeProject::project_opened(), ProjectFileDraftTargetsCurrentProject(), RETURN_IF_ERROR, yaze::editor::ProjectFileEditor::SaveFile(), SaveProject(), and session_coordinator_.
Referenced by AutosaveActiveSession(), and ConfirmPendingUnsavedSessionActionSaveAndContinue().
|
private |
Definition at line 1378 of file editor_manager.cc.
References CaptureActiveProjectEditingState(), current_project_, yaze::project::YazeProject::filepath, IsCurrentProjectDirty(), yaze::project::YazeProject::LoadFromString(), yaze::editor::SessionCoordinator::PathsReferToSameBackingFile(), yaze::project::YazeProject::project_opened(), RETURN_IF_ERROR, yaze::project::YazeProject::rom_filename, and session_coordinator_.
Referenced by InitializeSubsystems().
|
private |
Definition at line 1422 of file editor_manager.cc.
References active_project_context_session_id_, ApplyCurrentProjectRuntimeContext(), BindProjectContextToSession(), current_project_, yaze::project::YazeProject::filepath, yaze::project::YazeProject::LoadFromString(), yaze::editor::SessionCoordinator::PathsReferToSameBackingFile(), project_management_panel_, RETURN_IF_ERROR, runtime_feature_flags_session_id_, session_coordinator_, and version_manager_.
Referenced by InitializeSubsystems().

|
private |
Definition at line 5228 of file editor_manager.cc.
References yaze::gfx::PaletteManager::ActivateSession(), ApplyCurrentProjectRuntimeContext(), ConfigureSession(), yaze::editor::EditorTypeIndex(), EnsureGameDataLoaded(), yaze::gfx::PaletteManager::Get(), GetCurrentSessionIndex(), HandleSessionRomLoaded(), yaze::editor::kDungeon, yaze::editor::kScreen, LoadAssetsForMode(), yaze::gfx::PaletteManager::ReleaseSession(), ResetAssetState(), session_coordinator_, and UpdateCurrentRomHash().
Referenced by DiscardPendingRomBackupRestore(), ReloadProjectRom(), RestoreRomBackup(), and SwapProjectRom().
|
private |
Definition at line 1369 of file editor_manager.cc.
References current_project_, yaze::editor::ProjectFileEditor::filepath(), yaze::project::YazeProject::filepath, yaze::editor::SessionCoordinator::PathsReferToSameBackingFile(), and project_file_editor_.
Referenced by SaveActiveProjectEditingWork(), SaveProject(), and SwapProjectRom().

|
private |
Definition at line 1452 of file editor_manager.cc.
References yaze::editor::ProjectFileEditor::CaptureState(), current_project_, yaze::editor::ProjectFileEditor::is_active(), yaze::editor::ProjectFileEditor::LoadFile(), LOG_WARN, project_file_editor_, session_coordinator_, yaze::editor::ProjectFileEditor::set_active(), and yaze::editor::ProjectFileEditor::SetProject().
Referenced by FinalizeNewProject(), SaveProject(), SaveProjectAs(), ShowProjectFileEditor(), and SwapProjectRom().
|
private |
Definition at line 1326 of file editor_manager.cc.
References active_project_context_session_id_, ApplyCurrentProjectRuntimeContext(), current_project_, pending_project_open_previous_session_id_, pending_project_open_transition_, project_file_editor_, yaze::editor::ProjectFileEditor::ResetForProject(), ResolveSessionIndexById(), RestoreProjectContextForSession(), runtime_feature_flags_session_id_, session_coordinator_, and version_manager_.
Referenced by CreateNewProjectFromRom(), LoadProjectWithRom(), LoadRomInternal(), OpenProjectInternal(), and OpenRomOrProjectInternal().

|
private |
Definition at line 1354 of file editor_manager.cc.
References session_coordinator_.
Referenced by CreateNewProjectFromRom(), LoadProjectWithRom(), LoadRomInternal(), and OpenRomOrProjectInternal().
|
private |
Definition at line 1497 of file editor_manager.cc.
References ApplyDefaultBackupPolicy(), yaze::editor::RomLifecycleManager::ApplyDefaultBackupPolicy(), 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, current_project_, yaze::project::YazeProject::feature_flags, yaze::editor::UserSettings::Preferences::font_global_scale, yaze::project::WorkspaceSettings::font_global_scale, yaze::core::FeatureFlags::get(), yaze::core::RomSettings::Get(), yaze::zelda3::CustomObjectManager::Get(), yaze::zelda3::DrawRoutineRegistry::Get(), yaze::project::YazeProject::GetAbsolutePath(), GetCurrentRom(), yaze::editor::UserSettings::prefs(), project_management_panel_, yaze::project::YazeProject::project_opened(), yaze::zelda3::DrawRoutineRegistry::RefreshFeatureFlagMappings(), RefreshHackWorkflowBackend(), yaze::project::YazeProject::rom_address_overrides, yaze::project::YazeProject::rom_backup_folder, rom_lifecycle_, session_coordinator_, yaze::core::RomSettings::SetAddressOverrides(), yaze::editor::ContentRegistry::Context::SetCurrentProject(), yaze::editor::RomLifecycleManager::SetProjectContext(), SyncLayoutScopeFromCurrentProject(), user_settings_, version_manager_, and yaze::project::YazeProject::workspace_settings.
Referenced by CommitRawProjectFileSave(), FinalizeNewProject(), LoadRomInternal(), ReplaceActiveSessionRom(), RestoreProjectContextAfterFailedOpen(), RestoreProjectContextForSession(), and SwapProjectRom().
|
private |
Definition at line 1602 of file editor_manager.cc.
References active_project_context_session_id_, CaptureActiveProjectContext(), CaptureRuntimeFeatureFlags(), and session_coordinator_.
Referenced by SaveRomInternal().

|
private |
Definition at line 5725 of file editor_manager.cc.
References yaze::editor::ProjectWorkflowStatus::visible.
Referenced by BuildCurrentProject(), CancelQueuedProjectBuild(), PollProjectWorkflowTasks(), and QueueBuildCurrentProject().
|
private |
Definition at line 5738 of file editor_manager.cc.
References yaze::editor::ProjectWorkflowStatus::visible.
Referenced by RunCurrentProject().
|
private |
Definition at line 5748 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 5692 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 5707 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 4046 of file editor_manager.cc.
References yaze::editor::RomLifecycleManager::CheckRomWritePolicy(), GetCurrentRom(), and rom_lifecycle_.
Referenced by SaveRomInternal().

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

|
private |
Definition at line 4133 of file editor_manager.cc.
References yaze::core::HackManifest::AnalyzePcWriteRanges(), yaze::editor::RomLifecycleManager::ApplyDefaultBackupPolicy(), ASSIGN_OR_RETURN, 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::ScopedRomTransaction::Commit(), yaze::rom::ComputeDiffRanges(), yaze::editor::RomLifecycleManager::ConsumeWriteConflictBypass(), current_project_, yaze::core::FeatureFlags::Flags::dungeon, EnsureEditorAssetsLoaded(), yaze::core::FeatureFlags::get(), yaze::project::YazeProject::GetAbsolutePath(), GetCurrentEditorSet(), GetCurrentRom(), GetCurrentSessionId(), yaze::project::RecentFilesManager::GetInstance(), 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::editor::PopupID::kSaveAs, 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(), PrepareActiveProjectContextForSave(), yaze::project::YazeProject::project_opened(), RETURN_IF_ERROR, yaze::project::YazeProject::rom_backup_folder, rom_file_manager_, rom_lifecycle_, yaze::editor::RomFileManager::SaveRom(), yaze::editor::RomFileManager::SaveRomAs(), session_coordinator_, yaze::editor::RomLifecycleManager::SetPendingWriteConflicts(), yaze::editor::RomLifecycleManager::SetPotItemConfirmPending(), yaze::editor::RomLifecycleManager::SetProjectContext(), yaze::editor::RomLifecycleManager::ShouldBypassPotItemConfirm(), yaze::editor::RomLifecycleManager::ShouldBypassWriteConflict(), yaze::editor::RomLifecycleManager::ShouldSuppressPotItemSave(), yaze::editor::ToastManager::Show(), toast_manager_, UpdateCurrentRomHash(), user_settings_, and yaze::project::YazeProject::workspace_settings.
Referenced by ResumePendingRomSave(), SaveRom(), and SaveRomAs().
|
private |
Definition at line 4055 of file editor_manager.cc.
References yaze::editor::RomLifecycleManager::HasPendingPotItemSaveConfirmation(), yaze::editor::RomLifecycleManager::IsRomWriteConfirmPending(), yaze::editor::RomLifecycleManager::pending_write_conflicts(), and rom_lifecycle_.
Referenced by ConfirmPendingUnsavedSessionActionSaveAndContinue(), FinishPendingRomSaveAttempt(), and SaveRomAs().

|
private |
Definition at line 4061 of file editor_manager.cc.
References GetCurrentRom(), GetCurrentSessionIndex(), pending_rom_save_, and session_coordinator_.
Referenced by ConfirmPendingUnsavedSessionActionSaveAndContinue(), ConfirmRomWrite(), HandleSessionCreated(), and ResumePendingRomSave().

|
private |
Definition at line 4100 of file editor_manager.cc.
References CancelPendingRomSave(), and HasPendingRomSaveConfirmation().
Referenced by ResumePendingRomSave(), SaveRom(), and SaveRomAs().

|
private |
Definition at line 4070 of file editor_manager.cc.
References yaze::editor::PopupID::kDungeonPotItemSaveConfirm, yaze::editor::PopupID::kRomWriteConfirm, yaze::editor::PopupID::kSaveAs, yaze::editor::PopupID::kWriteConflictWarning, pending_rom_save_, popup_manager_, yaze::editor::RomLifecycleManager::ResetPendingSaveState(), and rom_lifecycle_.
Referenced by CancelRomWriteConfirm(), ClearPendingWriteConflicts(), FinishPendingRomSaveAttempt(), HandleSessionClosed(), HandleSessionCreated(), HandleSessionSwitched(), ResolvePotItemSaveConfirmation(), ResumePendingRomSave(), and StartPendingRomSave().

|
private |
Definition at line 4086 of file editor_manager.cc.
References CancelPendingRomSave(), GetCurrentRom(), GetCurrentSessionIndex(), pending_rom_save_, and session_coordinator_.
Referenced by SaveRom(), and SaveRomAs().

|
private |
Definition at line 3705 of file editor_manager.cc.
References active_project_context_session_id_, ApplyCurrentProjectRuntimeContext(), CaptureActiveProjectContext(), ConfigureEditorDependencies(), DiscardProvisionalSessionCreatedSince(), yaze::test::TestManager::Get(), GetCurrentEditorSet(), GetCurrentRom(), GetCurrentSessionId(), yaze::project::RecentFilesManager::GetInstance(), yaze::editor::kWarning, LoadAssetsForMode(), yaze::editor::RomFileManager::LoadRom(), yaze::util::MakeRomFileDialogOptions(), yaze::editor::RomLoadOptionsDialog::Open(), OpenRomOrProjectInternal(), yaze::platform::ios::PostOverlayCommand(), RefreshResourceLabelProvider(), RestoreProjectContextAfterFailedOpen(), 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 ExecutePendingUnsavedSessionAction(), and LoadRom().
|
private |
Definition at line 4438 of file editor_manager.cc.
References active_project_context_session_id_, CaptureActiveProjectContext(), yaze::editor::RomLifecycleManager::CheckRomOpenPolicy(), yaze::project::YazeProject::code_folder, ConfigureEditorDependencies(), current_project_, DetachActiveProjectContext(), DiscardProvisionalSessionCreatedSince(), 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(), pending_project_open_previous_session_id_, pending_project_open_transition_, RefreshHackWorkflowBackend(), RefreshResourceLabelProvider(), RestoreProjectContextAfterFailedOpen(), RETURN_IF_ERROR, rom_file_manager_, yaze::project::YazeProject::rom_filename, rom_lifecycle_, session_coordinator_, yaze::editor::WorkspaceWindowManager::SetActiveCategory(), yaze::test::TestManager::SetCurrentRom(), yaze::editor::WorkspaceWindowManager::SetFileBrowserPath(), SyncLayoutScopeFromCurrentProject(), ui_coordinator_, UpdateCurrentRomHash(), and window_manager_.
Referenced by CreateNewProjectFromRom(), ExecutePendingUnsavedSessionAction(), LoadRomInternal(), and OpenRomOrProject().
|
private |
Definition at line 4747 of file editor_manager.cc.
References active_project_context_session_id_, current_project_, DetachActiveProjectContext(), yaze::editor::kWarning, LoadProjectWithRom(), yaze::project::YazeProject::Open(), pending_project_open_previous_session_id_, pending_project_open_transition_, popup_manager_, yaze::platform::ios::PostOverlayCommand(), RestoreProjectContextAfterFailedOpen(), RETURN_IF_ERROR, yaze::project::YazeProject::rom_filename, session_coordinator_, yaze::editor::ToastManager::Show(), yaze::util::FileDialogWrapper::ShowOpenFileDialog(), SyncLayoutScopeFromCurrentProject(), toast_manager_, and yaze::project::YazeProject::Validate().
Referenced by ExecutePendingUnsavedSessionAction(), and OpenProject().
|
private |
Definition at line 4799 of file editor_manager.cc.
References yaze::editor::RomLifecycleManager::CheckRomOpenPolicy(), current_project_, yaze::editor::RomFileManager::LoadRom(), pending_project_rom_selection_, yaze::editor::EditorManager::PendingProjectRomSelection::previous_path, RETURN_IF_ERROR, rom_file_manager_, yaze::project::YazeProject::rom_filename, rom_lifecycle_, and session_coordinator_.
Referenced by LoadProjectWithRom().

|
private |
Definition at line 6260 of file editor_manager.cc.
References session_coordinator_.
Referenced by CaptureActiveProjectContext(), CaptureActiveProjectEditingState(), CaptureRuntimeFeatureFlags(), ConfigureEditorDependencies(), ConfirmPendingUnsavedSessionActionSaveAndContinue(), ExecutePendingUnsavedSessionAction(), GetPendingUnsavedSessionActionPrompt(), MaybeGuardPendingSessionAction(), and RestoreProjectContextAfterFailedOpen().
|
private |
Definition at line 6486 of file editor_manager.cc.
References CaptureActiveProjectEditingState(), HasAnySessionPendingUnsavedWork(), yaze::editor::EditorManager::PendingUnsavedSessionAction::kQuit, yaze::editor::PopupID::kUnsavedSessionChanges, pending_unsaved_session_action_, popup_manager_, ResolveSessionIndexById(), SessionHasPendingUnsavedWork(), yaze::editor::EditorManager::PendingUnsavedSessionAction::source_session_id, and yaze::editor::EditorManager::PendingUnsavedSessionAction::type.
Referenced by CloseCurrentSession(), LoadRom(), OpenProject(), OpenRomOrProject(), Quit(), RemoveSession(), and SwitchToSession().

|
private |
Definition at line 6506 of file editor_manager.cc.
References yaze::editor::EditorManager::PendingUnsavedSessionAction::kCloseSession, yaze::editor::kError, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenProjectDialog, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenRomDialog, yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenRomOrProjectPath, yaze::editor::EditorManager::PendingUnsavedSessionAction::kQuit, yaze::editor::EditorManager::PendingUnsavedSessionAction::kSwitchSession, LoadRomInternal(), OpenProjectInternal(), OpenRomOrProjectInternal(), yaze::editor::EditorManager::PendingUnsavedSessionAction::path, quit_, ResolveSessionIndexById(), session_coordinator_, yaze::editor::ToastManager::Show(), yaze::editor::EditorManager::PendingUnsavedSessionAction::target_session_id, toast_manager_, yaze::editor::EditorManager::PendingUnsavedSessionAction::type, and UpdateCurrentRomHash().
Referenced by ConfirmPendingUnsavedSessionActionDiscardAndContinue(), and ConfirmPendingUnsavedSessionActionSaveAndContinue().
|
private |
Definition at line 6561 of file editor_manager.cc.
References session_coordinator_, and SessionHasPendingRomWork().
Referenced by AutosaveActiveSession(), ConfirmPendingUnsavedSessionActionSaveAndContinue(), DescribeAllPendingUnsavedWork(), DrawInterface(), MaybeGuardPendingSessionAction(), ModifiedSessionCount(), and UpdateEditorState().

|
private |
Definition at line 6576 of file editor_manager.cc.
References yaze::gfx::PaletteManager::Get(), HasPendingDungeonChangesForSession(), yaze::gfx::PaletteManager::HasUnsavedChanges(), and session_coordinator_.
Referenced by AutosaveActiveSession(), ConfirmPendingUnsavedSessionActionSaveAndContinue(), DrawInterface(), ReloadProjectRom(), RestoreRomBackup(), SessionHasPendingUnsavedWork(), and SwapProjectRom().

|
private |
Definition at line 6592 of file editor_manager.cc.
References ModifiedSessionCount().
Referenced by CreateNewProject(), CreateNewProjectFromRom(), and MaybeGuardPendingSessionAction().

|
private |
Definition at line 6596 of file editor_manager.cc.
References yaze::editor::kDungeon, and session_coordinator_.
Referenced by CompactPendingUnsavedWorkLabel(), DescribePendingUnsavedWork(), DiscardPendingRomBackupRestore(), and SessionHasPendingRomWork().
|
private |
Definition at line 6616 of file editor_manager.cc.
References yaze::editor::kDungeon, and session_coordinator_.
Referenced by CompactPendingUnsavedWorkLabel(), and DescribePendingUnsavedWork().
|
private |
Definition at line 6636 of file editor_manager.cc.
References yaze::gfx::PaletteManager::Get(), yaze::gfx::PaletteManager::GetModifiedColorCount(), and session_coordinator_.
Referenced by CompactPendingUnsavedWorkLabel(), and DescribePendingUnsavedWork().

|
private |
Definition at line 6650 of file editor_manager.cc.
References session_coordinator_, and SessionHasPendingUnsavedWork().
Referenced by DescribeAllPendingUnsavedWork(), GetPendingUnsavedSessionActionSaveLabel(), and HasAnySessionPendingUnsavedWork().

|
private |
Definition at line 6664 of file editor_manager.cc.
References HasPendingDungeonChangesForSession(), yaze::Rom::is_loaded(), PendingDungeonRoomCountForSession(), PendingPaletteColorCountForSession(), yaze::editor::RomSession::rom, and session_coordinator_.
Referenced by ConfirmPendingUnsavedSessionActionSaveAndContinue(), DescribeAllPendingUnsavedWork(), DrawInterface(), and GetPendingUnsavedSessionActionPrompt().

|
private |
Definition at line 6724 of file editor_manager.cc.
References HasPendingDungeonChangesForSession(), yaze::Rom::is_loaded(), PendingDungeonRoomCountForSession(), PendingPaletteColorCountForSession(), yaze::editor::RomSession::rom, and session_coordinator_.
Referenced by DrawInterface().

|
private |
Definition at line 6775 of file editor_manager.cc.
References DescribePendingUnsavedWork(), ModifiedSessionCount(), session_coordinator_, and SessionHasPendingUnsavedWork().
Referenced by GetPendingUnsavedSessionActionPrompt().

|
private |
Definition at line 6997 of file editor_manager.cc.
References yaze::editor::EditorSet::ApplyDependencies(), yaze::editor::EditorDependencies::custom_data, editor_context_, yaze::editor::EditorDependencies::emulator, emulator_, EnsureEditorAssetsLoaded(), yaze::editor::EditorDependencies::game_data, yaze::core::FeatureFlags::get(), GetCurrentEditorSet(), GetCurrentSessionId(), yaze::editor::EditorSet::GetSettingsPanel(), yaze::editor::EditorDependencies::gfx_group_workspace, yaze::editor::EditorSet::gfx_group_workspace(), yaze::editor::EditorDependencies::global_context, IsCurrentProjectContextOwnedBySession(), yaze::editor::kDungeon, yaze::editor::DungeonEditorV2::kMinecartTrackEditorId, yaze::editor::WorkspaceWindowManager::OpenWindow(), yaze::editor::EditorDependencies::popup_manager, popup_manager_, yaze::editor::EditorDependencies::project, yaze::editor::EditorDependencies::renderer, renderer_, ResolveSessionIndexById(), RETURN_IF_ERROR, yaze::editor::EditorDependencies::rom, selection_properties_panel_, session_coordinator_, 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_, SwitchToEditor(), yaze::editor::EditorDependencies::toast_manager, toast_manager_, yaze::editor::EditorDependencies::user_settings, user_settings_, yaze::editor::EditorDependencies::version_manager, yaze::editor::EditorDependencies::window_manager, and window_manager_.
Referenced by ConfigureSession(), LoadProjectWithRom(), LoadRomInternal(), and OpenRomOrProjectInternal().
|
private |
Definition at line 644 of file editor_manager.cc.
References current_project_, layout_manager_, yaze::project::YazeProject::MakeStorageKey(), and yaze::project::YazeProject::project_opened().
Referenced by ApplyCurrentProjectRuntimeContext(), CreateNewProjectFromRom(), ImportProject(), OpenProjectInternal(), OpenRomOrProjectInternal(), and SaveProjectAs().

|
friend |
Definition at line 99 of file editor_manager.h.
|
private |
Definition at line 545 of file editor_manager.h.
Referenced by ExecutePendingUnsavedSessionAction(), Quit(), and quit().
|
private |
Definition at line 551 of file editor_manager.h.
|
private |
Definition at line 552 of file editor_manager.h.
|
private |
Definition at line 553 of file editor_manager.h.
|
private |
Definition at line 559 of file editor_manager.h.
Referenced by InitializeServices(), InitializeSubsystems(), and UpdateSystemUIs().
|
private |
Definition at line 560 of file editor_manager.h.
|
private |
Definition at line 563 of file editor_manager.h.
Referenced by DrawInterface(), InitializeServices(), InitializeSubsystems(), ResolveEditorForCategory(), UpdateEditorState(), and UpdateSystemUIs().
|
private |
Definition at line 566 of file editor_manager.h.
Referenced by CaptureActiveProjectEditingState(), DrawSecondaryWindows(), InitializeServices(), InitializeSubsystems(), project_file_editor(), ProjectFileDraftTargetsCurrentProject(), RebaseCleanProjectFileDraft(), RestoreProjectContextAfterFailedOpen(), RestoreProjectEditingStateForSession(), SaveActiveProjectEditingWork(), and ShowProjectFileEditor().
|
private |
Definition at line 569 of file editor_manager.h.
Referenced by ApplyStartupVisibilityOverrides(), DrawInterface(), OpenEditorAndPanelsFromFlags(), and RegisterEditors().
|
private |
Definition at line 570 of file editor_manager.h.
Referenced by DrawInterface(), LoadRomInternal(), and SetupDialogCallbacks().
|
private |
Definition at line 571 of file editor_manager.h.
Referenced by DrawInterface(), LoadRomInternal(), and SetupDialogCallbacks().
|
private |
Definition at line 572 of file editor_manager.h.
Referenced by ApplyStartupVisibility(), ApplyStartupVisibilityOverrides(), and SetStartupLoadHints().
|
private |
Definition at line 573 of file editor_manager.h.
Referenced by ApplyStartupVisibility(), ApplyStartupVisibilityOverrides(), CollectEditorsToPreload(), DrawInterface(), Initialize(), and SetStartupLoadHints().
|
private |
Definition at line 574 of file editor_manager.h.
Referenced by ApplyStartupVisibility(), ApplyStartupVisibilityOverrides(), and SetStartupLoadHints().
|
private |
Definition at line 575 of file editor_manager.h.
Referenced by asset_load_mode(), LoadAssetsForMode(), and SetAssetLoadMode().
|
private |
Definition at line 576 of file editor_manager.h.
Referenced by CollectEditorsToPreload(), DrawInterface(), Initialize(), and SetStartupLoadHints().
|
private |
Definition at line 577 of file editor_manager.h.
Referenced by CollectEditorsToPreload(), DrawInterface(), Initialize(), and SetStartupLoadHints().
|
private |
Definition at line 580 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), HandleSessionSwitched(), and InitializeSubsystems().
|
private |
Definition at line 583 of file editor_manager.h.
Referenced by ApplyCurrentProjectRuntimeContext(), BuildCurrentProject(), CancelQueuedProjectBuild(), CaptureActiveProjectEditingState(), CommitRawProjectFileSave(), DetachActiveProjectContext(), HandleSessionClosed(), InitializeSubsystems(), IsCurrentProjectDirty(), LoadProjectWithRom(), MarkCurrentProjectDirty(), PollProjectWorkflowTasks(), project_management_panel(), QueueBuildCurrentProject(), RestoreProjectContextForSession(), RestoreProjectEditingStateForSession(), RunCurrentProject(), SaveProject(), SaveProjectAs(), ShowProjectManagement(), and SwapProjectRom().
|
private |
Definition at line 585 of file editor_manager.h.
Referenced by EditorManager(), and version().
|
private |
Definition at line 586 of file editor_manager.h.
Referenced by InitializeServices(), Update(), and UpdateEditorState().
|
private |
Definition at line 587 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), emulator(), Initialize(), LoadAssets(), LoadAssetsLazy(), RunCurrentProject(), and RunEmulator().
|
private |
Definition at line 591 of file editor_manager.h.
Referenced by ApplyLayoutProfile(), CollectEditorsToPreload(), DrawInterface(), GetCurrentEditor(), ResetCurrentEditorLayout(), SetCurrentEditor(), and UpdateEditorState().
|
private |
Definition at line 595 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), Initialize(), LoadAssets(), and LoadAssetsLazy().
|
private |
Definition at line 597 of file editor_manager.h.
Referenced by ApplyCurrentProjectRuntimeContext(), CaptureActiveProjectContext(), CaptureRuntimeFeatureFlags(), CommitRawProjectFileSave(), CreateNewProjectFromRom(), DrawInterface(), FinalizeNewProject(), GetCurrentProject(), GetCurrentProject(), GetProjectExpectedRomHash(), GetProjectRomRole(), GetProjectRomWritePolicy(), HandleSessionCreated(), ImportProject(), InitializeSubsystems(), LoadProjectWithRom(), OpenProjectInternal(), OpenRomOrProjectInternal(), PrepareRawProjectFileSave(), ProjectFileDraftTargetsCurrentProject(), QueueBuildCurrentProject(), RebaseCleanProjectFileDraft(), RefreshHackWorkflowBackend(), RefreshResourceLabelProvider(), ReloadProjectRom(), RepairCurrentProject(), ResolveProjectBuildCommand(), ResolveProjectRunTarget(), RestoreProjectContextAfterFailedOpen(), RestoreProjectContextForSession(), RestoreProjectEditingStateForSession(), RunProjectBuildCommand(), SaveActiveProjectEditingWork(), SaveProject(), SaveProjectAs(), SaveProjectAs(), SaveRomInternal(), ShowProjectFileEditor(), ShowProjectManagement(), SwapProjectRom(), SyncLayoutScopeFromCurrentProject(), UpdateEditorState(), UpdateSystemUIs(), and ValidateProjectRomSelection().
|
private |
Definition at line 602 of file editor_manager.h.
Referenced by HandleSessionSwitched(), LoadProjectWithRom(), and ValidateProjectRomSelection().
|
private |
Definition at line 603 of file editor_manager.h.
Referenced by HandleSessionSwitched(), and LoadProjectWithRom().
|
private |
Definition at line 604 of file editor_manager.h.
Referenced by HandleSessionSwitched(), LoadProjectWithRom(), OpenProjectInternal(), OpenRomOrProjectInternal(), and RestoreProjectContextAfterFailedOpen().
|
private |
Definition at line 605 of file editor_manager.h.
Referenced by HandleSessionSwitched(), LoadProjectWithRom(), OpenProjectInternal(), OpenRomOrProjectInternal(), and RestoreProjectContextAfterFailedOpen().
|
private |
Definition at line 608 of file editor_manager.h.
Referenced by CaptureActiveProjectContext(), CaptureActiveProjectEditingState(), CaptureRuntimeFeatureFlags(), CommitRawProjectFileSave(), CreateNewProjectFromRom(), DetachActiveProjectContext(), FinalizeNewProject(), HandleSessionClosed(), HandleSessionCreated(), IsCurrentProjectContextOwnedBySession(), LoadProjectWithRom(), LoadRomInternal(), OpenProjectInternal(), OpenRomOrProjectInternal(), PrepareActiveProjectContextForSave(), RestoreProjectContextAfterFailedOpen(), and RestoreProjectContextForSession().
|
private |
Definition at line 611 of file editor_manager.h.
Referenced by CaptureActiveProjectContext(), CaptureRuntimeFeatureFlags(), CommitRawProjectFileSave(), DetachActiveProjectContext(), FinalizeNewProject(), HandleSessionClosed(), HandleSessionSwitched(), RestoreProjectContextAfterFailedOpen(), and RestoreProjectContextForSession().
|
private |
Definition at line 615 of file editor_manager.h.
Referenced by ApplyCurrentProjectRuntimeContext(), CommitRawProjectFileSave(), DetachActiveProjectContext(), FinalizeNewProject(), GetVersionManager(), HandleSessionClosed(), LoadProjectWithRom(), RestoreProjectContextAfterFailedOpen(), RestoreProjectContextForSession(), and ShowProjectManagement().
|
private |
Definition at line 616 of file editor_manager.h.
Referenced by ConfigureEditorDependencies().
|
private |
Definition at line 617 of file editor_manager.h.
Referenced by CancelPendingRomSave(), CancelPendingUnsavedSessionAction(), ConfigureEditorDependencies(), ConfirmPendingUnsavedSessionActionDiscardAndContinue(), ConfirmPendingUnsavedSessionActionSaveAndContinue(), HandleUIActionRequest(), InitializeShortcutSystem(), InitializeSubsystems(), MaybeGuardPendingSessionAction(), OpenProjectInternal(), popup_manager(), and SaveRomInternal().
|
private |
Definition at line 618 of file editor_manager.h.
Referenced by ApplyLayoutProfile(), BuildCurrentProject(), CaptureTemporaryLayoutSnapshot(), ClearTemporaryLayoutSnapshot(), ConfigureEditorDependencies(), ConfirmPendingUnsavedSessionActionSaveAndContinue(), DeleteLayoutSnapshot(), DrawInterface(), ExecutePendingUnsavedSessionAction(), HandleUIActionRequest(), InitializeServices(), InitializeShortcutSystem(), InitializeSubsystems(), LoadProjectWithRom(), LoadRomInternal(), OpenProjectInternal(), PollProjectWorkflowTasks(), ProcessStartupActions(), QueueBuildCurrentProject(), RepairCurrentProject(), ResetCurrentEditorLayout(), ResolvePotItemSaveConfirmation(), RestoreLayoutSnapshot(), RestoreTemporaryLayoutSnapshot(), RunCurrentProject(), SaveLayoutSnapshotAs(), SaveProjectAs(), SaveRomInternal(), SetupDialogCallbacks(), ShowProjectFileEditor(), SwitchToEditor(), toast_manager(), and UpdateEditorState().
|
private |
Definition at line 619 of file editor_manager.h.
Referenced by InitializeSubsystems(), and menu_builder().
|
private |
Definition at line 620 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), InitializeShortcutSystem(), InitializeSubsystems(), and ProcessInput().
|
private |
Definition at line 621 of file editor_manager.h.
Referenced by ApplyCurrentProjectRuntimeContext(), ApplyDefaultBackupPolicy(), ApplyLayoutDefaultsMigrationIfNeeded(), CaptureActiveProjectContext(), ConfigureEditorDependencies(), ConfigureSession(), DrawInterface(), FinalizeNewProject(), GetPreferredStartupCategory(), HandleSessionCreated(), HandleSessionSwitched(), Initialize(), InitializeServices(), InitializeShortcutSystem(), InitializeSubsystems(), LoadAssets(), LoadAssetsLazy(), LoadProjectWithRom(), RefreshResourceLabelProvider(), RestoreEditorLayoutAfterAssets(), RunEmulator(), SaveProject(), SaveRomInternal(), SetFontGlobalScale(), SetupComponentCallbacks(), SetupSidebarCallbacks(), SubscribeToEvents(), SwitchToEditor(), UpdateEditorState(), user_settings(), and user_settings().
|
private |
Definition at line 625 of file editor_manager.h.
Referenced by ApplyStartupVisibilityOverrides(), CollectEditorsToPreload(), ConfigureEditorDependencies(), DrawInterface(), DrawMainMenuBar(), DrawSecondaryWindows(), GetWindowManager(), HandleSessionCreated(), HandleSessionSwitched(), Initialize(), InitializeServices(), InitializeShortcutSystem(), InitializeSubsystems(), LoadProjectWithRom(), OpenEditorAndPanelsFromFlags(), OpenRomOrProjectInternal(), RegisterEditors(), RegisterEmulatorPanels(), RestoreActiveEditorLayoutAfterAssets(), RestoreEditorLayoutAfterAssets(), SetupSidebarCallbacks(), window_manager(), and window_manager().
|
private |
Definition at line 626 of file editor_manager.h.
Referenced by InitializeSubsystems(), panel_host(), panel_host(), RegisterEditors(), RegisterEmulatorPanels(), window_host(), and window_host().
|
private |
Definition at line 627 of file editor_manager.h.
Referenced by Initialize(), InitializeShortcutSystem(), and InitializeSubsystems().
|
private |
Definition at line 628 of file editor_manager.h.
Referenced by DrawMainMenuBar(), InitializeShortcutSystem(), and InitializeSubsystems().
|
private |
Definition at line 629 of file editor_manager.h.
Referenced by CreateNewProjectFromRom(), FinalizeNewProject(), ImportProject(), InitializeShortcutSystem(), and InitializeSubsystems().
|
private |
Definition at line 630 of file editor_manager.h.
Referenced by DiscardPendingRomBackupRestore(), InitializeShortcutSystem(), InitializeSubsystems(), LoadProjectWithRom(), LoadRomInternal(), OpenRomOrProjectInternal(), ReloadProjectRom(), RestoreRomBackup(), RunCurrentProject(), SaveRomInternal(), SwapProjectRom(), and ValidateProjectRomSelection().
|
private |
Definition at line 631 of file editor_manager.h.
Referenced by ApplyStartupVisibilityOverrides(), CreateNewProject(), DismissEditorSelection(), DrawInterface(), DrawMainMenuBar(), DrawSecondaryWindows(), HandleUIActionRequest(), HideAllWindows(), InitializeShortcutSystem(), InitializeSubsystems(), IsSidebarVisible(), LoadProjectWithRom(), LoadRomInternal(), OpenEditorAndPanelsFromFlags(), OpenRomOrProjectInternal(), RunCurrentProject(), RunEmulator(), SetSidebarVisible(), SetupComponentCallbacks(), SetupDialogCallbacks(), SetupSidebarCallbacks(), ShowAllWindows(), ShowImGuiDemo(), ShowImGuiMetrics(), ui_coordinator(), UpdateEditorState(), and UpdateSystemUIs().
|
private |
Definition at line 632 of file editor_manager.h.
Referenced by InitializeSubsystems(), LoadDesignerLayout(), LoadDeveloperLayout(), and LoadModderLayout().
|
private |
Definition at line 633 of file editor_manager.h.
Referenced by HandleSessionSwitched(), InitializeSubsystems(), RestoreEditorLayoutAfterAssets(), and SwitchToEditor().
|
private |
Definition at line 634 of file editor_manager.h.
Referenced by ApplyCurrentProjectRuntimeContext(), AutosaveActiveSession(), CaptureActiveProjectContext(), CaptureActiveProjectEditingState(), CaptureRuntimeFeatureFlags(), CloseCurrentSession(), CommitRawProjectFileSave(), CompactPendingUnsavedWorkLabel(), ConfigureEditorDependencies(), ConfirmPendingUnsavedSessionActionSaveAndContinue(), CreateNewProjectFromRom(), CreateNewSession(), DescribeAllPendingUnsavedWork(), DescribePendingUnsavedWork(), DiscardPendingRomBackupRestore(), DiscardProvisionalSessionCreatedSince(), DrawInterface(), DuplicateCurrentSession(), EnsureEditorAssetsLoaded(), EnsureGameDataLoaded(), ExecutePendingUnsavedSessionAction(), FinalizeNewProject(), GenerateUniqueEditorTitle(), GetActiveSessionCount(), GetCurrentEditorSet(), GetCurrentFeatureFlags(), GetCurrentGameData(), GetCurrentRom(), GetCurrentSessionId(), GetCurrentSessionIndex(), GetPendingUnsavedSessionActionPrompt(), HandleSessionClosed(), HandleSessionCreated(), HandleSessionRomLoaded(), HasDuplicateSession(), HasPendingDungeonChangesForSession(), ImportProject(), InitializeShortcutSystem(), InitializeSubsystems(), IsCurrentProjectDirty(), IsRomBackupRestorePending(), LoadAssets(), LoadAssetsLazy(), LoadProjectWithRom(), LoadRomInternal(), MarkCurrentProjectDirty(), ModifiedSessionCount(), OpenProjectInternal(), OpenRomOrProjectInternal(), PendingDungeonRoomCountForSession(), PendingPaletteColorCountForSession(), PendingRomSaveMatchesActiveSession(), PrepareActiveProjectContextForSave(), PrepareActiveProjectEditorDraftsForSave(), PrepareRawProjectFileSave(), RebaseCleanProjectFileDraft(), ReloadProjectRom(), RemoveSession(), ReplaceActiveSessionRom(), ResolveSessionIndexById(), RestoreProjectContextAfterFailedOpen(), RestoreRomBackup(), SaveActiveProjectEditingWork(), SaveProject(), SaveProjectAs(), SaveRomInternal(), session_coordinator(), session_coordinator(), SessionHasPendingRomWork(), SessionHasPendingUnsavedWork(), yaze::editor::EditorManager::SessionScope::SessionScope(), SetCurrentRom(), SetupDialogCallbacks(), ShowProjectFileEditor(), StartPendingRomSave(), SwapProjectRom(), SwitchToEditor(), SwitchToSession(), UpdateEditorState(), and ValidateProjectRomSelection().
|
private |
Definition at line 636 of file editor_manager.h.
Referenced by ApplyLayoutProfile(), CaptureTemporaryLayoutSnapshot(), ClearTemporaryLayoutSnapshot(), DeleteLayoutSnapshot(), GetUiSyncStateSnapshot(), HandleSessionSwitched(), InitializeSubsystems(), ListLayoutSnapshots(), RestoreEditorLayoutAfterAssets(), RestoreLayoutSnapshot(), RestoreTemporaryLayoutSnapshot(), SaveLayoutSnapshotAs(), SubscribeToEvents(), and SyncLayoutScopeFromCurrentProject().
|
private |
Definition at line 637 of file editor_manager.h.
Referenced by ApplyLayoutPreset(), GetBottomLayoutOffset(), GetLeftLayoutOffset(), GetRightLayoutOffset(), GetUiSyncStateSnapshot(), InitializeSubsystems(), ResetCurrentEditorLayout(), ResetWorkspaceLayout(), SubscribeToEvents(), and UpdateEditorState().
|
private |
Definition at line 639 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 640 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 641 of file editor_manager.h.
Referenced by DrawInterface(), and InitializeSubsystems().
|
private |
Definition at line 642 of file editor_manager.h.
Referenced by Initialize(), InitializeShortcutSystem(), InitializeSubsystems(), LoadWorkspaceLayout(), LoadWorkspacePreset(), RefreshWorkspacePresets(), SaveWorkspaceLayout(), SaveWorkspacePreset(), and workspace_manager().
|
private |
Definition at line 730 of file editor_manager.h.
Referenced by UpdateEditorState().
|
private |
Definition at line 731 of file editor_manager.h.
Referenced by ApplyLayoutDefaultsMigrationIfNeeded(), InitializeServices(), SetupSidebarCallbacks(), SubscribeToEvents(), and UpdateEditorState().
|
private |
Definition at line 732 of file editor_manager.h.
Referenced by ApplyLayoutDefaultsMigrationIfNeeded(), InitializeServices(), SetupSidebarCallbacks(), SubscribeToEvents(), and UpdateEditorState().
|
private |
Definition at line 733 of file editor_manager.h.
Referenced by ApplyLayoutDefaultsMigrationIfNeeded(), Initialize(), and InitializeServices().
|
private |
Definition at line 734 of file editor_manager.h.
Referenced by CancelPendingUnsavedSessionAction(), ConfirmPendingUnsavedSessionActionDiscardAndContinue(), ConfirmPendingUnsavedSessionActionSaveAndContinue(), GetPendingUnsavedSessionActionContinueLabel(), GetPendingUnsavedSessionActionPrompt(), GetPendingUnsavedSessionActionSaveLabel(), HasPendingUnsavedSessionAction(), and MaybeGuardPendingSessionAction().
|
mutableprivate |
Definition at line 738 of file editor_manager.h.
Referenced by ApplyCurrentProjectRuntimeContext(), ApplyDefaultBackupPolicy(), BypassWriteConflictOnce(), CancelPendingRomSave(), CheckOracleRomSafetyPreSave(), CheckRomWritePolicy(), ConfirmRomWrite(), GetCurrentRomHash(), GetRomBackups(), HasPendingPotItemSaveConfirmation(), HasPendingRomSaveConfirmation(), InitializeSubsystems(), IsRomHashMismatch(), IsRomWriteConfirmPending(), LoadProjectWithRom(), OpenRomOrProjectInternal(), pending_pot_item_total_rooms(), pending_pot_item_unloaded_rooms(), pending_write_conflicts(), PruneRomBackups(), ReloadProjectRom(), ResolvePotItemSaveConfirmation(), RestoreProjectContextForSession(), RestoreRomBackup(), ResumePendingRomSave(), SaveRom(), SaveRomInternal(), SwapProjectRom(), UpdateCurrentRomHash(), and ValidateProjectRomSelection().
|
private |
Definition at line 744 of file editor_manager.h.
Referenced by CancelPendingRomSave(), HandleSessionCreated(), PendingRomSaveMatchesActiveSession(), ResumePendingRomSave(), SaveRom(), SaveRomAs(), and StartPendingRomSave().
|
private |
Definition at line 747 of file editor_manager.h.
Referenced by QueueDeferredAction(), and SubscribeToEvents().
|
private |
Definition at line 748 of file editor_manager.h.
Referenced by GetUiSyncStateSnapshot(), QueueDeferredAction(), and SubscribeToEvents().
|
private |
Definition at line 749 of file editor_manager.h.
Referenced by GetUiSyncStateSnapshot(), and SubscribeToEvents().
|
private |
Definition at line 750 of file editor_manager.h.
Referenced by CancelQueuedProjectBuild(), LoadProjectWithRom(), PollProjectWorkflowTasks(), and QueueBuildCurrentProject().
|
private |
Definition at line 751 of file editor_manager.h.
Referenced by LoadProjectWithRom(), PollProjectWorkflowTasks(), and QueueBuildCurrentProject().
|
private |
Definition at line 754 of file editor_manager.h.
Referenced by EditorManager(), InitializeSubsystems(), OpenEditorAndPanelsFromFlags(), ProcessStartupActions(), and SubscribeToEvents().
|
private |
Definition at line 755 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), and EditorManager().
|
private |
Definition at line 756 of file editor_manager.h.
Referenced by RefreshHackWorkflowBackend().