Home
last modified time | relevance | path

Searched refs:indic (Results 1 – 11 of 11) sorted by relevance

/lvgl-3.7.0/src/extra/widgets/meter/
Dlv_meter.c32 static void inv_arc(lv_obj_t * obj, lv_meter_indicator_t * indic, int32_t old_value, int32_t new_va…
33 static void inv_line(lv_obj_t * obj, lv_meter_indicator_t * indic, int32_t value);
127 lv_meter_indicator_t * indic = _lv_ll_ins_head(&meter->indicator_ll); in lv_meter_add_needle_line() local
128 LV_ASSERT_MALLOC(indic); in lv_meter_add_needle_line()
129 lv_memset_00(indic, sizeof(lv_meter_indicator_t)); in lv_meter_add_needle_line()
130 indic->scale = scale; in lv_meter_add_needle_line()
131 indic->opa = LV_OPA_COVER; in lv_meter_add_needle_line()
133 indic->type = LV_METER_INDICATOR_TYPE_NEEDLE_LINE; in lv_meter_add_needle_line()
134 indic->type_data.needle_line.width = width; in lv_meter_add_needle_line()
135 indic->type_data.needle_line.color = color; in lv_meter_add_needle_line()
[all …]
Dlv_meter.h237 void lv_meter_set_indicator_value(lv_obj_t * obj, lv_meter_indicator_t * indic, int32_t value);
245 void lv_meter_set_indicator_start_value(lv_obj_t * obj, lv_meter_indicator_t * indic, int32_t value…
253 void lv_meter_set_indicator_end_value(lv_obj_t * obj, lv_meter_indicator_t * indic, int32_t value);
/lvgl-3.7.0/examples/widgets/meter/
Dlv_example_meter_1.c6 static void set_value(void * indic, int32_t v) in set_value() argument
8 lv_meter_set_indicator_value(meter, indic, v); in set_value()
25 lv_meter_indicator_t * indic; in lv_example_meter_1() local
28 indic = lv_meter_add_arc(meter, scale, 3, lv_palette_main(LV_PALETTE_BLUE), 0); in lv_example_meter_1()
29 lv_meter_set_indicator_start_value(meter, indic, 0); in lv_example_meter_1()
30 lv_meter_set_indicator_end_value(meter, indic, 20); in lv_example_meter_1()
33indic = lv_meter_add_scale_lines(meter, scale, lv_palette_main(LV_PALETTE_BLUE), lv_palette_main(L… in lv_example_meter_1()
35 lv_meter_set_indicator_start_value(meter, indic, 0); in lv_example_meter_1()
36 lv_meter_set_indicator_end_value(meter, indic, 20); in lv_example_meter_1()
39 indic = lv_meter_add_arc(meter, scale, 3, lv_palette_main(LV_PALETTE_RED), 0); in lv_example_meter_1()
[all …]
Dlv_example_meter_1.py6 def set_value(indic, v): argument
7 meter.set_indicator_value(indic, v)
21 indic = lv.meter_indicator_t() variable
24 indic = meter.add_arc(scale, 3, lv.palette_main(lv.PALETTE.BLUE), 0) variable
25 meter.set_indicator_start_value(indic, 0)
26 meter.set_indicator_end_value(indic, 20)
29 indic = meter.add_scale_lines(scale, lv.palette_main(lv.PALETTE.BLUE), lv.palette_main(lv.PALETTE.B… variable
30 meter.set_indicator_start_value(indic, 0)
31 meter.set_indicator_end_value(indic, 20)
34 indic = meter.add_arc(scale, 3, lv.palette_main(lv.PALETTE.RED), 0) variable
[all …]
Dlv_example_meter_3.c6 static void set_value(void * indic, int32_t v) in set_value() argument
8 lv_meter_set_indicator_end_value(meter, indic, v); in set_value()
Dlv_example_meter_2.c6 static void set_value(void * indic, int32_t v) in set_value() argument
8 lv_meter_set_indicator_end_value(meter, indic, v); in set_value()
Dlv_example_meter_3.py38 def set_value(indic, v): argument
39 meter.set_indicator_value(indic, v)
Dlv_example_meter_2.py6 def set_value(indic,v): argument
7 meter.set_indicator_end_value(indic, v)
/lvgl-3.7.0/docs/widgets/extra/
Dmeter.md37 `indic = lv_meter_add_needle_line(meter, scale, line_width, line_color, r_mod)` adds a needle line …
39 `lv_meter_set_indicator_value(meter, indic, value)` sets the value of the indicator.
43 `indic = lv_meter_add_needle_img(meter, scale, img_src, pivot_x, pivot_y)` sets an image that will …
49 `indic = lv_meter_add_arc(meter, scale, arc_width, arc_color, r_mod)` adds an arc indicator. By def…
51 `lv_meter_set_indicator_start_value(meter, indic, value)` and `lv_meter_set_indicator_end_value(met…
54 `indic = lv_meter_add_scale_lines(meter, scale, color_start, color_end, local, width_mod)` adds an …
/lvgl-3.7.0/demos/widgets/
Dlv_demo_widgets.c659 lv_meter_indicator_t * indic; in analytics_create() local
671 indic = lv_meter_add_arc(meter1, scale, 15, lv_palette_main(LV_PALETTE_BLUE), 0); in analytics_create()
673 lv_anim_set_var(&a, indic); in analytics_create()
678 indic = lv_meter_add_arc(meter1, scale, 15, lv_palette_main(LV_PALETTE_RED), -20); in analytics_create()
680 lv_anim_set_var(&a, indic); in analytics_create()
683 a.user_data = indic; in analytics_create()
686 indic = lv_meter_add_arc(meter1, scale, 15, lv_palette_main(LV_PALETTE_GREEN), -40); in analytics_create()
688 lv_anim_set_var(&a, indic); in analytics_create()
732 indic = lv_meter_add_arc(meter3, scale, 10, lv_palette_main(LV_PALETTE_RED), 0); in analytics_create()
733 lv_meter_set_indicator_start_value(meter3, indic, 0); in analytics_create()
[all …]
/lvgl-3.7.0/src/extra/themes/default/
Dlv_theme_default.c81 lv_style_t indic; member