Searched refs:meter2 (Results 1 – 1 of 1) sorted by relevance
/lvgl-3.5.0/demos/widgets/ |
D | lv_demo_widgets.c | 70 static lv_obj_t * meter2; variable 682 meter2 = create_meter_box(parent, "Sessions", "Desktop: ", "Tablet: ", "Mobile: "); in analytics_create() 683 …if(disp_size < DISP_LARGE) lv_obj_add_flag(lv_obj_get_parent(meter2), LV_OBJ_FLAG_FLEX_IN_NEW_TRAC… in analytics_create() 684 scale = lv_meter_add_scale(meter2); in analytics_create() 685 lv_meter_set_scale_range(meter2, scale, 0, 100, 360, 90); in analytics_create() 686 lv_meter_set_scale_ticks(meter2, scale, 0, 0, 0, lv_color_black()); in analytics_create() 689 meter2_indic[0] = lv_meter_add_arc(meter2, scale, 20, lv_palette_main(LV_PALETTE_RED), -10); in analytics_create() 690 lv_meter_set_indicator_start_value(meter2, meter2_indic[0], 0); in analytics_create() 691 lv_meter_set_indicator_end_value(meter2, meter2_indic[0], 39); in analytics_create() 693 meter2_indic[1] = lv_meter_add_arc(meter2, scale, 30, lv_palette_main(LV_PALETTE_BLUE), 0); in analytics_create() [all …]
|