voxelcore/res/layouts/pages
alexei-zebra 4d1b4a1638
Redraw the windows frame from WM_SIZE and keep its style
The refresh callback is triggered by WM_PAINT, but windows does not send it
while a border is dragged: the window class has neither CS_HREDRAW nor
CS_VREDRAW and nothing invalidates the client area. Only WM_SIZE arrives, so
nothing was drawn during such a resize. The frame is drawn from WM_SIZE now,
after forwarding the message to GLFW so that the new size is already in.

WM_NCHITTEST re-applies the style bits the engine frame needs and which GLFW
drops on every window mode change, taking the drag area with them. Every frame
setup logs whether the subclass had to be installed again, so a lost window
procedure is visible in the log.

The live resize switch is honoured by the GLFW backend as well: with it off the
frame from the message loop is skipped and the window keeps showing what the
system stretches.
2026-10-11 01:05:47 +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 Redraw the windows frame from WM_SIZE and keep its style 2026-10-11 01:05:47 +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