Layout API
Wijjit’s layout engine converts template tags into positioned elements. The modules below govern size specifications, stacking behaviour, frames, scrolling, and dirty-region tracking.
Size & geometry
Represents the position and size of a UI element. |
|
Represents a size specification for layout calculation. |
|
Parse a size value into a Size object. |
|
Parse a margin value into a normalized 4-tuple. |
Engine primitives
Base class for layout tree nodes. |
|
Layout node wrapping a single Element. |
|
Base container class for layout nodes with children. |
|
Vertical stacking container. |
|
Horizontal stacking container. |
|
Size constraints for layout calculation. |
Frames & scrolling
Renders a frame with borders and content. |
|
Style configuration for a frame. |
|
Border style for frames. |
|
Manages scroll state and operations for a scrollable container. |
|
Render a vertical scrollbar as a list of characters. |
Dirty tracking
Manages dirty regions for optimized screen rendering. |