summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorMichael Lutz <michi@icosahedron.de>2021-01-08 22:15:06 +0100
committerMichael Lutz <michi@icosahedron.de>2021-02-14 14:16:40 +0100
commit22f5aeab07cb1c67561b9e348e2c944740233607 (patch)
tree0dbb0edbf02962e297e7d99e6d96b14ee570333b /src/table
parenta2c3197f424daa6e02201d8304015b0eb67d0b04 (diff)
downloadopenttd-22f5aeab07cb1c67561b9e348e2c944740233607.tar.xz
Feature: Automatic UI and font zoom levels when supported by the OS.
Diffstat (limited to 'src/table')
-rw-r--r--src/table/misc_settings.ini16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/table/misc_settings.ini b/src/table/misc_settings.ini
index be5088ec9..8cb6d4211 100644
--- a/src/table/misc_settings.ini
+++ b/src/table/misc_settings.ini
@@ -334,19 +334,19 @@ proc = ZoomMinMaxChanged
[SDTG_VAR]
name = ""gui_zoom""
-type = SLE_UINT8
-var = _gui_zoom
-def = ZOOM_LVL_OUT_4X
-min = ZOOM_LVL_MIN
+type = SLE_INT8
+var = _gui_zoom_cfg
+def = ZOOM_LVL_CFG_AUTO
+min = ZOOM_LVL_CFG_AUTO
max = ZOOM_LVL_OUT_4X
cat = SC_BASIC
[SDTG_VAR]
name = ""font_zoom""
-type = SLE_UINT8
-var = _font_zoom
-def = ZOOM_LVL_OUT_4X
-min = ZOOM_LVL_MIN
+type = SLE_INT8
+var = _font_zoom_cfg
+def = ZOOM_LVL_CFG_AUTO
+min = ZOOM_LVL_CFG_AUTO
max = ZOOM_LVL_OUT_4X
cat = SC_BASIC