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) |
Private Member Functions | |
| absl::Status | DrawRomSelector ()=delete |
| absl::Status | LoadAssets (uint64_t loading_handle=0) |
| absl::Status | LoadAssetsForMode (uint64_t loading_handle=0) |
| absl::Status | LoadAssetsLazy (uint64_t loading_handle=0) |
| absl::Status | InitializeEditorForType (EditorType type, EditorSet *editor_set, Rom *rom) |
| void | ResetAssetState (RomSession *session) |
| void | MarkEditorInitialized (RomSession *session, EditorType type) |
| void | MarkEditorLoaded (RomSession *session, EditorType type) |
| Editor * | GetEditorByType (EditorType type, EditorSet *editor_set) const |
| Editor * | ResolveEditorForCategory (const std::string &category) |
| void | SyncEditorContextForCategory (const std::string &category) |
| bool | EditorRequiresGameData (EditorType type) const |
| bool | EditorInitRequiresGameData (EditorType type) const |
| std::vector< EditorType > | CollectEditorsToPreload (EditorSet *editor_set) const |
| void | InitializeTestSuites () |
| void | ApplyStartupVisibilityOverrides () |
| void | ApplyLayoutDefaultsMigrationIfNeeded () |
| std::string | GetPreferredStartupCategory (const std::string &saved_category, const std::vector< std::string > &available_categories) const |
| void | HandleSessionSwitched (size_t new_index, RomSession *session, bool transient=false) |
| void | HandleSessionCreated (size_t index, RomSession *session) |
| void | HandleSessionClosed (size_t index) |
| void | SubscribeToEvents () |
| void | InitializeSubsystems () |
| void | RegisterEditors () |
| void | RegisterEmulatorPanels () |
| void | InitializeServices () |
| void | SetupComponentCallbacks () |
| void | SetupDialogCallbacks () |
| void | SetupWelcomeScreenCallbacks () |
| void | SetupSidebarCallbacks () |
| void | InitializeShortcutSystem () |
| void | ProcessInput () |
| void | UpdateEditorState () |
| void | PollProjectWorkflowTasks () |
| void | DrawInterface () |
| void | DrawSecondaryWindows () |
| void | UpdateSystemUIs () |
| void | RunEmulator () |
| void | RefreshHackWorkflowBackend () |
| void | HandleSessionRomLoaded (size_t index, Rom *rom) |
| void | RefreshResourceLabelProvider () |
| void | HandleUIActionRequest (UIActionRequestEvent::Action action) |
| emu::input::InputConfig | BuildInputConfigFromSettings () const |
| void | PersistInputConfig (const emu::input::InputConfig &config) |
| void | UpdateCurrentRomHash () |
| void | ApplyDefaultBackupPolicy () |
| void | CaptureRuntimeFeatureFlags () |
| void | CaptureActiveProjectEditingState () |
| void | CaptureActiveProjectContext () |
| void | DetachActiveProjectContext () |
| void | BindProjectContextToSession (RomSession *session, const project::YazeProject &project) |
| bool | RestoreProjectContextForSession (RomSession *session) |
| void | RestoreProjectEditingStateForSession (RomSession *session) |
| absl::Status | SaveActiveProjectEditingWork () |
| absl::Status | PrepareRawProjectFileSave (const std::string &filepath, const std::string &contents) |
| absl::Status | CommitRawProjectFileSave (const std::string &filepath, const std::string &contents) |
| absl::Status | ReplaceActiveSessionRom (Rom &&rom, const std::string &filepath) |
| bool | ProjectFileDraftTargetsCurrentProject () const |
| void | RebaseCleanProjectFileDraft (const std::string &filepath) |
| void | RestoreProjectContextAfterFailedOpen (std::optional< size_t > previous_session_id) |
| absl::Status | DiscardProvisionalSessionCreatedSince (size_t previous_session_count) |
| void | ApplyCurrentProjectRuntimeContext () |
| absl::StatusOr< const project::YazeProject * > | PrepareActiveProjectContextForSave () |
| ProjectWorkflowStatus | MakeBuildStatus (const std::string &summary, const std::string &detail, ProjectWorkflowState state, const std::string &output_tail="", bool can_cancel=false) const |
| ProjectWorkflowStatus | MakeRunStatus (const std::string &summary, const std::string &detail, ProjectWorkflowState state) const |
| absl::StatusOr< std::string > | RunProjectBuildCommand () |
| absl::StatusOr< std::string > | ResolveProjectBuildCommand () const |
| absl::StatusOr< std::string > | ResolveProjectRunTarget () const |
| absl::Status | CheckRomWritePolicy (const std::optional< std::string > &target_filename=std::nullopt) |
| Save the current ROM file. | |
| absl::Status | CheckOracleRomSafetyPreSave (Rom *rom) |
| absl::Status | SaveRomInternal (const std::optional< std::string > &save_as_filename) |
| bool | HasPendingRomSaveConfirmation () const |
| bool | PendingRomSaveMatchesActiveSession () const |
| void | FinishPendingRomSaveAttempt (const absl::Status &status) |
| void | CancelPendingRomSave (bool hide_popups=false) |
| absl::Status | StartPendingRomSave (const std::optional< std::string > &save_as_filename) |
| absl::Status | LoadRomInternal () |
| absl::Status | OpenRomOrProjectInternal (const std::string &filename) |
| absl::Status | OpenProjectInternal () |
| absl::Status | ValidateProjectRomSelection (const std::string &rom_path) |
| std::optional< size_t > | ResolveSessionIndexById (size_t session_id) const |
| bool | MaybeGuardPendingSessionAction (PendingUnsavedSessionAction action) |
| void | ExecutePendingUnsavedSessionAction (const PendingUnsavedSessionAction &action) |
| bool | SessionHasPendingUnsavedWork (size_t session_index) const |
| bool | SessionHasPendingRomWork (size_t session_index) const |
| bool | HasAnySessionPendingUnsavedWork () const |
| bool | HasPendingDungeonChangesForSession (size_t session_index) const |
| int | PendingDungeonRoomCountForSession (size_t session_index) const |
| size_t | PendingPaletteColorCountForSession (size_t session_index) const |
| int | ModifiedSessionCount () const |
| std::string | DescribePendingUnsavedWork (size_t session_index) const |
| std::string | DescribeAllPendingUnsavedWork () const |
| void | ConfigureEditorDependencies (EditorSet *editor_set, Rom *rom, size_t session_id) |
| void | SyncLayoutScopeFromCurrentProject () |
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 107 of file editor_manager.h.
| yaze::editor::EditorManager::EditorManager | ( | ) |
Definition at line 672 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 1087 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 1938 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 2469 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 2687 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 2599 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 2606 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 2652 of file editor_manager.cc.
References asset_load_mode_.
Referenced by yaze::Controller::LoadRomForTesting(), and yaze::Controller::OnEntry().
|
inline |
Definition at line 130 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 3036 of file editor_manager.cc.
References DrawInterface(), ProcessInput(), status_, and UpdateEditorState().
Referenced by yaze::Controller::OnLoad().

