Skip to main content

Crate jag_ui

Crate jag_ui 

Source
Expand description

§jag-ui

UI elements, widgets, and Taffy-based layout for jag-draw.

Build UIs in Rust with composable elements (buttons, inputs, containers) and automatic flex/grid layout.

Re-exports§

pub use focus::FocusDirection;
pub use focus::FocusId;
pub use focus::FocusManager;
pub use focus::FocusResult;
pub use hit_region::HitRegionRegistry;
pub use layout::Layout;
pub use theme::ElementColors;
pub use theme::Theme;
pub use theme::ThemeMode;
pub use ui::Ui;
pub use event::*;

Modules§

elements
Core UI elements.
event
Standalone event types and the EventHandler trait.
focus
Generic focus manager using opaque FocusId identifiers.
hit_region
Standalone hit-region registry mapping opaque region IDs to FocusIds.
layout
Thin wrapper around Taffy for flexbox / grid layout.
theme
Theme system providing dark and light color palettes for UI elements.
ui
Central UI coordinator that owns focus, hit-testing, layout, and theming.
widgets