lv_spinner.h
API reference for lv_spinner.h
See Also: Private HeaderThis header has a companion private implementation with internal data structures.lv_spinner_private.h
Summary
Functions
widgets/spinner/lv_spinner.h:63function
lv_spinner_set_anim_params
Set the animation time and arc length of the spinner The animation is suited for angle values between 180 and 360.
void lv_spinner_set_anim_params(lv_obj_t *obj, uint32_t t, uint32_t angle)| Name | Type | Description |
|---|---|---|
obj | lv_obj_t * | pointer to a spinner |
t | uint32_t | the animation time in milliseconds |
angle | uint32_t | the angle of the arc in degrees |
widgets/spinner/lv_spinner.h:70function
lv_spinner_set_anim_duration
Set the animation time of the spinner
void lv_spinner_set_anim_duration(lv_obj_t *obj, uint32_t t)| Name | Type | Description |
|---|---|---|
obj | lv_obj_t * | pointer to a spinner |
t | uint32_t | the animation time in milliseconds |
widgets/spinner/lv_spinner.h:78function
lv_spinner_set_arc_sweep
Set the animation arc length of the spinner. The animation is suited to values between 180 and 360.
void lv_spinner_set_arc_sweep(lv_obj_t *obj, uint32_t angle)| Name | Type | Description |
|---|---|---|
obj | lv_obj_t * | pointer to a spinner |
angle | uint32_t | the angle of the arc in degrees |
Enums
_lv_property_spinner_id_t
| Name | Value |
|---|---|
LV_PROPERTY_SPINNER_ANIM_DURATION | (LV_PROPERTY_SPINNER_START + ((int) 0 )) | (( 1 ) << 28 ) |
LV_PROPERTY_SPINNER_ARC_SWEEP | (LV_PROPERTY_SPINNER_START + ((int) 1 )) | (( 1 ) << 28 ) |
LV_PROPERTY_SPINNER_END |
Variables
widgets/spinner/lv_spinner.h:35variable
lv_spinner_class
const lv_obj_class_t lv_spinner_classDependencies
Indirect dependencies
lv_anim.hlv_area.hlv_assert.hlv_bidi.hlv_color.hlv_color_op.hlv_conf_kconfig.hlv_draw_buf.hlv_ext_data.hlv_flex.hlv_font.hlv_grad.hlv_grid.hlv_image_dsc.hlv_layout.hlv_ll.hlv_log.hlv_math.hlv_mem.hlv_obj_property_names.hlv_obj_style.hlv_obj_style_gen.hlv_palette.hlv_sprintf.hlv_string.hlv_style.hlv_style_gen.hlv_style_properties.hlv_symbol_def.hlv_text.hlv_tick.hlv_timer.h
How is this guide?
Last updated on