Skip to main content

Crate rlvgl_core

Crate rlvgl_core 

Source
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;canvas
pub use plugins::fatfs;fatfs
pub use plugins::fontdue;fontdue
pub use plugins::gif;gif
pub use plugins::apng;apng
pub use plugins::jpeg;jpeg
pub use plugins::lottie;lottie
pub use plugins::nes;nes
pub use plugins::pinyin;pinyin
pub use plugins::png;png
pub use plugins::qrcode;qrcode

Modules§

animation
Animation primitives: easing, looping, motion, fade, and keyframe transitions.
application
Application trait for self-contained rlvgl applications.
bitmap_font
Minimal bitmap font for no_std text rendering.
draw
Drawing helpers for rounded rectangles and borders. Drawing helpers that compose crate::renderer::Renderer calls to produce rounded rectangles and borders without extending the renderer trait.
event
Basic UI events used for widgets.
fsfs
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.
interface
Traits for hardware abstraction (Display, Input, Time).
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.
renderer
Rendering interface used by widgets.
style
Visual appearance attributes applied to widgets.
theme
Theme trait and basic implementations.
widget
Basic widget traits and geometry types.

Structs§

WidgetNode
Node in the widget hierarchy.