Skip to main content

Module elements

Module elements 

Source

Modules§

border
Game Boy-style tile border rendering.
cursor
Cursor element — draws a selection glyph (▶) at a position computed from a base + grid offset.
divider
Divider element — renders a line of tiles (horizontal or vertical) with optional repeat to fill a rectangle.
flex_list
Multi-column list element renderer.
group
Layout container — groups children with coordinate translation.
image
Image element — blits a full-colour RGBA image into the element’s rect.
list
Scrollable list element renderer.
primitives
Primitive shape elements — bracket, pixel_rect.
text
Text element — renders text with template variable resolution, word wrapping, alignment, and colour mapping.
tile
Tile element — renders a single Game Boy tile, with optional repeat to fill a rectangle, flip support, and template variable resolution for the tile id.