yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::UserSettings::Preferences Struct Reference

#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< AiHostai_hosts
 
std::string active_ai_host_id
 
std::vector< AiModelProfileai_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
 

Detailed Description

Definition at line 18 of file user_settings.h.

Member Data Documentation

◆ font_global_scale

◆ backup_rom

bool yaze::editor::UserSettings::Preferences::backup_rom = false

◆ save_new_auto

bool yaze::editor::UserSettings::Preferences::save_new_auto = true

◆ autosave_enabled

◆ autosave_interval

◆ recent_files_limit

◆ last_rom_path

std::string yaze::editor::UserSettings::Preferences::last_rom_path

◆ last_project_path

std::string yaze::editor::UserSettings::Preferences::last_project_path

◆ show_welcome_on_startup

◆ restore_last_session

bool yaze::editor::UserSettings::Preferences::restore_last_session = true

◆ prefer_hmagic_sprite_names

◆ reduced_motion

◆ switch_motion_profile

◆ backup_before_save

◆ default_editor

◆ vsync

◆ target_fps

◆ cache_size_mb

◆ undo_history_size

◆ ai_provider

int yaze::editor::UserSettings::Preferences::ai_provider = 0

◆ ai_model

std::string yaze::editor::UserSettings::Preferences::ai_model

◆ ollama_url

std::string yaze::editor::UserSettings::Preferences::ollama_url = "http://localhost:11434"

◆ gemini_api_key

◆ openai_api_key

◆ anthropic_api_key

◆ ai_temperature

◆ ai_max_tokens

◆ ai_proactive

◆ ai_auto_learn

◆ ai_multimodal

◆ ai_hosts

std::vector<AiHost> yaze::editor::UserSettings::Preferences::ai_hosts

Definition at line 81 of file user_settings.h.

Referenced by yaze::editor::SettingsPanel::DrawAIAgentSettings().

◆ active_ai_host_id

std::string yaze::editor::UserSettings::Preferences::active_ai_host_id

◆ ai_profiles

std::vector<AiModelProfile> yaze::editor::UserSettings::Preferences::ai_profiles

Definition at line 83 of file user_settings.h.

◆ active_ai_profile

std::string yaze::editor::UserSettings::Preferences::active_ai_profile

Definition at line 84 of file user_settings.h.

◆ remote_build_host_id

std::string yaze::editor::UserSettings::Preferences::remote_build_host_id

Definition at line 85 of file user_settings.h.

◆ ai_model_paths

std::vector<std::string> yaze::editor::UserSettings::Preferences::ai_model_paths

◆ log_level

◆ log_to_file

bool yaze::editor::UserSettings::Preferences::log_to_file = false

◆ log_file_path

std::string yaze::editor::UserSettings::Preferences::log_file_path

◆ log_ai_requests

bool yaze::editor::UserSettings::Preferences::log_ai_requests = true

◆ log_rom_operations

bool yaze::editor::UserSettings::Preferences::log_rom_operations = true

◆ log_gui_automation

bool yaze::editor::UserSettings::Preferences::log_gui_automation = true

◆ log_proposals

bool yaze::editor::UserSettings::Preferences::log_proposals = true

◆ project_root_paths

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().

◆ default_project_root

std::string yaze::editor::UserSettings::Preferences::default_project_root

Definition at line 99 of file user_settings.h.

◆ use_files_app

bool yaze::editor::UserSettings::Preferences::use_files_app = true

Definition at line 100 of file user_settings.h.

◆ use_icloud_sync

bool yaze::editor::UserSettings::Preferences::use_icloud_sync = true

Definition at line 101 of file user_settings.h.

◆ panel_shortcuts

std::unordered_map<std::string, std::string> yaze::editor::UserSettings::Preferences::panel_shortcuts

◆ global_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().

◆ editor_shortcuts

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().

◆ sidebar_visible

◆ sidebar_panel_expanded

◆ sidebar_panel_width

◆ panel_browser_category_width

◆ panel_layout_defaults_revision

◆ sidebar_active_category

◆ show_status_bar

◆ panel_visibility_state

◆ pinned_panels

◆ right_panel_widths

◆ saved_layouts

std::unordered_map<std::string, std::unordered_map<std::string, bool> > yaze::editor::UserSettings::Preferences::saved_layouts

The documentation for this struct was generated from the following file: