yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::anonymous_namespace{settings_panel.cc} Namespace Reference

Functions

std::string FormatHexList (const std::vector< uint16_t > &values)
 
std::vector< uint16_t > DefaultTrackTiles ()
 
std::vector< uint16_t > DefaultStopTiles ()
 
std::vector< uint16_t > DefaultSwitchTiles ()
 
std::vector< uint16_t > DefaultTrackObjectIds ()
 
std::vector< uint16_t > DefaultMinecartSpriteIds ()
 
bool IsLocalEndpoint (const std::string &base_url)
 
bool IsTailscaleEndpoint (const std::string &base_url)
 
std::string BuildHostTagString (const UserSettings::Preferences::AiHost &host)
 
std::string ExpandLeadingTilde (const std::string &path)
 
bool AddUniquePath (std::vector< std::string > *paths, const std::string &path)
 
const char * ScopeLabel (SettingsPanel::Scope scope)
 
void DrawShortcutBindingRow (const Shortcut &sc, std::string &value, ShortcutManager *shortcut_manager, UserSettings *user_settings, std::unordered_map< std::string, std::string > &overrides)
 

Variables

constexpr std::array< SettingsPanel::CategoryDescriptor, 10 > kSettingsCategories
 

Function Documentation

◆ FormatHexList()

std::string yaze::editor::anonymous_namespace{settings_panel.cc}::FormatHexList ( const std::vector< uint16_t > & values)

Definition at line 61 of file settings_panel.cc.

◆ DefaultTrackTiles()

std::vector< uint16_t > yaze::editor::anonymous_namespace{settings_panel.cc}::DefaultTrackTiles ( )

Definition at line 76 of file settings_panel.cc.

References DefaultTrackTiles().

Referenced by DefaultTrackTiles().

Here is the call graph for this function:

◆ DefaultStopTiles()

std::vector< uint16_t > yaze::editor::anonymous_namespace{settings_panel.cc}::DefaultStopTiles ( )

Definition at line 84 of file settings_panel.cc.

References DefaultStopTiles().

Referenced by DefaultStopTiles().

Here is the call graph for this function:

◆ DefaultSwitchTiles()

std::vector< uint16_t > yaze::editor::anonymous_namespace{settings_panel.cc}::DefaultSwitchTiles ( )

Definition at line 88 of file settings_panel.cc.

References DefaultSwitchTiles().

Referenced by DefaultSwitchTiles().

Here is the call graph for this function:

◆ DefaultTrackObjectIds()

std::vector< uint16_t > yaze::editor::anonymous_namespace{settings_panel.cc}::DefaultTrackObjectIds ( )

Definition at line 92 of file settings_panel.cc.

References DefaultTrackObjectIds().

Referenced by DefaultTrackObjectIds().

Here is the call graph for this function:

◆ DefaultMinecartSpriteIds()

std::vector< uint16_t > yaze::editor::anonymous_namespace{settings_panel.cc}::DefaultMinecartSpriteIds ( )

Definition at line 96 of file settings_panel.cc.

References DefaultMinecartSpriteIds().

Referenced by DefaultMinecartSpriteIds().

Here is the call graph for this function:

◆ IsLocalEndpoint()

bool yaze::editor::anonymous_namespace{settings_panel.cc}::IsLocalEndpoint ( const std::string & base_url)

Definition at line 100 of file settings_panel.cc.

◆ IsTailscaleEndpoint()

bool yaze::editor::anonymous_namespace{settings_panel.cc}::IsTailscaleEndpoint ( const std::string & base_url)

Definition at line 112 of file settings_panel.cc.

◆ BuildHostTagString()

◆ ExpandLeadingTilde()

std::string yaze::editor::anonymous_namespace{settings_panel.cc}::ExpandLeadingTilde ( const std::string & path)

Definition at line 162 of file settings_panel.cc.

References ExpandLeadingTilde(), and yaze::util::PlatformPaths::GetHomeDirectory().

Referenced by AddUniquePath(), and ExpandLeadingTilde().

Here is the call graph for this function:

◆ AddUniquePath()

bool yaze::editor::anonymous_namespace{settings_panel.cc}::AddUniquePath ( std::vector< std::string > * paths,
const std::string & path )

Definition at line 179 of file settings_panel.cc.

References AddUniquePath(), and ExpandLeadingTilde().

Referenced by AddUniquePath().

Here is the call graph for this function:

◆ ScopeLabel()

const char * yaze::editor::anonymous_namespace{settings_panel.cc}::ScopeLabel ( SettingsPanel::Scope scope)

Definition at line 224 of file settings_panel.cc.

References yaze::editor::SettingsPanel::kApplication, yaze::editor::SettingsPanel::kProject, yaze::editor::SettingsPanel::kWorkspace, and ScopeLabel().

Referenced by ScopeLabel().

Here is the call graph for this function:

◆ DrawShortcutBindingRow()

Variable Documentation

◆ kSettingsCategories

constexpr std::array<SettingsPanel::CategoryDescriptor, 10> yaze::editor::anonymous_namespace{settings_panel.cc}::kSettingsCategories
constexpr
Initial value:
= {{
{"appearance", "Appearance", ICON_MD_PALETTE,
SettingsPanel::Scope::kApplication,
"theme font scale density motion colors"},
{"behavior", "Editor Behavior", ICON_MD_TUNE,
SettingsPanel::Scope::kApplication,
"autosave backup tips editor defaults"},
{"performance", "Performance", ICON_MD_SPEED,
SettingsPanel::Scope::kApplication,
"vsync fps cache undo performance"},
{"files", "Files & Sync", ICON_MD_STORAGE,
SettingsPanel::Scope::kApplication,
"folders roots filesystem icloud sync"},
{"ai", "AI Agent", ICON_MD_SMART_TOY,
SettingsPanel::Scope::kApplication,
"agent provider model host ollama gemini openai"},
{"shortcuts", "Keyboard Shortcuts", ICON_MD_KEYBOARD,
SettingsPanel::Scope::kApplication, "keys bindings commands panels"},
{"layout", "Workspace Layout", ICON_MD_DASHBOARD_CUSTOMIZE,
SettingsPanel::Scope::kWorkspace,
"layout dock windows named workspace"},
{"project", "Project Configuration", ICON_MD_FOLDER,
SettingsPanel::Scope::kProject,
"project rom identity paths build manifest"},
{"features", "Feature Flags", ICON_MD_FLAG,
SettingsPanel::Scope::kProject,
"experimental system overworld dungeon resources save flags"},
{"patches", "ASM Patches", ICON_MD_EXTENSION,
SettingsPanel::Scope::kProject, "asar asm patches parameters"},
}}
#define ICON_MD_STORAGE
Definition icons.h:1865
#define ICON_MD_TUNE
Definition icons.h:2022
#define ICON_MD_SPEED
Definition icons.h:1817
#define ICON_MD_EXTENSION
Definition icons.h:715
#define ICON_MD_DASHBOARD_CUSTOMIZE
Definition icons.h:518
#define ICON_MD_KEYBOARD
Definition icons.h:1028
#define ICON_MD_FLAG
Definition icons.h:784
#define ICON_MD_FOLDER
Definition icons.h:809
#define ICON_MD_PALETTE
Definition icons.h:1370
#define ICON_MD_SMART_TOY
Definition icons.h:1781

Definition at line 193 of file settings_panel.cc.