#include <preferences.hpp>
Public Types | |
| enum class | avd_type { TOGGLE , SLIDER , COMBO , SPECIAL } |
Public Member Functions | |
| option (const config &pref) | |
Public Attributes | |
| avd_type | type |
| The preference type. More... | |
| t_string | name |
| Displayed name. More... | |
| t_string | description |
| Displayed description. More... | |
| std::string | field |
| The actual field saved in the prefs file and by which this preference may be accessed. More... | |
| config | cfg |
| The full config, including type-specific options. More... | |
Definition at line 141 of file preferences.hpp.
|
strong |
| Enumerator | |
|---|---|
| TOGGLE | |
| SLIDER | |
| COMBO | |
| SPECIAL | |
Definition at line 165 of file preferences.hpp.
|
inline |
| config preferences::option::cfg |
The full config, including type-specific options.
Definition at line 180 of file preferences.hpp.
Referenced by option().
| t_string preferences::option::description |
Displayed description.
Definition at line 174 of file preferences.hpp.
| std::string preferences::option::field |
The actual field saved in the prefs file and by which this preference may be accessed.
Definition at line 177 of file preferences.hpp.
| t_string preferences::option::name |
| avd_type preferences::option::type |