Skip to main content

Crate uzor

Crate uzor 

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 i18n::Language;
pub use i18n::current_language;
pub use i18n::set_language;
pub use i18n::Translatable;
pub use i18n::TextKey;
pub use i18n::MonthKey;
pub use i18n::TooltipKey;
pub use i18n::month_names_short;
pub use i18n::t_tooltip;
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;
pub use input::TooltipState;
pub use input::TooltipConfig;
pub use input::TooltipRequest;
pub use input::TooltipTheme;
pub use input::DefaultTooltipTheme;
pub use input::calculate_tooltip_position;
pub use input::estimate_tooltip_size;

Modules§

animation
Animation engine for uzor
containers
context
UZOR central context and Immediate Mode API
cursor
Cursor interaction effects for the uzor UI framework
i18n
Internationalization (i18n) module
input
Input handling for uzor
interactive
Interactive component animations
layout
Layout engine for uzor
layout_helpers
Layout calculation helpers for UZOR
macos
uzor-macos — macOS-style themes and widgets for the uzor UI framework
numbers
Animated number displays for uzor
panel_api
Panel Application API
panels
uzor-panels — Generic docking panel layout engine
platform
Platform abstraction layer
render
Platform-agnostic rendering abstraction for uzor
scroll_fx
Scroll-linked animation effects for uzor UI framework.
state
State management module
text_fx
Text animation effects for uzor UI framework.
types
Core types for widgets
widgets
Core widgets module