lv_spinner.h¶
Functions
-
lv_obj_t *lv_spinner_create(lv_obj_t *parent)¶
Create a spinner widget
- Parameters:
parent – pointer to an object, it will be the parent of the new spinner.
- Returns:
the created spinner
-
void lv_spinner_set_anim_params(lv_obj_t *obj, uint32_t t, uint32_t angle)¶
Set the animation time and arc length of the spinner The animation is suited for angle values between 180 and 360.
- Parameters:
obj – pointer to a spinner
t – the animation time in milliseconds
angle – the angle of the arc in degrees
-
void lv_spinner_set_anim_duration(lv_obj_t *obj, uint32_t t)¶
Set the animation time of the spinner
- Parameters:
obj – pointer to a spinner
t – the animation time in milliseconds
-
void lv_spinner_set_arc_sweep(lv_obj_t *obj, uint32_t angle)¶
Set the animation arc length of the spinner. The animation is suited to values between 180 and 360.
- Parameters:
obj – pointer to a spinner
angle – the angle of the arc in degrees
Variables
-
const lv_obj_class_t lv_spinner_class¶