Home
last modified time | relevance | path

Searched refs:part_draw_dsc (Results 1 – 10 of 10) sorted by relevance

/lvgl-3.6.0/src/extra/widgets/chart/
Dlv_chart.c789 lv_obj_draw_part_dsc_t part_draw_dsc; in draw_div_lines() local
790 lv_obj_draw_dsc_init(&part_draw_dsc, draw_ctx); in draw_div_lines()
791 part_draw_dsc.part = LV_PART_MAIN; in draw_div_lines()
792 part_draw_dsc.class_p = MY_CLASS; in draw_div_lines()
793 part_draw_dsc.type = LV_CHART_DRAW_PART_DIV_LINE_INIT; in draw_div_lines()
794 part_draw_dsc.line_dsc = &line_dsc; in draw_div_lines()
795 part_draw_dsc.id = 0xFFFFFFFF; in draw_div_lines()
796 part_draw_dsc.p1 = NULL; in draw_div_lines()
797 part_draw_dsc.p2 = NULL; in draw_div_lines()
798 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_div_lines()
[all …]
/lvgl-3.6.0/src/extra/widgets/meter/
Dlv_meter.c342 lv_obj_draw_part_dsc_t part_draw_dsc; in draw_arcs() local
343 lv_obj_draw_dsc_init(&part_draw_dsc, draw_ctx); in draw_arcs()
344 part_draw_dsc.arc_dsc = &arc_dsc; in draw_arcs()
345 part_draw_dsc.part = LV_PART_INDICATOR; in draw_arcs()
346 part_draw_dsc.class_p = MY_CLASS; in draw_arcs()
347 part_draw_dsc.type = LV_METER_DRAW_PART_ARC; in draw_arcs()
365 part_draw_dsc.radius = r_out + indic->type_data.arc.r_mod; in draw_arcs()
366 part_draw_dsc.sub_part_ptr = indic; in draw_arcs()
367 part_draw_dsc.p1 = &scale_center; in draw_arcs()
369 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_arcs()
[all …]
/lvgl-3.6.0/src/extra/widgets/led/
Dlv_led.c207 lv_obj_draw_part_dsc_t part_draw_dsc; in lv_led_event() local
208 lv_obj_draw_dsc_init(&part_draw_dsc, draw_ctx); in lv_led_event()
209 part_draw_dsc.draw_area = &obj->coords; in lv_led_event()
210 part_draw_dsc.class_p = MY_CLASS; in lv_led_event()
211 part_draw_dsc.type = LV_LED_DRAW_PART_RECTANGLE; in lv_led_event()
212 part_draw_dsc.rect_dsc = &rect_dsc; in lv_led_event()
213 part_draw_dsc.part = LV_PART_MAIN; in lv_led_event()
215 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in lv_led_event()
217 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_draw_dsc); in lv_led_event()
/lvgl-3.6.0/src/widgets/
Dlv_slider.c366 lv_obj_draw_part_dsc_t part_draw_dsc; in draw_knob() local
367 lv_obj_draw_dsc_init(&part_draw_dsc, draw_ctx); in draw_knob()
368 part_draw_dsc.part = LV_PART_KNOB; in draw_knob()
369 part_draw_dsc.class_p = MY_CLASS; in draw_knob()
370 part_draw_dsc.type = LV_SLIDER_DRAW_PART_KNOB; in draw_knob()
371 part_draw_dsc.id = 0; in draw_knob()
372 part_draw_dsc.draw_area = &slider->right_knob_area; in draw_knob()
373 part_draw_dsc.rect_dsc = &knob_rect_dsc; in draw_knob()
376 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_knob()
378 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_draw_dsc); in draw_knob()
[all …]
Dlv_arc.c658 lv_obj_draw_part_dsc_t part_draw_dsc; in lv_arc_draw() local
659 lv_obj_draw_dsc_init(&part_draw_dsc, draw_ctx); in lv_arc_draw()
667 part_draw_dsc.part = LV_PART_MAIN; in lv_arc_draw()
668 part_draw_dsc.class_p = MY_CLASS; in lv_arc_draw()
669 part_draw_dsc.type = LV_ARC_DRAW_PART_BACKGROUND; in lv_arc_draw()
670 part_draw_dsc.p1 = &center; in lv_arc_draw()
671 part_draw_dsc.radius = arc_r; in lv_arc_draw()
672 part_draw_dsc.arc_dsc = &arc_dsc; in lv_arc_draw()
673 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in lv_arc_draw()
675 …lv_draw_arc(draw_ctx, &arc_dsc, &center, part_draw_dsc.radius, arc->bg_angle_start + arc->rotation, in lv_arc_draw()
[all …]
Dlv_checkbox.c233 lv_obj_draw_part_dsc_t part_draw_dsc; in lv_checkbox_draw() local
234 lv_obj_draw_dsc_init(&part_draw_dsc, draw_ctx); in lv_checkbox_draw()
235 part_draw_dsc.rect_dsc = &indic_dsc; in lv_checkbox_draw()
236 part_draw_dsc.class_p = MY_CLASS; in lv_checkbox_draw()
237 part_draw_dsc.type = LV_CHECKBOX_DRAW_PART_BOX; in lv_checkbox_draw()
238 part_draw_dsc.draw_area = &marker_area_transf; in lv_checkbox_draw()
239 part_draw_dsc.part = LV_PART_INDICATOR; in lv_checkbox_draw()
241 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in lv_checkbox_draw()
243 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_draw_dsc); in lv_checkbox_draw()
Dlv_bar.c391 lv_obj_draw_part_dsc_t part_draw_dsc; in draw_indic() local
392 lv_obj_draw_dsc_init(&part_draw_dsc, draw_ctx); in draw_indic()
393 part_draw_dsc.part = LV_PART_INDICATOR; in draw_indic()
394 part_draw_dsc.class_p = MY_CLASS; in draw_indic()
395 part_draw_dsc.type = LV_BAR_DRAW_PART_INDICATOR; in draw_indic()
396 part_draw_dsc.draw_area = &bar->indic_area; in draw_indic()
398 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_indic()
399 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_draw_dsc); in draw_indic()
410 lv_obj_draw_part_dsc_t part_draw_dsc; in draw_indic() local
411 lv_obj_draw_dsc_init(&part_draw_dsc, draw_ctx); in draw_indic()
[all …]
Dlv_btnmatrix.c731 lv_obj_draw_part_dsc_t part_draw_dsc; in draw_main() local
732 lv_obj_draw_dsc_init(&part_draw_dsc, draw_ctx); in draw_main()
733 part_draw_dsc.part = LV_PART_ITEMS; in draw_main()
734 part_draw_dsc.class_p = MY_CLASS; in draw_main()
735 part_draw_dsc.type = LV_BTNMATRIX_DRAW_PART_BTN; in draw_main()
736 part_draw_dsc.rect_dsc = &draw_rect_dsc_act; in draw_main()
737 part_draw_dsc.label_dsc = &draw_label_dsc_act; in draw_main()
789 part_draw_dsc.draw_area = &btn_area; in draw_main()
790 part_draw_dsc.id = btn_i; in draw_main()
791 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_main()
[all …]
Dlv_table.c714 lv_obj_draw_part_dsc_t part_draw_dsc; in draw_main() local
715 lv_obj_draw_dsc_init(&part_draw_dsc, draw_ctx); in draw_main()
716 part_draw_dsc.part = LV_PART_ITEMS; in draw_main()
717 part_draw_dsc.class_p = MY_CLASS; in draw_main()
718 part_draw_dsc.type = LV_TABLE_DRAW_PART_CELL; in draw_main()
719 part_draw_dsc.rect_dsc = &rect_dsc_act; in draw_main()
720 part_draw_dsc.label_dsc = &label_dsc_act; in draw_main()
812 part_draw_dsc.draw_area = &cell_area_border; in draw_main()
813 part_draw_dsc.id = row * table->col_cnt + col; in draw_main()
814 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_main()
[all …]
/lvgl-3.6.0/docs/
DCHANGELOG.md276 - fix(meter): fix setting part_draw_dsc.id in needle img drawing [`716e5e2`](https://github.com/lvg…