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

Parameters:
  • obj – pointer to a spinner

  • t – the animation time in milliseconds

  • angle – the angle of the arc in degrees

Variables

const lv_obj_class_t lv_spinner_class