Lines Matching refs:arc
12 lv_obj_t * arc = lv_arc_create(lv_scr_act()); in lv_example_arc_1() local
13 lv_obj_set_size(arc, 150, 150); in lv_example_arc_1()
14 lv_arc_set_rotation(arc, 135); in lv_example_arc_1()
15 lv_arc_set_bg_angles(arc, 0, 270); in lv_example_arc_1()
16 lv_arc_set_value(arc, 10); in lv_example_arc_1()
17 lv_obj_center(arc); in lv_example_arc_1()
18 lv_obj_add_event_cb(arc, value_changed_event_cb, LV_EVENT_VALUE_CHANGED, label); in lv_example_arc_1()
21 lv_event_send(arc, LV_EVENT_VALUE_CHANGED, NULL); in lv_example_arc_1()
26 lv_obj_t * arc = lv_event_get_target(e); in value_changed_event_cb() local
29 lv_label_set_text_fmt(label, "%d%%", lv_arc_get_value(arc)); in value_changed_event_cb()
32 lv_arc_rotate_obj_to_angle(arc, label, 25); in value_changed_event_cb()