Settings GUI: Add flag to mark a setting as should be left at default

This commit is contained in:
Jonathan G Rennison
2022-01-31 00:43:25 +00:00
parent 0a7a7ebcf0
commit e5c99b3601
3 changed files with 31 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ enum SettingFlag : uint32 {
SF_DEC1SCALE = 1 << 16, ///< also display a float representation of the scale of a decimal1 scale parameter
SF_RUN_CALLBACKS_ON_PARSE = 1 << 17, ///< run callbacks when parsing from config file
SF_GUI_VELOCITY = 1 << 18, ///< setting value is a velocity
SF_GUI_ADVISE_DEFAULT = 1 << 19, ///< Advise the user to leave this setting at its default value
};
DECLARE_ENUM_AS_BIT_SET(SettingFlag)