Lines Matching refs:meter

9     lv_obj_t * meter = lv_meter_create(lv_scr_act());  in lv_example_meter_4()  local
12 lv_obj_remove_style(meter, NULL, LV_PART_MAIN); in lv_example_meter_4()
13 lv_obj_remove_style(meter, NULL, LV_PART_INDICATOR); in lv_example_meter_4()
15 lv_obj_set_size(meter, 200, 200); in lv_example_meter_4()
16 lv_obj_center(meter); in lv_example_meter_4()
19 lv_meter_scale_t * scale = lv_meter_add_scale(meter); in lv_example_meter_4()
20 lv_meter_set_scale_ticks(meter, scale, 0, 0, 0, lv_color_black()); in lv_example_meter_4()
21 lv_meter_set_scale_range(meter, scale, 0, 100, 360, 0); in lv_example_meter_4()
25 …lv_meter_indicator_t * indic1 = lv_meter_add_arc(meter, scale, indic_w, lv_palette_main(LV_PALETTE… in lv_example_meter_4()
26 lv_meter_set_indicator_start_value(meter, indic1, 0); in lv_example_meter_4()
27 lv_meter_set_indicator_end_value(meter, indic1, 40); in lv_example_meter_4()
29 …lv_meter_indicator_t * indic2 = lv_meter_add_arc(meter, scale, indic_w, lv_palette_main(LV_PALETTE… in lv_example_meter_4()
30 lv_meter_set_indicator_start_value(meter, indic2, 40); /*Start from the previous*/ in lv_example_meter_4()
31 lv_meter_set_indicator_end_value(meter, indic2, 80); in lv_example_meter_4()
33 …lv_meter_indicator_t * indic3 = lv_meter_add_arc(meter, scale, indic_w, lv_palette_main(LV_PALETTE… in lv_example_meter_4()
34 lv_meter_set_indicator_start_value(meter, indic3, 80); /*Start from the previous*/ in lv_example_meter_4()
35 lv_meter_set_indicator_end_value(meter, indic3, 100); in lv_example_meter_4()