Lines Matching refs:meter
4 static lv_obj_t * meter; variable
8 lv_meter_set_indicator_end_value(meter, indic, v); in set_value()
16 meter = lv_meter_create(lv_scr_act()); in lv_example_meter_3()
17 lv_obj_set_size(meter, 220, 220); in lv_example_meter_3()
18 lv_obj_center(meter); in lv_example_meter_3()
22 lv_meter_scale_t * scale_min = lv_meter_add_scale(meter); in lv_example_meter_3()
23 lv_meter_set_scale_ticks(meter, scale_min, 61, 1, 10, lv_palette_main(LV_PALETTE_GREY)); in lv_example_meter_3()
24 lv_meter_set_scale_range(meter, scale_min, 0, 60, 360, 270); in lv_example_meter_3()
27 lv_meter_scale_t * scale_hour = lv_meter_add_scale(meter); in lv_example_meter_3()
28 …lv_meter_set_scale_ticks(meter, scale_hour, 12, 0, 0, lv_palette_main(LV_PALETTE_GREY)); … in lv_example_meter_3()
29 …lv_meter_set_scale_major_ticks(meter, scale_hour, 1, 2, 20, lv_color_black(), 10); /*Every tick… in lv_example_meter_3()
30 …lv_meter_set_scale_range(meter, scale_hour, 1, 12, 330, 300); /*[1..12] values in an almost … in lv_example_meter_3()
35 lv_meter_indicator_t * indic_min = lv_meter_add_needle_img(meter, scale_min, &img_hand, 5, 5); in lv_example_meter_3()
36 lv_meter_indicator_t * indic_hour = lv_meter_add_needle_img(meter, scale_min, &img_hand, 5, 5); in lv_example_meter_3()