Skip to content

gui_toolkit 0.23.0

Choose a tag to compare

@sachahjkl sachahjkl released this 25 Oct 12:23
· 522 commits to master since this release
v0.23.0
0c25587

Changed

  • render.surface_create(r, hwnd, size, transparent = false, fixed_size = {}): a second window can have a composition swap chain (transparent, with the window opened with platform.open_window(..., transparent = true)) and a fixed surface (fixed_size, as set_fixed_surface does for the renderer's own window): resized, it shows its buffers 1:1 clipped by the client area, never stretched. The default stays an opaque HWND swap chain, which stretches the last frame while the window is resized. surface_destroy also releases a translucent surface's DirectComposition objects (and goes through set_teardown_wait).