acid-drop/lib/lvgl/examples/widgets/spinner/lv_example_spinner_1.c

13 lines
277 B
C
Raw Permalink Normal View History

2024-05-23 22:42:03 +00:00
#include "../../lv_examples.h"
#if LV_USE_SPINNER && LV_BUILD_EXAMPLES
void lv_example_spinner_1(void)
{
/*Create a spinner*/
lv_obj_t * spinner = lv_spinner_create(lv_scr_act(), 1000, 60);
lv_obj_set_size(spinner, 100, 100);
lv_obj_center(spinner);
}
#endif