voxelcore/res/layouts/pages
alexei-zebra 68d4214627
Fix the engine window frame on windows
Four things came out of testing on windows.

The window settings were hidden outside of wayland because the check used
the backend name, while the bar height matters wherever the engine draws
the frame. The window now reports that (hasEngineFrame: barEnabled on
wayland, engineFrame on glfw) and the display page asks for it. Only the
live resize switch stays wayland specific, since the glfw backend always
draws a fresh frame.

The simplified mode is gone: when the frame is active and the surface has
alpha, the shadow and the outer resize border are always there.

The bar and its controls are drawn even when the font is missing: the early
return used to make the whole bar invisible while its hit zones kept
working.

GLFW rewrites the window style on every mode change and dropped the thick
frame the native resize border and snapping need, so the frame is set up
again after such a change.

Windows runs a modal loop while a window border is dragged and the main
loop is blocked inside it, which froze the content during a resize. The
backend draws and presents a frame from the refresh callback now, and
skips the framerate limit there.
2026-10-10 22:02:33 +03:00
..
404.xml new content menu (WIP) 2024-05-02 04:07:07 +03:00
content.xml move open_folder, open_url from core to app 2026-01-07 02:03:33 +03:00
content.xml.lua fix: validate content pack dependency versions 2026-09-14 01:47:10 +07:00
content_menu.xml move open_folder, open_url from core to app 2026-01-07 02:03:33 +03:00
content_menu.xml.lua add search textbox auto-focus in main menu 2026-08-29 23:48:51 +05:00
generators.xml controls panel moved to xml 2024-04-19 16:07:06 +03:00
generators.xml.lua update session library 2026-03-18 21:52:24 +03:00
languages.xml add max-length to languages panel 2026-02-20 17:29:08 +03:00
languages.xml.lua languages list: template used 2024-06-03 14:50:36 +03:00
main.xml remove core.quit add 'silent' argument to app.quit 2026-01-07 19:37:57 +03:00
new_world.xml fix the margin 2026-07-24 19:19:07 +03:00
new_world.xml.lua update session library 2026-03-18 21:52:24 +03:00
pause.xml add gui.close_menu 2026-02-06 18:25:52 +03:00
scripts.xml add refresh button to scripts page 2025-01-06 13:08:42 +03:00
scripts.xml.lua fix scripts menu 2025-11-20 17:37:12 +03:00
settings.xml add 'graphics.clouds-quality' setting 2026-02-12 18:34:32 +03:00
settings.xml.lua remove settings-related functions from core 2026-01-07 02:39:29 +03:00
settings_audio.xml settings menu update + UINode 'enabled' property 2024-04-30 16:41:44 +03:00
settings_audio.xml.lua fix audio input device settings 2026-07-20 21:15:59 +03:00
settings_controls.xml fix controls settings panel height 2026-05-24 13:33:34 +03:00
settings_controls.xml.lua remove settings-related functions from core 2026-01-07 02:39:29 +03:00
settings_display.xml add setting camera.inertia & add display settings menu page 2024-07-15 14:23:31 +03:00
settings_display.xml.lua Fix the engine window frame on windows 2026-10-10 22:02:33 +03:00
settings_graphics.xml add 'Fog' settings to ui 2026-09-26 19:18:29 +03:00
settings_graphics.xml.lua add 'Fog' settings to ui 2026-09-26 19:18:29 +03:00
settings_reset.xml add settings reset 2024-10-31 01:08:01 +10:00
settings_reset.xml.lua remove settings-related functions from core 2026-01-07 02:39:29 +03:00
worlds.xml move open_folder, open_url from core to app 2026-01-07 02:03:33 +03:00
worlds.xml.lua remove settings-related functions from core 2026-01-07 02:39:29 +03:00