Skip to main content

Crate uzor_core

Crate uzor_core 

Source
Expand description

uzor - Platform-agnostic headless UI engine

This crate provides a headless UI framework for:

  • Geometry calculation and layout
  • Input handling and interaction detection
  • Widget state management
  • Platform abstraction

Rendering is delegated to platform-specific implementations.

Re-exports§

pub use context::Context;
pub use context::ButtonResponse;
pub use animation::AnimationCoordinator;
pub use types::IconId;
pub use types::Rect;
pub use types::WidgetId;
pub use types::WidgetState;
pub use input::InputState;
pub use input::InputCoordinator;
pub use input::LayerId;
pub use input::ScopedRegion;
pub use widgets::IconButtonConfig;
pub use widgets::IconButtonResponse;
pub use widgets::ButtonType;
pub use widgets::ContainerType;
pub use widgets::PopupType;
pub use widgets::PanelType;
pub use widgets::ToolbarVariant;
pub use widgets::SidebarVariant;
pub use widgets::ModalVariant;
pub use widgets::OverlayType;
pub use widgets::TextInputType;
pub use widgets::DropdownType;
pub use widgets::SliderType;
pub use widgets::ToastType;

Modules§

animation
Animation coordination module
containers
context
UZOR central context and Immediate Mode API
input
Input handling for uzor
layout
Layout engine for uzor
platform
Platform abstraction layer
state
State management module
types
Core types for widgets
widgets
Core widgets module