Searched refs:scale_hour (Results 1 – 2 of 2) sorted by relevance
/lvgl-3.7.0/examples/widgets/meter/ |
D | lv_example_meter_3.c | 27 lv_meter_scale_t * scale_hour = lv_meter_add_scale(meter); in lv_example_meter_3() local 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()
|
D | lv_example_meter_3.py | 55 scale_hour = meter.add_scale() variable 56 meter.set_scale_ticks(scale_hour, 12, 0, 0, lv.palette_main(lv.PALETTE.GREY)) # 12 ticks 57 meter.set_scale_major_ticks(scale_hour, 1, 2, 20, lv.color_black(), 10) # Every tick is maj… 58 meter.set_scale_range(scale_hour, 1, 12, 330, 300) # [1..12] values in …
|