Lines Matching refs:line_dsc
34 draw_rect_dsc.bg_color = dsc->line_dsc->color; in draw_event_cb()
51 if(dsc->line_dsc == NULL || dsc->p1 == NULL || dsc->p2 == NULL) return; in draw_event_cb()
55 dsc->line_dsc->color = lv_palette_lighten(LV_PALETTE_GREY, 1); in draw_event_cb()
57 dsc->line_dsc->width = 2; in draw_event_cb()
58 dsc->line_dsc->dash_gap = 0; in draw_event_cb()
59 dsc->line_dsc->dash_width = 0; in draw_event_cb()
62 dsc->line_dsc->width = 1; in draw_event_cb()
63 dsc->line_dsc->dash_gap = 6; in draw_event_cb()
64 dsc->line_dsc->dash_width = 6; in draw_event_cb()
70 dsc->line_dsc->width = 2; in draw_event_cb()
71 dsc->line_dsc->dash_gap = 0; in draw_event_cb()
72 dsc->line_dsc->dash_width = 0; in draw_event_cb()
75 dsc->line_dsc->width = 2; in draw_event_cb()
76 dsc->line_dsc->dash_gap = 6; in draw_event_cb()
77 dsc->line_dsc->dash_width = 6; in draw_event_cb()
81 dsc->line_dsc->color = lv_palette_main(LV_PALETTE_GREEN); in draw_event_cb()
84 dsc->line_dsc->color = lv_palette_lighten(LV_PALETTE_GREY, 1); in draw_event_cb()