| void yaze::editor::EditorManager::DrawMainMenuBar | ( | ) |
Definition at line 3427 of file editor_manager.cc.
References yaze::gui::GetPrimaryVec4(), yaze::gui::GetSurfaceContainerHighestVec4(), yaze::gui::GetSurfaceContainerHighVec4(), yaze::gui::GetTextSecondaryVec4(), ICON_MD_MENU, ICON_MD_MENU_OPEN, yaze::editor::WorkspaceWindowManager::IsSidebarVisible(), menu_orchestrator_, yaze::editor::WorkspaceWindowManager::ToggleSidebarVisibility(), ui_coordinator_, and window_manager_.
Referenced by yaze::Controller::OnLoad().
| void yaze::editor::EditorManager::HandleHostVisibilityChanged | ( | bool | visible | ) |
Definition at line 3044 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 138 of file editor_manager.h.
References emulator_.
Referenced by yaze::app::GetGlobalEmulator(), main(), yaze::Controller::OnEntry(), and yaze::Controller::OnInput().
|
inline |
Definition at line 139 of file editor_manager.h.
References quit_.
Referenced by yaze::Controller::OnLoad().
|
inline |
Definition at line 140 of file editor_manager.h.
References version_.
Referenced by yaze::editor::PopupManager::DrawAboutPopup(), and yaze::editor::UICoordinator::DrawMenuBarExtras().
|
inline |
Definition at line 142 of file editor_manager.h.
References menu_builder_.
|
inline |
Definition at line 143 of file editor_manager.h.
References workspace_manager_.
Referenced by yaze::editor::UICoordinator::DrawWorkspacePresetDialogs().
|
inline |
Definition at line 144 of file editor_manager.h.
References right_drawer_manager_.
Referenced by yaze::editor::UICoordinator::DrawAllUI(), yaze::editor::UICoordinator::DrawMenuBarExtras(), and yaze::editor::UICoordinator::DrawNotificationBell().
|
inline |
Definition at line 147 of file editor_manager.h.
References right_drawer_manager_.
|
inline |
Definition at line 150 of file editor_manager.h.
References status_bar_.
|
inline |
Definition at line 151 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 152 of file editor_manager.h.
References popup_manager_.
Referenced by InitializeSubsystems().
|
inline |
Definition at line 153 of file editor_manager.h.
References window_manager_.
|
inline |
Definition at line 154 of file editor_manager.h.
References window_manager_.
Referenced by yaze::editor::PopupManager::DrawLayoutPresetsPopup().
|
inline |
Definition at line 155 of file editor_manager.h.
References window_manager_.
|
inline |
Definition at line 158 of file editor_manager.h.
References session_coordinator_.
|
inline |
Definition at line 161 of file editor_manager.h.
References session_coordinator_.
|
inline |
Definition at line 164 of file editor_manager.h.
References window_host_.
|
inline |
Definition at line 167 of file editor_manager.h.
References window_host_.
|
inline |
Definition at line 171 of file editor_manager.h.
References window_host_.
|
inline |
Definition at line 172 of file editor_manager.h.
References window_host_.
|
inline |
Definition at line 176 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 179 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 182 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 5846 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 187 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 191 of file editor_manager.h.
References session_coordinator_.
|
inline |
Definition at line 195 of file editor_manager.h.
References session_coordinator_.
Referenced by 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 199 of file editor_manager.h.
References current_editor_.
Referenced by yaze::editor::PopupManager::DrawLayoutPresetsPopup(), HandleUIActionRequest(), and yaze::Controller::OnLoad().
|
inline |
Definition at line 200 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 203 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 206 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 209 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 212 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 5884 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 5888 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 5896 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 5949 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 5990 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 5994 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 6002 of file editor_manager.cc.
References CancelPendingRomSave().
Referenced by yaze::editor::PopupManager::DrawRomWriteConfirmPopup().

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

|
inline |
Definition at line 225 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 228 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 6006 of file editor_manager.cc.
References CancelPendingRomSave().
Referenced by yaze::editor::PopupManager::DrawWriteConflictWarningPopup().

|
inlineoverridevirtual |
Implements yaze::editor::ISessionConfigurator.
Definition at line 230 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 240 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 244 of file editor_manager.h.
References ui_coordinator_.
Referenced by yaze::Controller::OnLoad().
| yaze::zelda3::Overworld * yaze::editor::EditorManager::overworld | ( | ) | const |
Definition at line 5839 of file editor_manager.cc.
References GetCurrentEditorSet().
Referenced by yaze::Controller::overworld().

