lv_spinner.h

Functions

lv_obj_t *lv_spinner_create(lv_obj_t *parent)

Create a spinner widget

参数:

parent -- pointer to an object, it will be the parent of the new spinner.

返回:

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

参数:
  • 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