diff options
Diffstat (limited to 'src/table/misc_settings.ini')
-rw-r--r-- | src/table/misc_settings.ini | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/table/misc_settings.ini b/src/table/misc_settings.ini index d9206d838..8415a4d26 100644 --- a/src/table/misc_settings.ini +++ b/src/table/misc_settings.ini @@ -8,6 +8,7 @@ [pre-amble] extern char _config_language_file[MAX_PATH]; +static bool ZoomMinMaxChanged(int32 p1); static const SettingDescGlobVarList _misc_settings[] = { [post-amble] @@ -271,5 +272,31 @@ def = 100 min = 0 max = UINT32_MAX +[SDTG_VAR] +name = ""zoom_min"" +type = SLE_UINT8 +var = _settings_client.gui.zoom_min +flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC +guiflags = SGF_MULTISTRING +def = ZOOM_LVL_MIN +min = ZOOM_LVL_MIN +max = ZOOM_LVL_GUI +str = STR_CONFIG_SETTING_ZOOM_MIN +strval = STR_CONFIG_SETTING_ZOOM_LVL_MIN +proc = ZoomMinMaxChanged + +[SDTG_VAR] +name = ""zoom_max"" +type = SLE_UINT8 +var = _settings_client.gui.zoom_max +flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC +guiflags = SGF_MULTISTRING +def = ZOOM_LVL_MAX +min = ZOOM_LVL_OUT_8X +max = ZOOM_LVL_MAX +str = STR_CONFIG_SETTING_ZOOM_MAX +strval = STR_CONFIG_SETTING_ZOOM_LVL_OUT_2X +proc = ZoomMinMaxChanged + [SDTG_END] |