yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::ContentRegistry::Settings Namespace Reference

Registry for User Settings. Allows components to declare their settings statically. More...

Classes

struct  SettingDef
 

Functions

void Register (const SettingDef &setting)
 
void add (const std::string &section, const std::string &key, const std::string &default_val, const std::string &desc)
 
std::vector< SettingDefGetAll ()
 

Detailed Description

Registry for User Settings. Allows components to declare their settings statically.

Function Documentation

◆ Register()

void yaze::editor::ContentRegistry::Settings::Register ( const SettingDef & setting)

Definition at line 279 of file content_registry.cc.

Referenced by add().

◆ add()

void yaze::editor::ContentRegistry::Settings::add ( const std::string & section,
const std::string & key,
const std::string & default_val,
const std::string & desc )

Definition at line 284 of file content_registry.cc.

References Register().

Here is the call graph for this function:

◆ GetAll()

std::vector< SettingDef > yaze::editor::ContentRegistry::Settings::GetAll ( )

Definition at line 288 of file content_registry.cc.