diff options
| author | 2023-06-13 19:37:54 -0400 | |
|---|---|---|
| committer | 2023-07-21 10:56:54 -0400 | |
| commit | 27e53990ed7100159cc08fd8470a9faecd011cbe (patch) | |
| tree | b4f5b4ad38179f012fedff8a22b22ca027a397fc /src/common/settings_setting.h | |
| parent | settings: Move IsConfiguringGlobal to settings_common (diff) | |
| download | yuzu-27e53990ed7100159cc08fd8470a9faecd011cbe.tar.gz yuzu-27e53990ed7100159cc08fd8470a9faecd011cbe.tar.xz yuzu-27e53990ed7100159cc08fd8470a9faecd011cbe.zip | |
settings: Document BasicSetting, add Ranged
Diffstat (limited to 'src/common/settings_setting.h')
| -rw-r--r-- | src/common/settings_setting.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/settings_setting.h b/src/common/settings_setting.h index 1ca3acf18..658b6328d 100644 --- a/src/common/settings_setting.h +++ b/src/common/settings_setting.h | |||
| @@ -198,6 +198,10 @@ public: | |||
| 198 | return this->ToString(maximum); | 198 | return this->ToString(maximum); |
| 199 | } | 199 | } |
| 200 | 200 | ||
| 201 | constexpr bool Ranged() const override { | ||
| 202 | return ranged; | ||
| 203 | } | ||
| 204 | |||
| 201 | protected: | 205 | protected: |
| 202 | Type value{}; ///< The setting | 206 | Type value{}; ///< The setting |
| 203 | const Type default_value{}; ///< The default value | 207 | const Type default_value{}; ///< The default value |