| size_t yaze::editor::EditorManager::GetCurrentSessionIndex | ( | ) | const |
Definition at line 6565 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 251 of file editor_manager.h.
References yaze::editor::RomSession::feature_flags, yaze::core::FeatureFlags::get(), GetCurrentSessionIndex(), and session_coordinator_.

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

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

|
inline |
Definition at line 282 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 6604 of file editor_manager.cc.
References editor_activator_, EnsureEditorAssetsLoaded(), GetCurrentEditorSet(), yaze::editor::kAgent, yaze::editor::kEditorNames, yaze::editor::kError, session_coordinator_, yaze::editor::ToastManager::Show(), yaze::editor::EditorActivator::SwitchToEditor(), and toast_manager_.
Referenced by HandleUIActionRequest(), yaze::editor::UICoordinator::InitializeCommandPalette(), OpenEditorAndPanelsFromFlags(), SetupSidebarCallbacks(), SetupWelcomeScreenCallbacks(), and yaze::editor::UICoordinator::UICoordinator().

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

|
inline |
Definition at line 293 of file editor_manager.h.
References ui_coordinator_.
|
inline |
Definition at line 296 of file editor_manager.h.
References ui_coordinator_.
| absl::Status yaze::editor::EditorManager::EnsureEditorAssetsLoaded | ( | EditorType | type | ) |
Definition at line 2959 of file editor_manager.cc.
References EditorInitRequiresGameData(), EditorRequiresGameData(), yaze::editor::EditorTypeIndex(), EnsureGameDataLoaded(), GetEditorByType(), InitializeEditorForType(), yaze::editor::kUnknown, MarkEditorInitialized(), MarkEditorLoaded(), RETURN_IF_ERROR, session_coordinator_, and yaze::editor::EditorRegistry::UpdateAllowedWithoutLoadedRom().
Referenced by InitializeSubsystems(), OpenEditorAndPanelsFromFlags(), SaveRomInternal(), and SwitchToEditor().
| absl::Status yaze::editor::EditorManager::EnsureGameDataLoaded | ( | ) |
Definition at line 2931 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 6010 of file editor_manager.cc.
References session_coordinator_.
Referenced by yaze::editor::PopupManager::DrawSessionManagerPopup().
| void yaze::editor::EditorManager::DuplicateCurrentSession | ( | ) |
Definition at line 6017 of file editor_manager.cc.
References session_coordinator_.
| void yaze::editor::EditorManager::CloseCurrentSession | ( | ) |
Definition at line 6023 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 6046 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 6063 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 312 of file editor_manager.h.
References SwitchToSession().

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

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

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

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

|
inline |
Definition at line 321 of file editor_manager.h.
References ui_coordinator_.
|
inline |
Definition at line 325 of file editor_manager.h.
References ui_coordinator_.
|
inline |
Definition at line 331 of file editor_manager.h.
References yaze::editor::WindowDelegate::LoadDeveloperLayout(), and window_delegate_.

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

|
inline |
Definition at line 333 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 513 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 517 of file editor_manager.cc.
References current_editor_, GetCurrentSessionId(), yaze::editor::RightDrawerManager::GetDefaultDrawerWidth(), yaze::editor::RightDrawerManager::kAgentChat, yaze::editor::kSuccess, yaze::editor::kUnknown, yaze::editor::LayoutProfile::label, layout_manager_, yaze::editor::LayoutProfile::open_agent_chat, right_drawer_manager_, yaze::editor::ToastManager::Show(), toast_manager_, and yaze::editor::Editor::type().
Referenced by yaze::editor::MenuOrchestrator::AddLayoutMenuItems().

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

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

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

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

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

| std::string yaze::editor::EditorManager::GenerateUniqueEditorTitle | ( | EditorType | type, |
| size_t | session_index ) const |
Definition at line 6596 of file editor_manager.cc.
References yaze::editor::kEditorNames, and session_coordinator_.
| bool yaze::editor::EditorManager::HasDuplicateSession | ( | const std::string & | filepath | ) |
Definition at line 6669 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 6085 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 6094 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 6113 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 6161 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 6184 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 6206 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 6304 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 6317 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 368 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 6570 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 6645 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 387 of file editor_manager.h.
References ui_coordinator_.
|
inline |
Definition at line 391 of file editor_manager.h.
References ui_coordinator_.
|
inline |
Definition at line 406 of file editor_manager.h.
|
inline |
Definition at line 407 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 3608 of file editor_manager.cc.
References GetCurrentSessionId(), yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenRomDialog, LoadRomInternal(), and MaybeGuardPendingSessionAction().
Referenced by HandleUIActionRequest(), SetupWelcomeScreenCallbacks(), and yaze::editor::UICoordinator::UICoordinator().

| absl::Status yaze::editor::EditorManager::SaveRom | ( | ) |
Definition at line 4021 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(), and HandleUIActionRequest().
| absl::Status yaze::editor::EditorManager::SaveRomAs | ( | const std::string & | filename | ) |
Definition at line 4278 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 4291 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 4308 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(), SetupWelcomeScreenCallbacks(), and yaze::editor::UICoordinator::UICoordinator().

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

| 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 4480 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 4552 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 4617 of file editor_manager.cc.
References GetCurrentSessionId(), yaze::editor::EditorManager::PendingUnsavedSessionAction::kOpenProjectDialog, MaybeGuardPendingSessionAction(), and OpenProjectInternal().
Referenced by SetupWelcomeScreenCallbacks(), and yaze::editor::UICoordinator::UICoordinator().

