Repository navigation
gui_toolkit 0.28.0
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_chromeanswers.Clientinside it), so that the corners a trapezoid tab does not cover keep dragging the window. For tab strips drawn with sloped sides. Tests intests/chrome.