mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 11:46:42 +01:00
859 B
859 B
tengri_output is an abstract interface layout framework.
it expresses the following notions:
-
space:
Direction,Coordinate,Area,Size,Measure -
output:
Output,Render,Content- the layout operators are generic over
Renderand/orContent - the traits
RenderandContentare generic overOutput - implement
Outputto bring a layout to a new backend: seeTuiOutintengri_tui
- the layout operators are generic over
-
- conditionals:
When,Either - iteration:
Map - concatenation:
Bsp - positioning:
Align,Push,Pull - sizing:
Fill,Fixed,Expand,Shrink,Min,Max - implement custom components (that may be backend-dependent):
see
tui_contentintengri_tui
- conditionals: