oveRTOS C++ API
C++20 RAII wrappers for the oveRTOS C API
Loading...
Searching...
No Matches
Classes | Functions
LVGL Animation, Timer & Composition

LVGL timer, animation builder, and Component<Derived> CRTP base. More...

Collaboration diagram for LVGL Animation, Timer & Composition:

Classes

class  ove::lvgl::Timer
 RAII wrapper for LVGL's built-in timer system. More...
 
class  ove::lvgl::Animation
 Fluent builder for LVGL animations (lv_anim_t). More...
 
class  ove::lvgl::Component< Derived >
 CRTP base class for reusable, self-contained LVGL UI components. More...
 

Functions

void ove::lvgl::animate_x (ObjectView obj, int32_t to, uint32_t duration_ms)
 Helper: animate an object's X position with ease-out.
 
void ove::lvgl::animate_y (ObjectView obj, int32_t to, uint32_t duration_ms)
 Helper: animate an object's Y position with ease-out.
 
void ove::lvgl::animate_width (ObjectView obj, int32_t to, uint32_t duration_ms)
 Helper: animate an object's width.
 
void ove::lvgl::animate_opa (ObjectView obj, lv_opa_t to, uint32_t duration_ms)
 Helper: fade an object's main-part opacity from current → to.
 
int32_t ove::lvgl::display_width ()
 Horizontal resolution (pixels) of the default LVGL display.
 
int32_t ove::lvgl::display_height ()
 Vertical resolution (pixels) of the default LVGL display.
 
int32_t ove::lvgl::display_dpi ()
 DPI of the default LVGL display.
 
ObjectView ove::lvgl::layer_top ()
 Returns the top layer (for overlays that should render above screens).
 

Detailed Description

LVGL timer, animation builder, and Component<Derived> CRTP base.