Show linear scaling value in settings window for cargo scaling settings

This commit is contained in:
Jonathan G Rennison
2021-09-08 20:07:21 +01:00
parent a0cb27b73c
commit afd66c1631
4 changed files with 30 additions and 9 deletions

View File

@@ -50,6 +50,7 @@ enum SettingGuiFlag : uint16 {
SGF_DECIMAL1 = 1 << 10,///< display a decimal representation of the setting value divided by 10
SGF_ENUM = 1 << 11,///< the setting can take one of the values given by an array of struct SettingDescEnumEntry
SGF_NO_NEWGAME = 1 << 12,///< the setting does not apply and is not shown in a new game context
SGF_DEC1SCALE = 1 << 13,///< also display a float representation of the scale of a decimal1 scale parameter
};
DECLARE_ENUM_AS_BIT_SET(SettingGuiFlag)