Expand description
Safe Rust bindings for LVGL on embedded and host targets.
Modules§
- anim
- Animation descriptors, path functions, and timeline management. Animation descriptors, path functions, and timeline management.
- display
- Display output: DMA-aligned render buffers and display initialisation. DMA-aligned render buffers and embedded display initialisation.
- draw
- Draw primitives:
Area,Layer, rectangle/label descriptors, draw task wrappers. Draw task wrappers forLV_EVENT_DRAW_TASK_ADDEDhandlers. - draw_
buf - Owned LVGL draw buffer wrapping
lv_draw_buf_t. Owned LVGL draw buffer — wrapslv_draw_buf_t. - driver
- LVGL driver initialization (tick source, log bridge). LVGL driver initialization: tick source, log bridge, and display setup.
- enums
- General LVGL enum types (event codes, object flags, states, opacity, scroll). Type-safe wrappers for LVGL constants (event codes, object flags, states, scrollbar modes, opacity, scroll direction).
- event
- Safe wrapper around LVGL events.
Safe wrapper around LVGL events (
lv_event_t). - fonts
- Built-in LVGL font handles. Font types and built-in LVGL font constants.
- gridnav
- Grid navigation (
LV_USE_GRIDNAV) — keyboard-driven focus inside containers. Grid navigation (LV_USE_GRIDNAV) — keyboard-driven focus inside containers. - group
- LVGL input group — focus management for keyboard/encoder navigation. LVGL input group — focus management for keyboard/encoder navigation.
- indev
- Input device queries. Input device queries — non-owning wrappers for LVGL indev functions.
- layout
- Layout types: flex flow/alignment, grid alignment/cells, layout engine. Layout types: flex flow/alignment, grid alignment/cells, and layout engine selection.
- math
- LVGL math utility wrappers (Bezier, mapping). LVGL math utility wrappers.
- navigator
- Navigation stack: push/pop/replace/modal view management. View navigation stack with modal overlay support.
- prelude
- Universal convenience re-exports (
use oxivgl::prelude::*). Universal convenience re-exports for widget, style, and animation types. - snapshot
- Screen capture (host-only). Screen capture API (host-only).
- style
- Style system: builders, selectors, themes, gradients, and color palettes. Style system: builders, selectors, themes, gradients, and color palettes.
- symbols
- LVGL built-in icon symbols (Font Awesome subset). LVGL built-in icon symbols (Font Awesome subset).
- timer
- LVGL periodic timer with polling-based trigger detection.
- translation
- LVGL translation/i18n support (
LV_USE_TRANSLATION). LVGL translation/i18n support. - view
- View trait and LVGL render loop. View trait and navigation primitives.
- widgets
- Type-safe LVGL widget wrappers. Type-safe LVGL widget wrappers and supporting types.
Macros§
- btnmatrix_
map - Create a
&'staticButtonmatrixMapfrom C string literals. - image_
declare - Declare an LVGL image asset compiled by
oxivgl-build. - scale_
labels - Create a
&'staticScaleLabelsarray from C string literals.