|
@@ -28,6 +28,7 @@ static const SettingVariant _gui_setting
|
|
|
SDTC_BOOL = SDTC_BOOL( $var, $flags, $def, $str, $strhelp, $strval, $pre_cb, $post_cb, $str_cb, $help_cb, $val_cb, $from, $to, $cat, $extra, $startup),
|
|
|
SDTC_OMANY = SDTC_OMANY( $var, $type, $flags, $def, $max, $full, $str, $strhelp, $strval, $pre_cb, $post_cb, $str_cb, $help_cb, $val_cb, $from, $to, $cat, $extra, $startup),
|
|
|
SDTC_VAR = SDTC_VAR( $var, $type, $flags, $def, $min, $max, $interval, $str, $strhelp, $strval, $pre_cb, $post_cb, $str_cb, $help_cb, $val_cb, $from, $to, $cat, $extra, $startup),
|
|
|
SDTC_SSTR = SDTC_SSTR( $var, $type, $flags, $def, 0, $pre_cb, $post_cb, $from, $to, $cat, $extra, $startup),
|
|
|
|
|
|
[validation]
|
|
|
SDTC_OMANY = static_assert($max <= MAX_$type, "Maximum value for $var exceeds storage size");
|
|
@@ -903,3 +904,9 @@ post_cb = [](auto) { SetupWidgetDimensi
|
|
|
cat = SC_BASIC
|
|
|
startup = true
|
|
|
|
|
|
[SDTC_SSTR]
|
|
|
var = gui.digit_decimal_separator
|
|
|
flags = SF_NOT_IN_SAVE | SF_NO_NETWORK_SYNC
|
|
|
type = SLE_STRQ
|
|
|
def = nullptr
|
|
|
post_cb = [](auto) { MarkWholeScreenDirty(); }
|