#include <user_settings.h>
Classes | |
| struct | AiHost |
| struct | AiModelProfile |
Public Attributes | |
| float | font_global_scale = 1.0f |
| bool | backup_rom = false |
| bool | save_new_auto = true |
| bool | autosave_enabled = true |
| float | autosave_interval = 300.0f |
| int | recent_files_limit = 10 |
| std::string | last_rom_path |
| std::string | last_project_path |
| bool | show_welcome_on_startup = true |
| bool | restore_last_session = true |
| bool | prefer_hmagic_sprite_names = true |
| bool | reduced_motion = false |
| int | switch_motion_profile = 1 |
| bool | backup_before_save = true |
| int | default_editor = 0 |
| bool | vsync = true |
| int | target_fps = 60 |
| int | cache_size_mb = 512 |
| int | undo_history_size = 50 |
| int | ai_provider = 0 |
| std::string | ai_model |
| std::string | ollama_url = "http://localhost:11434" |
| std::string | gemini_api_key |
| std::string | openai_api_key |
| std::string | anthropic_api_key |
| float | ai_temperature = 0.7f |
| int | ai_max_tokens = 2048 |
| bool | ai_proactive = true |
| bool | ai_auto_learn = true |
| bool | ai_multimodal = true |
| std::vector< AiHost > | ai_hosts |
| std::string | active_ai_host_id |
| std::vector< AiModelProfile > | ai_profiles |
| std::string | active_ai_profile |
| std::string | remote_build_host_id |
| std::vector< std::string > | ai_model_paths |
| int | log_level = 1 |
| bool | log_to_file = false |
| std::string | log_file_path |
| bool | log_ai_requests = true |
| bool | log_rom_operations = true |
| bool | log_gui_automation = true |
| bool | log_proposals = true |
| std::vector< std::string > | project_root_paths |
| std::string | default_project_root |
| bool | use_files_app = true |
| bool | use_icloud_sync = true |
| std::unordered_map< std::string, std::string > | panel_shortcuts |
| std::unordered_map< std::string, std::string > | global_shortcuts |
| std::unordered_map< std::string, std::string > | editor_shortcuts |
| bool | sidebar_visible = true |
| bool | sidebar_panel_expanded = true |
| float | sidebar_panel_width = 0.0f |
| float | panel_browser_category_width = 260.0f |
| int | panel_layout_defaults_revision = 0 |
| std::string | sidebar_active_category |
| bool | show_status_bar = false |
| std::unordered_map< std::string, std::unordered_map< std::string, bool > > | panel_visibility_state |
| std::unordered_map< std::string, bool > | pinned_panels |
| std::unordered_map< std::string, float > | right_panel_widths |
| std::unordered_map< std::string, std::unordered_map< std::string, bool > > | saved_layouts |
Definition at line 18 of file user_settings.h.
| float yaze::editor::UserSettings::Preferences::font_global_scale = 1.0f |
Definition at line 43 of file user_settings.h.
Referenced by yaze::editor::SettingsPanel::DrawAppearanceSettings(), yaze::editor::EditorManager::InitializeServices(), yaze::editor::UserSettings::Load(), yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), yaze::editor::EditorManager::LoadProjectWithRom(), yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni(), yaze::editor::EditorManager::SaveProject(), and yaze::editor::EditorManager::SetFontGlobalScale().
| bool yaze::editor::UserSettings::Preferences::backup_rom = false |
Definition at line 44 of file user_settings.h.
Referenced by yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), and yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni().
| bool yaze::editor::UserSettings::Preferences::save_new_auto = true |
Definition at line 45 of file user_settings.h.
Referenced by yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), and yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni().
| bool yaze::editor::UserSettings::Preferences::autosave_enabled = true |
Definition at line 46 of file user_settings.h.
Referenced by yaze::editor::SettingsPanel::DrawEditorBehavior(), yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), yaze::editor::EditorManager::LoadProjectWithRom(), yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni(), yaze::editor::EditorManager::SaveProject(), and yaze::editor::EditorManager::UpdateEditorState().
| float yaze::editor::UserSettings::Preferences::autosave_interval = 300.0f |
Definition at line 47 of file user_settings.h.
Referenced by yaze::editor::SettingsPanel::DrawEditorBehavior(), yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), yaze::editor::EditorManager::LoadProjectWithRom(), yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni(), yaze::editor::EditorManager::SaveProject(), and yaze::editor::EditorManager::UpdateEditorState().
| int yaze::editor::UserSettings::Preferences::recent_files_limit = 10 |
| std::string yaze::editor::UserSettings::Preferences::last_rom_path |
Definition at line 49 of file user_settings.h.
Referenced by yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), and yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni().
| std::string yaze::editor::UserSettings::Preferences::last_project_path |
Definition at line 50 of file user_settings.h.
Referenced by yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), and yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni().
| bool yaze::editor::UserSettings::Preferences::show_welcome_on_startup = true |
| bool yaze::editor::UserSettings::Preferences::restore_last_session = true |
Definition at line 52 of file user_settings.h.
Referenced by yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), and yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni().
| bool yaze::editor::UserSettings::Preferences::prefer_hmagic_sprite_names = true |
Definition at line 53 of file user_settings.h.
Referenced by yaze::editor::SettingsPanel::DrawEditorBehavior(), yaze::editor::EditorManager::InitializeServices(), yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), yaze::editor::EditorManager::RefreshResourceLabelProvider(), and yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni().
| bool yaze::editor::UserSettings::Preferences::reduced_motion = false |
| int yaze::editor::UserSettings::Preferences::switch_motion_profile = 1 |
Definition at line 57 of file user_settings.h.
Referenced by yaze::editor::EditorManager::InitializeServices(), yaze::editor::UserSettings::Load(), yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), and yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni().
| bool yaze::editor::UserSettings::Preferences::backup_before_save = true |
Definition at line 60 of file user_settings.h.
Referenced by yaze::editor::EditorManager::ApplyDefaultBackupPolicy(), yaze::editor::SettingsPanel::DrawEditorBehavior(), yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), yaze::editor::EditorManager::LoadProjectWithRom(), yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni(), yaze::editor::EditorManager::SaveProject(), and yaze::editor::EditorManager::SaveRom().
| int yaze::editor::UserSettings::Preferences::default_editor = 0 |
| bool yaze::editor::UserSettings::Preferences::vsync = true |
| int yaze::editor::UserSettings::Preferences::target_fps = 60 |
| int yaze::editor::UserSettings::Preferences::cache_size_mb = 512 |
| int yaze::editor::UserSettings::Preferences::undo_history_size = 50 |
| int yaze::editor::UserSettings::Preferences::ai_provider = 0 |
Definition at line 70 of file user_settings.h.
Referenced by yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), and yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni().
| std::string yaze::editor::UserSettings::Preferences::ai_model |
Definition at line 71 of file user_settings.h.
Referenced by yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), and yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni().
| std::string yaze::editor::UserSettings::Preferences::ollama_url = "http://localhost:11434" |
Definition at line 72 of file user_settings.h.
Referenced by yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), and yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni().
| std::string yaze::editor::UserSettings::Preferences::gemini_api_key |
| std::string yaze::editor::UserSettings::Preferences::openai_api_key |
| std::string yaze::editor::UserSettings::Preferences::anthropic_api_key |
| float yaze::editor::UserSettings::Preferences::ai_temperature = 0.7f |
| int yaze::editor::UserSettings::Preferences::ai_max_tokens = 2048 |
| bool yaze::editor::UserSettings::Preferences::ai_proactive = true |
| bool yaze::editor::UserSettings::Preferences::ai_auto_learn = true |
| bool yaze::editor::UserSettings::Preferences::ai_multimodal = true |
| std::vector<AiHost> yaze::editor::UserSettings::Preferences::ai_hosts |
Definition at line 81 of file user_settings.h.
Referenced by yaze::editor::SettingsPanel::DrawAIAgentSettings().
| std::string yaze::editor::UserSettings::Preferences::active_ai_host_id |
Definition at line 82 of file user_settings.h.
Referenced by yaze::editor::AgentEditor::ApplyUserSettingsDefaults().
| std::vector<AiModelProfile> yaze::editor::UserSettings::Preferences::ai_profiles |
Definition at line 83 of file user_settings.h.
| std::string yaze::editor::UserSettings::Preferences::active_ai_profile |
Definition at line 84 of file user_settings.h.
| std::string yaze::editor::UserSettings::Preferences::remote_build_host_id |
Definition at line 85 of file user_settings.h.
| std::vector<std::string> yaze::editor::UserSettings::Preferences::ai_model_paths |
Definition at line 86 of file user_settings.h.
Referenced by yaze::editor::anonymous_namespace{agent_editor.cc}::CollectLocalModelNames().
| int yaze::editor::UserSettings::Preferences::log_level = 1 |
| bool yaze::editor::UserSettings::Preferences::log_to_file = false |
Definition at line 90 of file user_settings.h.
Referenced by yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), and yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni().
| std::string yaze::editor::UserSettings::Preferences::log_file_path |
Definition at line 91 of file user_settings.h.
Referenced by yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), and yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni().
| bool yaze::editor::UserSettings::Preferences::log_ai_requests = true |
Definition at line 92 of file user_settings.h.
Referenced by yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), and yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni().
| bool yaze::editor::UserSettings::Preferences::log_rom_operations = true |
Definition at line 93 of file user_settings.h.
Referenced by yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), and yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni().
| bool yaze::editor::UserSettings::Preferences::log_gui_automation = true |
Definition at line 94 of file user_settings.h.
Referenced by yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), and yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni().
| bool yaze::editor::UserSettings::Preferences::log_proposals = true |
Definition at line 95 of file user_settings.h.
Referenced by yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), and yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni().
| std::vector<std::string> yaze::editor::UserSettings::Preferences::project_root_paths |
Definition at line 98 of file user_settings.h.
Referenced by yaze::editor::SettingsPanel::DrawFilesystemSettings().
| std::string yaze::editor::UserSettings::Preferences::default_project_root |
Definition at line 99 of file user_settings.h.
| bool yaze::editor::UserSettings::Preferences::use_files_app = true |
Definition at line 100 of file user_settings.h.
| bool yaze::editor::UserSettings::Preferences::use_icloud_sync = true |
Definition at line 101 of file user_settings.h.
| std::unordered_map<std::string, std::string> yaze::editor::UserSettings::Preferences::panel_shortcuts |
| std::unordered_map<std::string, std::string> yaze::editor::UserSettings::Preferences::global_shortcuts |
Definition at line 107 of file user_settings.h.
Referenced by yaze::editor::SettingsPanel::DrawGlobalShortcuts().
| std::unordered_map<std::string, std::string> yaze::editor::UserSettings::Preferences::editor_shortcuts |
Definition at line 109 of file user_settings.h.
Referenced by yaze::editor::SettingsPanel::DrawEditorShortcuts().
| bool yaze::editor::UserSettings::Preferences::sidebar_visible = true |
Definition at line 112 of file user_settings.h.
Referenced by yaze::editor::UserSettings::ApplyPanelLayoutDefaultsRevision(), yaze::editor::EditorManager::Initialize(), yaze::editor::UserSettings::Load(), yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), and yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni().
| bool yaze::editor::UserSettings::Preferences::sidebar_panel_expanded = true |
Definition at line 113 of file user_settings.h.
Referenced by yaze::editor::UserSettings::ApplyPanelLayoutDefaultsRevision(), yaze::editor::EditorManager::Initialize(), yaze::editor::UserSettings::Load(), yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), and yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni().
| float yaze::editor::UserSettings::Preferences::sidebar_panel_width = 0.0f |
Definition at line 114 of file user_settings.h.
Referenced by yaze::editor::UserSettings::ApplyPanelLayoutDefaultsRevision(), yaze::editor::EditorManager::Initialize(), yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni(), and yaze::editor::EditorManager::SetupSidebarCallbacks().
| float yaze::editor::UserSettings::Preferences::panel_browser_category_width = 260.0f |
Definition at line 115 of file user_settings.h.
Referenced by yaze::editor::UserSettings::ApplyPanelLayoutDefaultsRevision(), yaze::editor::EditorManager::Initialize(), yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni(), and yaze::editor::EditorManager::SetupSidebarCallbacks().
| int yaze::editor::UserSettings::Preferences::panel_layout_defaults_revision = 0 |
| std::string yaze::editor::UserSettings::Preferences::sidebar_active_category |
Definition at line 117 of file user_settings.h.
Referenced by yaze::editor::UserSettings::ApplyPanelLayoutDefaultsRevision(), yaze::editor::EditorManager::Initialize(), yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni(), and yaze::editor::EditorManager::SetupSidebarCallbacks().
| bool yaze::editor::UserSettings::Preferences::show_status_bar = false |
Definition at line 120 of file user_settings.h.
Referenced by yaze::editor::MenuOrchestrator::AddAppearanceMenuItems(), yaze::editor::SettingsPanel::DrawAppearanceSettings(), yaze::editor::EditorManager::LoadAssets(), yaze::editor::EditorManager::LoadAssetsLazy(), yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), and yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni().
| std::unordered_map<std::string, std::unordered_map<std::string, bool> > yaze::editor::UserSettings::Preferences::panel_visibility_state |
Definition at line 126 of file user_settings.h.
Referenced by yaze::editor::UserSettings::ApplyPanelLayoutDefaultsRevision(), yaze::editor::EditorManager::DrawInterface(), yaze::editor::EditorManager::HandleSessionSwitched(), yaze::editor::EditorManager::Initialize(), yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni(), yaze::editor::EditorManager::SetupSidebarCallbacks(), and yaze::editor::EditorManager::SubscribeToEvents().
| std::unordered_map<std::string, bool> yaze::editor::UserSettings::Preferences::pinned_panels |
Definition at line 130 of file user_settings.h.
Referenced by yaze::editor::UserSettings::ApplyPanelLayoutDefaultsRevision(), yaze::editor::EditorManager::HandleSessionCreated(), yaze::editor::EditorManager::InitializeServices(), yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), and yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni().
| std::unordered_map<std::string, float> yaze::editor::UserSettings::Preferences::right_panel_widths |
Definition at line 131 of file user_settings.h.
Referenced by yaze::editor::UserSettings::ApplyPanelLayoutDefaultsRevision(), yaze::editor::EditorManager::InitializeServices(), yaze::editor::anonymous_namespace{user_settings.cc}::LoadPreferencesFromIni(), and yaze::editor::anonymous_namespace{user_settings.cc}::SavePreferencesToIni().
| std::unordered_map<std::string, std::unordered_map<std::string, bool> > yaze::editor::UserSettings::Preferences::saved_layouts |