| absl::Status yaze::editor::EditorManager::SaveProject | ( | ) |
Definition at line 5289 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(), project_management_panel_, yaze::project::YazeProject::project_opened(), ProjectFileDraftTargetsCurrentProject(), RebaseCleanProjectFileDraft(), yaze::project::WorkspaceSettings::recent_files, 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 5454 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 5469 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(), project_management_panel_, RebaseCleanProjectFileDraft(), yaze::project::YazeProject::Save(), session_coordinator_, yaze::editor::ToastManager::Show(), SyncLayoutScopeFromCurrentProject(), and toast_manager_.
| absl::Status yaze::editor::EditorManager::AutosaveActiveSession | ( | ) |
Definition at line 5411 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 5611 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 5644 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 5697 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 5715 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 438 of file editor_manager.h.
References yaze::editor::RomLifecycleManager::HasPendingPotItemSaveConfirmation(), and rom_lifecycle_.

|
inline |
Definition at line 441 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 444 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 5432 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 5809 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 5826 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 4694 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 5201 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 5264 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 455 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(), yaze::editor::UICoordinator::RefreshWorkflowActions(), and yaze::editor::UICoordinator::UICoordinator().
|
inline |
Definition at line 456 of file editor_manager.h.
References current_project_.
| void yaze::editor::EditorManager::MarkCurrentProjectDirty | ( | ) |
Definition at line 5348 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 5359 of file editor_manager.cc.
References project_management_panel_, and session_coordinator_.
Referenced by PrepareRawProjectFileSave(), and ShowProjectManagement().
|
inline |
Definition at line 461 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 6698 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 SetupWelcomeScreenCallbacks(), and yaze::editor::UICoordinator::UICoordinator().

| void yaze::editor::EditorManager::ShowProjectFileEditor | ( | ) |
Definition at line 6715 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_.
Referenced by SetupWelcomeScreenCallbacks(), and yaze::editor::UICoordinator::UICoordinator().
|
inline |
Definition at line 468 of file editor_manager.h.
References project_file_editor_.
|
inline |
Definition at line 469 of file editor_manager.h.
References project_management_panel_.
|
privatedelete |
|
private |
Definition at line 3717 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(), 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 2718 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 3881 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 2916 of file editor_manager.cc.
References GetEditorByType().
Referenced by EnsureEditorAssetsLoaded().

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

|
private |
Definition at line 2749 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 2873 of file editor_manager.cc.
References yaze::editor::EditorSet::GetEditor().
Referenced by EnsureEditorAssetsLoaded(), InitializeEditorForType(), and ResolveEditorForCategory().

|
private |
Definition at line 2878 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 2906 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 2759 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 2774 of file editor_manager.cc.
References yaze::editor::kMessage.
Referenced by EnsureEditorAssetsLoaded().
|
private |
Definition at line 2778 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 1904 of file editor_manager.cc.
References yaze::test::TestManager::Get(), and yaze::test::RegisterZ3edTestSuites().
Referenced by Initialize().

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

|
private |
Definition at line 2630 of file editor_manager.cc.
Referenced by DrawInterface(), and Initialize().
|
private |
Definition at line 1587 of file editor_manager.cc.
References yaze::gfx::PaletteManager::ActivateSession(), CancelPendingRomSave(), CaptureActiveProjectContext(), CaptureRuntimeFeatureFlags(), yaze::editor::SelectionPropertiesPanel::ClearSelection(), yaze::editor::RomSession::editors, yaze::editor::RomSession::feature_flags, yaze::editor::RomSession::game_data, yaze::gfx::PaletteManager::Get(), yaze::test::TestManager::Get(), yaze::core::FeatureFlags::get(), yaze::editor::WorkspaceWindowManager::GetActiveCategory(), yaze::editor::EditorSet::GetSettingsPanel(), yaze::editor::WorkspaceWindowManager::kDashboardCategory, 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(), project_rom_selection_generation_, 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(), UpdateCurrentRomHash(), user_settings_, and window_manager_.
Referenced by SubscribeToEvents().
|
private |
Definition at line 1676 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 1707 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(), GetCurrentRom(), LOG_INFO, project_management_panel_, RefreshResourceLabelProvider(), runtime_feature_flags_session_id_, session_coordinator_, yaze::test::TestManager::SetCurrentRom(), and version_manager_.
Referenced by SubscribeToEvents().
|
private |
Definition at line 1017 of file editor_manager.cc.
References deferred_actions_, event_bus_, yaze::TimingManager::Get(), yaze::TimingManager::GetElapsedTime(), HandleSessionClosed(), HandleSessionCreated(), HandleSessionRomLoaded(), HandleSessionSwitched(), HandleUIActionRequest(), yaze::editor::WorkspaceWindowManager::kDashboardCategory, layout_coordinator_, yaze::editor::UserSettings::Preferences::panel_visibility_state, pending_editor_deferred_actions_, yaze::editor::UserSettings::prefs(), yaze::editor::LayoutCoordinator::ProcessDeferredActions(), settings_dirty_, settings_dirty_timestamp_, yaze::EventBus::Subscribe(), ui_sync_frame_id_, and user_settings_.
Referenced by EditorManager().
|
private |
Definition at line 692 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 983 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 2009 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 2108 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 2211 of file editor_manager.cc.
References SetupDialogCallbacks(), SetupSidebarCallbacks(), and SetupWelcomeScreenCallbacks().
Referenced by Initialize().

