update asserts
This commit is contained in:
14
examples/widgets/arc/lv_example_arc_1.c
Normal file
14
examples/widgets/arc/lv_example_arc_1.c
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "../../../lvgl.h"
|
||||
|
||||
#if LV_USE_ARC
|
||||
|
||||
void lv_example_arc_1(void)
|
||||
{
|
||||
/*Create an Arc*/
|
||||
lv_obj_t * arc = lv_arc_create(lv_scr_act(), NULL);
|
||||
lv_arc_set_end_angle(arc, 200);
|
||||
lv_obj_set_size(arc, 150, 150);
|
||||
lv_obj_align(arc, NULL, LV_ALIGN_CENTER, 0, 0);
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user