Commit graph

15 commits

Author SHA1 Message Date
48d5d54b77 Fractional GUI scale (0.5 step), fit menu to window, fix settings pages
- display.gui-scale is now a number: 0 (auto) or 0.5..4 in 0.5 steps
- explicit scale is no longer limited by window size (tiled windows);
  only an open menu page is shrunk to fit the window
- snap Batch2D vertices to pixels on fractional scale (fixes dots above text)
- pass app to settings_common via options (not visible inside modules)
- gui.get_scale() returns a number
2026-10-03 15:28:03 +02:00
33e132a231 Share settings page helpers, add GUI cursor/scale API
- move create_trackbar_setting/update_trackbar_label/create_checkbox from
  settings_audio/display/graphics pages to core:settings_common module
- GUI scale trackbar shows the really applied scale, e.g. '3 (effective 2)'
- add gui.get_scale(), gui.get_max_scale(), gui.get_cursor_pos() (UI units);
  document that input.get_mouse_pos() returns window pixels
- InventoryView default color is defined once (InventoryView::DEFAULT_COLOR)
  instead of duplicated literals; 'color' attribute still overrides it
2026-10-03 13:12:30 +00:00
MihailRis
cdc5302dd1 add 'Fog' settings to ui 2026-09-26 19:18:29 +03:00
MihailRis
eb453d8170 add audio.recording-enabled setting 2026-05-24 14:15:31 +03:00
MihailRis
1194379f99 add 'graphics.clouds-quality' setting 2026-02-12 18:34:32 +03:00
MihailRis
a6301c8837 remove settings-related functions from core 2026-01-07 02:39:29 +03:00
MihailRis
58dee92c26 change 'graphics.ssao' from flag to number 2025-12-19 18:55:55 +03:00
MihailRis
1a0535c8af add 'graphics.soft-lighting' to settings menu 2025-11-10 18:40:50 +03:00
MihailRis
b04dbd5809 add 'graphics.ssao' setting 2025-07-12 21:36:27 +03:00
MihailRis
b272d86619 add 'grahics.advanced-render' and 'graphics.shadows-quality' settings 2025-05-11 01:09:41 +03:00
MihailRis
dc8f5e7873 add 'graphics.dense-render' setting 2024-12-21 08:13:05 +03:00
MihailRis
f46e4a7989 add trackbar 'sub-consumer' for value label refresh when 'change-on-release' 2024-07-28 22:15:18 +03:00
MihailRis
7c6d620560 add setting camera.inertia & add display settings menu page 2024-07-15 14:23:31 +03:00
MihailRis
df2c024a3e settings tooltips 2024-06-04 12:44:33 +03:00
MihailRis
2380375f3c settings menu update + UINode 'enabled' property 2024-04-30 16:41:44 +03:00