lv_rlottie.h

API reference for lv_rlottie.h

Report on GitHub
See Also: Private HeaderThis header has a companion private implementation with internal data structures.lv_rlottie_private.h

Functions

lv_rlottie_set_play_mode

Set how the animation is played.

> Deprecated: rlottie is deprecated. Use the lv_lottie widget instead.

 
void lv_rlottie_set_play_mode(lv_obj_t *rlottie, const lv_rlottie_ctrl_t ctrl)
Parameters
NameTypeDescription
rlottielv_obj_t *pointer to an rlottie widget
ctrlconst lv_rlottie_ctrl_tOR-ed values of lv_rlottie_ctrl_t, e.g. `LV_RLOTTIE_CTRL_BACKWARD

lv_rlottie_set_current_frame

Jump to a given frame of the animation.

> Deprecated: rlottie is deprecated. Use the lv_lottie widget instead.

 
void lv_rlottie_set_current_frame(lv_obj_t *rlottie, const size_t goto_frame)
Parameters
NameTypeDescription
rlottielv_obj_t *pointer to an rlottie widget
goto_frameconst size_tzero based index of the frame to show. Values not smaller than the total frame count select the last frame.

Enums

lv_rlottie_ctrl_t

NameValue
LV_RLOTTIE_CTRL_FORWARD0
LV_RLOTTIE_CTRL_BACKWARD1
LV_RLOTTIE_CTRL_PAUSE2
LV_RLOTTIE_CTRL_PLAY0
LV_RLOTTIE_CTRL_LOOP8
Used by 1 function
  • lv_rlottie_set_play_mode — param ctrl

Macros

LV_RLOTTIE_DEPRECATED_MSG

 
#define LV_RLOTTIE_DEPRECATED_MSG "rlottie is deprecated; use the lv_lottie widget instead."

> Deprecated: The rlottie player is deprecated and kept only for backward compatibility. Use the lv_lottie widget instead. See the Lottie widget docs.

Variables

lv_rlottie_class

 
const lv_obj_class_t lv_rlottie_class

Dependencies

Last updated on

On this page