mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 22:50:05 +00:00
Cleaning up font selection in settings dialog
This commit is contained in:
parent
4e5aa7b5e1
commit
d3a3c3db36
5 changed files with 95 additions and 58 deletions
|
|
@ -45,6 +45,14 @@ public:
|
|||
*/
|
||||
SettingsVariable<T>* GetSettingsVariable() const;
|
||||
|
||||
/**
|
||||
* Gets whether the staged value (or current value, if none staged) is
|
||||
* set to the default value.
|
||||
*
|
||||
* @return true if the settings variable is set to default, otherwise false.
|
||||
*/
|
||||
bool IsDefault() override;
|
||||
|
||||
/**
|
||||
* Sets the current value of the associated settings variable to the staged
|
||||
* value.
|
||||
|
|
@ -64,6 +72,11 @@ public:
|
|||
*/
|
||||
void StageDefault() override;
|
||||
|
||||
/**
|
||||
* Stages a value to the associated settings variable.
|
||||
*/
|
||||
void StageValue(const T& value);
|
||||
|
||||
/**
|
||||
* Sets the edit widget from the settings dialog.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue