voxelcore/res/layouts
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
..
pages Redraw the windows frame from WM_SIZE and keep its style 2026-10-11 01:05:47 +03:00
reports missing content report moved to xml 2024-04-22 22:17:06 +03:00
templates add content pack version display 2026-08-11 18:55:32 +05:00
code_editor.xml add vcm old models converter button to the editor temporary 2026-08-17 22:23:20 +03:00
code_editor.xml.lua add vcm old models converter button to the editor temporary 2026-08-17 22:23:20 +03:00
console.xml fix assets.parse_model with 'xml' format 2025-10-15 12:17:46 +03:00
console.xml.lua update session library 2026-03-18 21:52:24 +03:00
files_panel.xml move files panel to separate document 2025-05-24 22:22:36 +03:00
files_panel.xml.lua move events library implementation to core:internal/events & disable access to core:internal modules outside of stdlib 2025-08-08 00:29:12 +03:00
ingame_chat.xml fix ingame chat size 2025-03-31 14:15:51 +03:00
ingame_chat.xml.lua fix: duplicating core:chat event handlers in in-game chat 2026-06-02 23:58:41 +03:00
inventory.xml Inventory enhancements #897: 2, 5, 9, 11, 12 (#931) 2026-08-14 21:25:42 +03:00
inventory.xml.lua Inventory enhancements #897: 2, 5, 9, 11, 12 (#931) 2026-08-14 21:25:42 +03:00
process.xml process page test 2024-04-23 04:51:00 +03:00
process.xml.lua process page test 2024-04-23 04:51:00 +03:00