|
private |
Definition at line 2217 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 2263 of file editor_manager.cc.
References CreateNewProject(), current_project_, yaze::project::YazeProject::filepath, yaze::editor::kAssembly, yaze::editor::kError, yaze::editor::kGraphics, yaze::editor::kInfo, LoadRom(), OpenProject(), OpenRomOrProject(), yaze::editor::WorkspaceWindowManager::OpenWindow(), yaze::editor::UserSettings::prefs(), yaze::editor::WelcomeScreen::SetNewProjectCallback(), yaze::editor::WelcomeScreen::SetNewProjectWithTemplateCallback(), yaze::editor::WelcomeScreen::SetOpenAgentCallback(), yaze::editor::WelcomeScreen::SetOpenAssemblyEditorNoRomCallback(), yaze::editor::WelcomeScreen::SetOpenProjectCallback(), yaze::editor::WelcomeScreen::SetOpenProjectDialogCallback(), yaze::editor::WelcomeScreen::SetOpenProjectFileEditorCallback(), yaze::editor::WelcomeScreen::SetOpenProjectManagementCallback(), yaze::editor::WelcomeScreen::SetOpenPrototypeResearchCallback(), yaze::editor::WelcomeScreen::SetOpenRomCallback(), yaze::editor::ToastManager::Show(), yaze::editor::UserSettings::Preferences::show_welcome_on_startup, ShowProjectFileEditor(), ShowProjectManagement(), status_, SwitchToEditor(), toast_manager_, ui_coordinator_, user_settings_, welcome_screen_, and window_manager_.
Referenced by SetupComponentCallbacks().
|
private |
Definition at line 2337 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 2449 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 3053 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 3061 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 3154 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 3217 of file editor_manager.cc.
References activity_bar_, yaze::editor::AgentUIContext::agent_config(), agent_ui_, yaze::editor::StatusBar::ClearAgentInfo(), yaze::editor::StatusBar::ClearEditorContributions(), yaze::editor::StatusBar::ClearProjectWorkflowStatus(), yaze::editor::Editor::ContributeStatus(), current_editor_, current_project_, dashboard_mode_override_, dashboard_panel_, yaze::Rom::dirty(), yaze::editor::StatusBar::Draw(), yaze::editor::RomLoadOptionsDialog::Draw(), DrawSecondaryWindows(), yaze::editor::WorkspaceWindowManager::DrawVisibleWindows(), yaze::gfx::PerformanceDashboard::Get(), yaze::editor::WorkspaceWindowManager::GetActiveCategory(), yaze::editor::WorkspaceWindowManager::GetActiveSessionId(), yaze::editor::AgentUiController::GetAgentEditor(), yaze::editor::EditorRegistry::GetAllEditorCategories(), yaze::editor::AgentUiController::GetContext(), GetCurrentEditorSet(), GetCurrentRom(), GetCurrentSessionId(), GetCurrentSessionIndex(), yaze::editor::EditorRegistry::GetEditorCategory(), GetPreferredStartupCategory(), yaze::Rom::is_loaded(), IsPanelBasedEditor(), yaze::editor::kDungeon, yaze::kShow, yaze::editor::UserSettings::Preferences::panel_visibility_state, yaze::editor::UserSettings::prefs(), yaze::project::YazeProject::project_opened(), yaze::gfx::PerformanceDashboard::Render(), yaze::editor::WorkspaceWindowManager::RestoreVisibilityState(), right_drawer_manager_, rom_load_options_dialog_, RunEmulator(), session_coordinator_, yaze::editor::WorkspaceWindowManager::SetActiveCategory(), yaze::editor::StatusBar::SetAgentInfo(), yaze::editor::StatusBar::SetCustomSegment(), yaze::editor::StatusBar::SetRom(), yaze::editor::StatusBar::SetSessionInfo(), show_rom_load_options_, startup_editor_hint_, startup_panel_hints_, status_bar_, SyncEditorContextForCategory(), yaze::editor::StatusBarSegmentOptions::tooltip, ui_coordinator_, UpdateSystemUIs(), user_settings_, and window_manager_.
Referenced by Update().
|
private |
Definition at line 3466 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 3531 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 3558 of file editor_manager.cc.
References emulator_, GetCurrentRom(), yaze::emu::Emulator::is_audio_focus_mode(), yaze::emu::Emulator::is_snes_initialized(), yaze::emu::Emulator::Run(), yaze::emu::Emulator::RunAudioFrame(), yaze::emu::Emulator::RunFrameOnly(), yaze::emu::Emulator::running(), and ui_coordinator_.
Referenced by DrawInterface().
|
private |
Definition at line 3579 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 1762 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 1119 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 1787 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 5877 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 5872 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 1184 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 1255 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 1212 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 1278 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 1436 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 1515 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 1542 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 5368 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 1340 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 1384 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 5108 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, LoadAssetsForMode(), yaze::gfx::PaletteManager::ReleaseSession(), ResetAssetState(), session_coordinator_, and UpdateCurrentRomHash().
Referenced by DiscardPendingRomBackupRestore(), ReloadProjectRom(), RestoreRomBackup(), and SwapProjectRom().
|
private |
Definition at line 1331 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 1414 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 1288 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 1316 of file editor_manager.cc.
References session_coordinator_.
Referenced by CreateNewProjectFromRom(), LoadProjectWithRom(), LoadRomInternal(), and OpenRomOrProjectInternal().
|
private |
Definition at line 1459 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, yaze::zelda3::CustomObjectManager::ClearObjectFileMap(), current_project_, yaze::project::YazeProject::custom_object_files, yaze::project::YazeProject::custom_objects_folder, 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::zelda3::CustomObjectManager::Initialize(), 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::zelda3::CustomObjectManager::SetObjectFileMap(), 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 1564 of file editor_manager.cc.
References active_project_context_session_id_, CaptureActiveProjectContext(), CaptureRuntimeFeatureFlags(), and session_coordinator_.
Referenced by SaveRomInternal().

|
private |
Definition at line 5565 of file editor_manager.cc.
References yaze::editor::ProjectWorkflowStatus::visible.
Referenced by BuildCurrentProject(), CancelQueuedProjectBuild(), PollProjectWorkflowTasks(), and QueueBuildCurrentProject().
|
private |
Definition at line 5578 of file editor_manager.cc.
References yaze::editor::ProjectWorkflowStatus::visible.
Referenced by RunCurrentProject().
|
private |
Definition at line 5588 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 5532 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 5547 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 3957 of file editor_manager.cc.
References yaze::editor::RomLifecycleManager::CheckRomWritePolicy(), GetCurrentRom(), and rom_lifecycle_.
Referenced by SaveRomInternal().

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

