settings: Document BasicSetting, add Ranged

This commit is contained in:
lat9nq
2023-06-13 19:37:54 -04:00
parent b4f2ad3ff5
commit 27e53990ed
2 changed files with 112 additions and 11 deletions

View File

@ -198,6 +198,10 @@ public:
return this->ToString(maximum);
}
constexpr bool Ranged() const override {
return ranged;
}
protected:
Type value{}; ///< The setting
const Type default_value{}; ///< The default value