Expand description
Standalone UI framework — widget tree, event system, theming, and layout.
Designed to be graphics-backend-agnostic: outputs a DrawList of
DrawCommand primitives that the renderer can consume.
§Architecture
UiContext → UiTree → UiNode hierarchy → layout → DrawList
↑
Widget impls (Button, Label, Slider, etc.)Structs§
- Button
- Checkbox
- Color
- Draw
List - Output draw list for one frame of UI.
- Dropdown
- Flex
Layout - Label
- Panel
- Progress
Bar - Rect
- Scroll
View - Slider
- Text
Input - Theme
- Toast
- Toast
Manager - Manages a toast notification stack.
- Tooltip
Manager - UiContext
- The top-level UI context: manages widgets, events, and layout.
- UiInput
- Input snapshot for one UI tick.
- Widget
Id - Stable identifier for a UI widget.
- Widget
State
Enums§
- Align
Items - Draw
Command - A single draw command for the renderer.
- Flex
Direction - Justify
Content - Size
Constraint - Text
Align - Toast
Kind - UiEvent
Traits§
- Widget
- A UI widget that can draw itself and handle input.