Expand description
Re-exports§
pub use widget::View;pub use widget::Widget;pub use widget::Label;pub use widget::Button;pub use layout::FlexDirection;pub use layout::LayoutNode;pub use layout::Style;pub use layout::simple_layout;pub use event::Event;pub use renderer::SoftwareRenderer;pub use anim::Easing;pub use anim::Spring;pub use anim::Tween;pub use anim::ease;pub use widgets::Draw;pub use widgets::Rgba;
Modules§
- anim
- Animation toolkit — easing curves, springs, tweens and a tiny animator.
- event
- UI input events.
- holo
- Holographic vector UI primitives — a stroke font, sci-fi frame geometry, and
immediate-mode hit-testing. Everything is returned as line segments
[x0,y0,x1,y1]in a local box so a renderer can scale, glow and depth-shift them however it likes. - layout
- Flex layout engine (wraps Taffy when the
layoutfeature is enabled). - renderer
- Software renderer stub for ling-ui.
- widget
- UI widget types.
- widgets
- Professional vector UI toolkit — HUD overlays, meters/gauges, interface
controls and game UI, all emitted as resolved vector primitives so a single
widget can be multi-colour and the host can rasterize (AA fill + AA stroke)
however it likes. Pure, allocation-light, immediate-mode: call a function
each frame with the live params and draw the returned
Draw.