|
private |
Definition at line 4044 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::gfx::Arena::Get(), 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::zelda3::SaveAllGraphicsData(), 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 3966 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 3972 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 4011 of file editor_manager.cc.
References CancelPendingRomSave(), and HasPendingRomSaveConfirmation().
Referenced by ResumePendingRomSave(), SaveRom(), and SaveRomAs().

|
private |
Definition at line 3981 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 3997 of file editor_manager.cc.
References CancelPendingRomSave(), GetCurrentRom(), GetCurrentSessionIndex(), pending_rom_save_, and session_coordinator_.
Referenced by SaveRom(), and SaveRomAs().

|
private |
Definition at line 3618 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 4318 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 4627 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 4679 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 6098 of file editor_manager.cc.
References session_coordinator_.
Referenced by CaptureActiveProjectContext(), CaptureActiveProjectEditingState(), CaptureRuntimeFeatureFlags(), ConfigureEditorDependencies(), ConfirmPendingUnsavedSessionActionSaveAndContinue(), ExecutePendingUnsavedSessionAction(), GetPendingUnsavedSessionActionPrompt(), MaybeGuardPendingSessionAction(), and RestoreProjectContextAfterFailedOpen().
|
private |
Definition at line 6324 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 6344 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 6399 of file editor_manager.cc.
References session_coordinator_, and SessionHasPendingRomWork().
Referenced by AutosaveActiveSession(), ConfirmPendingUnsavedSessionActionSaveAndContinue(), DescribeAllPendingUnsavedWork(), MaybeGuardPendingSessionAction(), ModifiedSessionCount(), and UpdateEditorState().

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

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

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

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

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

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

|
private |
Definition at line 6755 of file editor_manager.cc.
References yaze::editor::EditorSet::ApplyDependencies(), yaze::editor::EditorDependencies::custom_data, editor_context_, yaze::editor::EditorDependencies::emulator, emulator_, GetCurrentSessionId(), yaze::editor::EditorDependencies::gfx_group_workspace, yaze::editor::EditorSet::gfx_group_workspace(), yaze::editor::EditorDependencies::global_context, yaze::editor::EditorDependencies::popup_manager, popup_manager_, yaze::editor::EditorDependencies::project, yaze::editor::EditorDependencies::renderer, renderer_, ResolveSessionIndexById(), 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_, 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 631 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().

