Home
last modified time | relevance | path

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

/lvgl-3.4.0/src/extra/widgets/chart/
Dlv_chart.c787 lv_obj_draw_part_dsc_t part_draw_dsc; in draw_div_lines() local
788 lv_obj_draw_dsc_init(&part_draw_dsc, draw_ctx); in draw_div_lines()
789 part_draw_dsc.part = LV_PART_MAIN; in draw_div_lines()
790 part_draw_dsc.class_p = MY_CLASS; in draw_div_lines()
791 part_draw_dsc.type = LV_CHART_DRAW_PART_DIV_LINE_INIT; in draw_div_lines()
792 part_draw_dsc.line_dsc = &line_dsc; in draw_div_lines()
793 part_draw_dsc.id = 0xFFFFFFFF; in draw_div_lines()
794 part_draw_dsc.p1 = NULL; in draw_div_lines()
795 part_draw_dsc.p2 = NULL; in draw_div_lines()
796 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_div_lines()
[all …]
/lvgl-3.4.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()
363 part_draw_dsc.radius = r_out + indic->type_data.arc.r_mod; in draw_arcs()
364 part_draw_dsc.sub_part_ptr = indic; in draw_arcs()
365 part_draw_dsc.p1 = &scale_center; in draw_arcs()
367 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_arcs()
[all …]
/lvgl-3.4.0/src/extra/widgets/led/
Dlv_led.c205 lv_obj_draw_part_dsc_t part_draw_dsc; in lv_led_event() local
206 lv_obj_draw_dsc_init(&part_draw_dsc, draw_ctx); in lv_led_event()
207 part_draw_dsc.draw_area = &obj->coords; in lv_led_event()
208 part_draw_dsc.class_p = MY_CLASS; in lv_led_event()
209 part_draw_dsc.type = LV_LED_DRAW_PART_RECTANGLE; in lv_led_event()
210 part_draw_dsc.rect_dsc = &rect_dsc; in lv_led_event()
211 part_draw_dsc.part = LV_PART_MAIN; in lv_led_event()
213 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in lv_led_event()
215 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_draw_dsc); in lv_led_event()
/lvgl-3.4.0/src/widgets/
Dlv_arc.c567 lv_obj_draw_part_dsc_t part_draw_dsc; in lv_arc_draw() local
568 lv_obj_draw_dsc_init(&part_draw_dsc, draw_ctx); in lv_arc_draw()
576 part_draw_dsc.part = LV_PART_MAIN; in lv_arc_draw()
577 part_draw_dsc.class_p = MY_CLASS; in lv_arc_draw()
578 part_draw_dsc.type = LV_ARC_DRAW_PART_BACKGROUND; in lv_arc_draw()
579 part_draw_dsc.p1 = &center; in lv_arc_draw()
580 part_draw_dsc.radius = arc_r; in lv_arc_draw()
581 part_draw_dsc.arc_dsc = &arc_dsc; in lv_arc_draw()
582 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in lv_arc_draw()
584 …lv_draw_arc(draw_ctx, &arc_dsc, &center, part_draw_dsc.radius, arc->bg_angle_start + arc->rotation, in lv_arc_draw()
[all …]
Dlv_slider.c380 lv_obj_draw_part_dsc_t part_draw_dsc; in draw_knob() local
381 lv_obj_draw_dsc_init(&part_draw_dsc, draw_ctx); in draw_knob()
382 part_draw_dsc.part = LV_PART_KNOB; in draw_knob()
383 part_draw_dsc.class_p = MY_CLASS; in draw_knob()
384 part_draw_dsc.type = LV_SLIDER_DRAW_PART_KNOB; in draw_knob()
385 part_draw_dsc.id = 0; in draw_knob()
386 part_draw_dsc.draw_area = &slider->right_knob_area; in draw_knob()
387 part_draw_dsc.rect_dsc = &knob_rect_dsc; in draw_knob()
390 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_knob()
392 lv_event_send(obj, LV_EVENT_DRAW_PART_END, &part_draw_dsc); in draw_knob()
[all …]
Dlv_checkbox.c231 lv_obj_draw_part_dsc_t part_draw_dsc; in lv_checkbox_draw() local
232 lv_obj_draw_dsc_init(&part_draw_dsc, draw_ctx); in lv_checkbox_draw()
233 part_draw_dsc.rect_dsc = &indic_dsc; in lv_checkbox_draw()
234 part_draw_dsc.class_p = MY_CLASS; in lv_checkbox_draw()
235 part_draw_dsc.type = LV_CHECKBOX_DRAW_PART_BOX; in lv_checkbox_draw()
236 part_draw_dsc.draw_area = &marker_area_transf; in lv_checkbox_draw()
237 part_draw_dsc.part = LV_PART_INDICATOR; in lv_checkbox_draw()
239 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in lv_checkbox_draw()
241 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_table.c640 lv_obj_draw_part_dsc_t part_draw_dsc; in draw_main() local
641 lv_obj_draw_dsc_init(&part_draw_dsc, draw_ctx); in draw_main()
642 part_draw_dsc.part = LV_PART_ITEMS; in draw_main()
643 part_draw_dsc.class_p = MY_CLASS; in draw_main()
644 part_draw_dsc.type = LV_TABLE_DRAW_PART_CELL; in draw_main()
645 part_draw_dsc.rect_dsc = &rect_dsc_act; in draw_main()
646 part_draw_dsc.label_dsc = &label_dsc_act; in draw_main()
737 part_draw_dsc.draw_area = &cell_area_border; in draw_main()
738 part_draw_dsc.id = row * table->col_cnt + col; in draw_main()
739 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_main()
[all …]
Dlv_btnmatrix.c692 lv_obj_draw_part_dsc_t part_draw_dsc; in draw_main() local
693 lv_obj_draw_dsc_init(&part_draw_dsc, draw_ctx); in draw_main()
694 part_draw_dsc.part = LV_PART_ITEMS; in draw_main()
695 part_draw_dsc.class_p = MY_CLASS; in draw_main()
696 part_draw_dsc.type = LV_BTNMATRIX_DRAW_PART_BTN; in draw_main()
697 part_draw_dsc.rect_dsc = &draw_rect_dsc_act; in draw_main()
698 part_draw_dsc.label_dsc = &draw_label_dsc_act; in draw_main()
750 part_draw_dsc.draw_area = &btn_area; in draw_main()
751 part_draw_dsc.id = btn_i; in draw_main()
752 lv_event_send(obj, LV_EVENT_DRAW_PART_BEGIN, &part_draw_dsc); in draw_main()
[all …]