Add alert palette reset buttons

This commit is contained in:
Dan Paulat 2024-09-29 08:19:51 -05:00
parent 2d8c3c8175
commit a1d9b25f0b
6 changed files with 177 additions and 0 deletions

View file

@ -37,6 +37,24 @@ public:
SettingsVariable(SettingsVariable&&) noexcept;
SettingsVariable& operator=(SettingsVariable&&) noexcept;
/**
* Gets whether or not the settings variable is currently set to its default
* value.
*
* @return true if the settings variable is currently set to its default
* value, otherwise false.
*/
bool IsDefault() const;
/**
* Gets whether or not the settings variable currently has its staged value
* set to default.
*
* @return true if the settings variable currently has its staged value set
* to default, otherwise false.
*/
bool IsDefaultStaged() const;
/**
* Gets the current value of the settings variable.
*