Skip to content

gui_toolkit 0.28.0

Choose a tag to compare

@sachahjkl sachahjkl released this 25 Oct 12:24
· 615 commits to master since this release
v0.28.0
e676cab

0.27.0 is reserved for the fixes of the review branch.

Added

  • Boxes with leaning sides (ui.Box.slant, platform.Slant): a clickable box can say that its left and right edges lean (how far each is moved inwards at its top and at its bottom). Only that trapezoid is hit (ui.box_contains; the topmost box under the pointer still wins), and over an integrated title bar it is a slanted hole (platform.Chrome_Regions.slanted, platform.Slanted_Region, platform.slanted_contains; hit_test_chrome answers .Client inside it), so that the corners a trapezoid tab does not cover keep dragging the window. For tab strips drawn with sloped sides. Tests in tests/chrome.