|
private |
Definition at line 534 of file editor_manager.h.
Referenced by ExecutePendingUnsavedSessionAction(), Quit(), and quit().
|
private |
Definition at line 540 of file editor_manager.h.
|
private |
Definition at line 541 of file editor_manager.h.
|
private |
Definition at line 542 of file editor_manager.h.
|
private |
Definition at line 548 of file editor_manager.h.
Referenced by InitializeServices(), InitializeSubsystems(), and UpdateSystemUIs().
|
private |
Definition at line 549 of file editor_manager.h.
|
private |
Definition at line 552 of file editor_manager.h.
Referenced by DrawInterface(), InitializeServices(), InitializeSubsystems(), ResolveEditorForCategory(), UpdateEditorState(), and UpdateSystemUIs().
|
private |
Definition at line 555 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 559 of file editor_manager.h.
Referenced by ApplyStartupVisibilityOverrides(), DrawInterface(), OpenEditorAndPanelsFromFlags(), and RegisterEditors().
|
private |
Definition at line 560 of file editor_manager.h.
Referenced by SetupWelcomeScreenCallbacks().
|
private |
Definition at line 561 of file editor_manager.h.
Referenced by DrawInterface(), LoadRomInternal(), and SetupDialogCallbacks().
|
private |
Definition at line 562 of file editor_manager.h.
Referenced by DrawInterface(), LoadRomInternal(), and SetupDialogCallbacks().
|
private |
Definition at line 563 of file editor_manager.h.
Referenced by ApplyStartupVisibility(), ApplyStartupVisibilityOverrides(), and SetStartupLoadHints().
|
private |
Definition at line 564 of file editor_manager.h.
Referenced by ApplyStartupVisibility(), ApplyStartupVisibilityOverrides(), CollectEditorsToPreload(), DrawInterface(), Initialize(), and SetStartupLoadHints().
|
private |
Definition at line 565 of file editor_manager.h.
Referenced by ApplyStartupVisibility(), ApplyStartupVisibilityOverrides(), and SetStartupLoadHints().
|
private |
Definition at line 566 of file editor_manager.h.
Referenced by asset_load_mode(), LoadAssetsForMode(), and SetAssetLoadMode().
|
private |
Definition at line 567 of file editor_manager.h.
Referenced by CollectEditorsToPreload(), DrawInterface(), Initialize(), and SetStartupLoadHints().
|
private |
Definition at line 568 of file editor_manager.h.
Referenced by CollectEditorsToPreload(), DrawInterface(), Initialize(), and SetStartupLoadHints().
|
private |
Definition at line 571 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), HandleSessionSwitched(), and InitializeSubsystems().
|
private |
Definition at line 574 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 576 of file editor_manager.h.
Referenced by EditorManager(), and version().
|
private |
Definition at line 577 of file editor_manager.h.
Referenced by InitializeServices(), SetupWelcomeScreenCallbacks(), Update(), and UpdateEditorState().
|
private |
Definition at line 578 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), emulator(), Initialize(), LoadAssets(), LoadAssetsLazy(), RunCurrentProject(), and RunEmulator().
|
private |
Definition at line 582 of file editor_manager.h.
Referenced by ApplyLayoutProfile(), CollectEditorsToPreload(), DrawInterface(), GetCurrentEditor(), ResetCurrentEditorLayout(), SetCurrentEditor(), and UpdateEditorState().
|
private |
Definition at line 586 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), Initialize(), LoadAssets(), and LoadAssetsLazy().
|
private |
Definition at line 588 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(), SetupWelcomeScreenCallbacks(), ShowProjectFileEditor(), ShowProjectManagement(), SwapProjectRom(), SyncLayoutScopeFromCurrentProject(), UpdateEditorState(), UpdateSystemUIs(), and ValidateProjectRomSelection().
|
private |
Definition at line 593 of file editor_manager.h.
Referenced by HandleSessionSwitched(), LoadProjectWithRom(), and ValidateProjectRomSelection().
|
private |
Definition at line 594 of file editor_manager.h.
Referenced by HandleSessionSwitched(), and LoadProjectWithRom().
|
private |
Definition at line 595 of file editor_manager.h.
Referenced by HandleSessionSwitched(), LoadProjectWithRom(), OpenProjectInternal(), OpenRomOrProjectInternal(), and RestoreProjectContextAfterFailedOpen().
|
private |
Definition at line 596 of file editor_manager.h.
Referenced by HandleSessionSwitched(), LoadProjectWithRom(), OpenProjectInternal(), OpenRomOrProjectInternal(), and RestoreProjectContextAfterFailedOpen().
|
private |
Definition at line 599 of file editor_manager.h.
Referenced by CaptureActiveProjectContext(), CaptureActiveProjectEditingState(), CaptureRuntimeFeatureFlags(), CommitRawProjectFileSave(), CreateNewProjectFromRom(), DetachActiveProjectContext(), FinalizeNewProject(), HandleSessionClosed(), HandleSessionCreated(), LoadProjectWithRom(), LoadRomInternal(), OpenProjectInternal(), OpenRomOrProjectInternal(), PrepareActiveProjectContextForSave(), RestoreProjectContextAfterFailedOpen(), and RestoreProjectContextForSession().
|
private |
Definition at line 602 of file editor_manager.h.
Referenced by CaptureActiveProjectContext(), CaptureRuntimeFeatureFlags(), CommitRawProjectFileSave(), DetachActiveProjectContext(), FinalizeNewProject(), HandleSessionClosed(), HandleSessionSwitched(), RestoreProjectContextAfterFailedOpen(), and RestoreProjectContextForSession().
|
private |
Definition at line 606 of file editor_manager.h.
Referenced by ApplyCurrentProjectRuntimeContext(), CommitRawProjectFileSave(), DetachActiveProjectContext(), FinalizeNewProject(), GetVersionManager(), HandleSessionClosed(), LoadProjectWithRom(), RestoreProjectContextAfterFailedOpen(), RestoreProjectContextForSession(), and ShowProjectManagement().
|
private |
Definition at line 607 of file editor_manager.h.
Referenced by ConfigureEditorDependencies().
|
private |
Definition at line 608 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 609 of file editor_manager.h.
Referenced by ApplyLayoutProfile(), BuildCurrentProject(), CaptureTemporaryLayoutSnapshot(), ClearTemporaryLayoutSnapshot(), ConfigureEditorDependencies(), ConfirmPendingUnsavedSessionActionSaveAndContinue(), DeleteLayoutSnapshot(), ExecutePendingUnsavedSessionAction(), HandleUIActionRequest(), InitializeServices(), InitializeShortcutSystem(), InitializeSubsystems(), LoadProjectWithRom(), LoadRomInternal(), OpenProjectInternal(), PollProjectWorkflowTasks(), ProcessStartupActions(), QueueBuildCurrentProject(), RepairCurrentProject(), ResetCurrentEditorLayout(), ResolvePotItemSaveConfirmation(), RestoreLayoutSnapshot(), RestoreTemporaryLayoutSnapshot(), RunCurrentProject(), SaveLayoutSnapshotAs(), SaveProjectAs(), SaveRomInternal(), SetupDialogCallbacks(), SetupWelcomeScreenCallbacks(), ShowProjectFileEditor(), SwitchToEditor(), toast_manager(), and UpdateEditorState().
|
private |
Definition at line 610 of file editor_manager.h.
Referenced by InitializeSubsystems(), and menu_builder().
|
private |
Definition at line 611 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), InitializeShortcutSystem(), InitializeSubsystems(), and ProcessInput().
|
private |
Definition at line 612 of file editor_manager.h.
Referenced by ApplyCurrentProjectRuntimeContext(), ApplyDefaultBackupPolicy(), ApplyLayoutDefaultsMigrationIfNeeded(), CaptureActiveProjectContext(), ConfigureEditorDependencies(), ConfigureSession(), DrawInterface(), FinalizeNewProject(), HandleSessionCreated(), HandleSessionSwitched(), Initialize(), InitializeServices(), InitializeShortcutSystem(), InitializeSubsystems(), LoadAssets(), LoadAssetsLazy(), LoadProjectWithRom(), RefreshResourceLabelProvider(), SaveProject(), SaveRomInternal(), SetFontGlobalScale(), SetupSidebarCallbacks(), SetupWelcomeScreenCallbacks(), SubscribeToEvents(), UpdateEditorState(), user_settings(), and user_settings().
|
private |
Definition at line 616 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(), SetupSidebarCallbacks(), SetupWelcomeScreenCallbacks(), window_manager(), and window_manager().
|
private |
Definition at line 617 of file editor_manager.h.
Referenced by InitializeSubsystems(), panel_host(), panel_host(), RegisterEditors(), RegisterEmulatorPanels(), window_host(), and window_host().
|
private |
Definition at line 618 of file editor_manager.h.
Referenced by Initialize(), InitializeShortcutSystem(), and InitializeSubsystems().
|
private |
Definition at line 619 of file editor_manager.h.
Referenced by DrawMainMenuBar(), InitializeShortcutSystem(), and InitializeSubsystems().
|
private |
Definition at line 620 of file editor_manager.h.
Referenced by CreateNewProjectFromRom(), FinalizeNewProject(), ImportProject(), InitializeShortcutSystem(), and InitializeSubsystems().
|
private |
Definition at line 621 of file editor_manager.h.
Referenced by DiscardPendingRomBackupRestore(), InitializeShortcutSystem(), InitializeSubsystems(), LoadProjectWithRom(), LoadRomInternal(), OpenRomOrProjectInternal(), ReloadProjectRom(), RestoreRomBackup(), RunCurrentProject(), SaveRomInternal(), SwapProjectRom(), and ValidateProjectRomSelection().
|
private |
Definition at line 622 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(), SetupDialogCallbacks(), SetupSidebarCallbacks(), SetupWelcomeScreenCallbacks(), ShowAllWindows(), ShowImGuiDemo(), ShowImGuiMetrics(), ui_coordinator(), UpdateEditorState(), and UpdateSystemUIs().
|
private |
Definition at line 623 of file editor_manager.h.
Referenced by InitializeSubsystems(), LoadDesignerLayout(), LoadDeveloperLayout(), and LoadModderLayout().
|
private |
Definition at line 624 of file editor_manager.h.
Referenced by InitializeSubsystems(), and SwitchToEditor().
|
private |
Definition at line 625 of file editor_manager.h.
Referenced by ApplyCurrentProjectRuntimeContext(), AutosaveActiveSession(), CaptureActiveProjectContext(), CaptureActiveProjectEditingState(), CaptureRuntimeFeatureFlags(), CloseCurrentSession(), CommitRawProjectFileSave(), 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(), 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 627 of file editor_manager.h.
Referenced by ApplyLayoutProfile(), CaptureTemporaryLayoutSnapshot(), ClearTemporaryLayoutSnapshot(), DeleteLayoutSnapshot(), GetUiSyncStateSnapshot(), InitializeSubsystems(), ListLayoutSnapshots(), RestoreLayoutSnapshot(), RestoreTemporaryLayoutSnapshot(), SaveLayoutSnapshotAs(), and SyncLayoutScopeFromCurrentProject().
|
private |
Definition at line 628 of file editor_manager.h.
Referenced by ApplyLayoutPreset(), GetBottomLayoutOffset(), GetLeftLayoutOffset(), GetRightLayoutOffset(), GetUiSyncStateSnapshot(), InitializeSubsystems(), ResetCurrentEditorLayout(), ResetWorkspaceLayout(), SubscribeToEvents(), and UpdateEditorState().
|
private |
Definition at line 630 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 631 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 632 of file editor_manager.h.
Referenced by DrawInterface(), and InitializeSubsystems().
|
private |
Definition at line 633 of file editor_manager.h.
Referenced by Initialize(), InitializeShortcutSystem(), InitializeSubsystems(), LoadWorkspaceLayout(), LoadWorkspacePreset(), RefreshWorkspacePresets(), SaveWorkspaceLayout(), SaveWorkspacePreset(), and workspace_manager().
|
private |
Definition at line 719 of file editor_manager.h.
Referenced by UpdateEditorState().
|
private |
Definition at line 720 of file editor_manager.h.
Referenced by ApplyLayoutDefaultsMigrationIfNeeded(), InitializeServices(), SetupSidebarCallbacks(), SubscribeToEvents(), and UpdateEditorState().
|
private |
Definition at line 721 of file editor_manager.h.
Referenced by ApplyLayoutDefaultsMigrationIfNeeded(), InitializeServices(), SetupSidebarCallbacks(), SubscribeToEvents(), and UpdateEditorState().
|
private |
Definition at line 722 of file editor_manager.h.
Referenced by ApplyLayoutDefaultsMigrationIfNeeded(), Initialize(), and InitializeServices().
|
private |
Definition at line 723 of file editor_manager.h.
Referenced by CancelPendingUnsavedSessionAction(), ConfirmPendingUnsavedSessionActionDiscardAndContinue(), ConfirmPendingUnsavedSessionActionSaveAndContinue(), GetPendingUnsavedSessionActionContinueLabel(), GetPendingUnsavedSessionActionPrompt(), GetPendingUnsavedSessionActionSaveLabel(), HasPendingUnsavedSessionAction(), and MaybeGuardPendingSessionAction().
|
mutableprivate |
Definition at line 727 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 733 of file editor_manager.h.
Referenced by CancelPendingRomSave(), HandleSessionCreated(), PendingRomSaveMatchesActiveSession(), ResumePendingRomSave(), SaveRom(), SaveRomAs(), and StartPendingRomSave().
|
private |
Definition at line 736 of file editor_manager.h.
Referenced by QueueDeferredAction(), and SubscribeToEvents().
|
private |
Definition at line 737 of file editor_manager.h.
Referenced by GetUiSyncStateSnapshot(), QueueDeferredAction(), and SubscribeToEvents().
|
private |
Definition at line 738 of file editor_manager.h.
Referenced by GetUiSyncStateSnapshot(), and SubscribeToEvents().
|
private |
Definition at line 739 of file editor_manager.h.
Referenced by CancelQueuedProjectBuild(), LoadProjectWithRom(), PollProjectWorkflowTasks(), and QueueBuildCurrentProject().
|
private |
Definition at line 740 of file editor_manager.h.
Referenced by LoadProjectWithRom(), PollProjectWorkflowTasks(), and QueueBuildCurrentProject().
|
private |
Definition at line 743 of file editor_manager.h.
Referenced by EditorManager(), InitializeSubsystems(), OpenEditorAndPanelsFromFlags(), ProcessStartupActions(), and SubscribeToEvents().
|
private |
Definition at line 744 of file editor_manager.h.
Referenced by ConfigureEditorDependencies(), and EditorManager().
|
private |
Definition at line 745 of file editor_manager.h.
Referenced by RefreshHackWorkflowBackend().