Expand description
Core runtime types and utilities for the rlvgl UI toolkit.
This crate exposes the building blocks used by higher-level widgets and
platform backends. It is intended to be usable in no_std environments and
therefore avoids allocations where possible.
Widgets are organized into a tree of WidgetNode values which receive
Events and draw themselves via a Renderer implementation.
Note: Event and Renderer are externally supplied types, not defined
in this crate.
Re-exports§
pub use plugins::canvas;canvaspub use plugins::fatfs;fatfspub use plugins::fontdue;fontduepub use plugins::gif;gifpub use plugins::apng;apngpub use plugins::jpeg;jpegpub use plugins::lottie;lottiepub use plugins::nes;nespub use plugins::pinyin;pinyinpub use plugins::png;pngpub use plugins::qrcode;qrcode
Modules§
- anim
- Tick-driven tween/animation system (deterministic, no wall clock). Tick-driven tween/animation system (ANIM initiative).
- animation
- Animation primitives: easing, looping, and legacy wall-clock animators.
- application
- Application trait for self-contained rlvgl applications.
- asset
fs - Asset path, handle, registry, cache, and source implementations.
- bitmap_
font - Minimal bitmap font for
no_stdtext rendering. - cmd
- Graphics-language layer: structured drawing commands as data. Graphics-language layer: structured drawing commands as data, separable from execution.
- draw
- Drawing helpers for rounded rectangles and borders.
Drawing helpers that compose
crate::renderer::Renderercalls to produce rounded rectangles and borders without extending the renderer trait. - edit
- Shared edit-state machine (buffer, caret, mutation gates) promoted from
rlvgl-uiso thatrlvgl-widgetscan depend on it without a crate cycle (LPAR-14 §5.C). Shared edit-state machine promoted fromrlvgl-ui(LPAR-14 §5.C). - event
- Basic UI events used for widgets.
- focus
- Focus traversal and group policy for the LPAR-04 event/focus runtime. Focus traversal and group policy for the LPAR-04 event/focus runtime.
- font
- Backend-neutral font metrics, shaping, and greedy wrapping. Backend-neutral font metrics, shaping, and greedy LTR wrapping.
- fs
fs - Asset loading interfaces for filesystem-backed content.
- icon_
bitmap - 1-bit bitmap icons (folder, file) rendered at font height. 1-bit bitmap icons for the file browser.
- image
- Image descriptors, blit options, and cache handles. Image descriptor, blit option, and cache-handle primitives.
- interface
- Traits for hardware abstraction (Display, Input, Time).
- invalidation
- Shared invalidation planner and present-plan types (LPAR-03). Shared invalidation planner and present-plan types (LPAR-03).
- layout
- LPAR-10 layout substrate:
Dimension, flex/grid engines,LayoutState, and layout pass. LPAR-10 layout substrate:Dimension, flex/grid engines,LayoutState,LayoutPass, andLayoutStyle. - mask
- LPAR-08 alpha mask primitives and coverage combinators. Alpha mask primitives for LPAR-08 draw coverage composition.
- object
- LVGL-parity object metadata and tree helpers. LVGL-parity object metadata and tree helpers.
- object_
anim - Node-resident object animations; see
object_anim::ObjectAnims. Node-resident object animations (LPAR-06 §6). - observer
- LPAR-15 value-binding
Subject<T>— orthogonal to the LPAR-04 event system. Value-bindingSubject<T>for deterministic observer notifications. - packed_
font - Variable-width packed font renderer (grayscale anti-aliased).
Variable-width packed font renderer for
no_std. - plugins
- Plugins for optional media formats and UI integrations.
- property
- LPAR-15 typed property accessor:
PropertyValueenum and theQueryabletrait. Typed property accessor model for widget introspection. - raster
- Anti-aliased rasterization kernels (OBB and helpers) usable by both
software and hardware-accelerated
Rendererimplementations. Anti-aliased rasterization kernels. - renderer
- Rendering interface used by widgets.
- scroll
- LPAR-05 scroll runtime: scroll state, controller, and snap logic. LPAR-05 scroll runtime: state, controller, and snap logic.
- style
- Visual appearance attributes applied to widgets.
- style_
cascade - LPAR-07 style cascade substrate:
Part,Selector,StylePatch,StyleState, and resolution. LPAR-07 style cascade substrate:Part,Selector,StylePatch,StyleState,InheritedContext, and top-down cascade resolution. - theme
- Theme trait and basic implementations.
- timer
- Tick-driven timer registry; see
timer::Timers. Tick-driven timer registry —no_std + alloc, no wall clock (LPAR-06 §5). - widget
- Basic widget traits and geometry types.
Structs§
- Widget
Node - Node in the widget hierarchy.