Home
last modified time | relevance | path

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

/lvgl-latest/examples/widgets/chart/
Dlv_example_chart_4.c33 lv_draw_rect_dsc_t draw_rect_dsc; in event_cb() local
34 lv_draw_rect_dsc_init(&draw_rect_dsc); in event_cb()
35 draw_rect_dsc.bg_color = lv_color_black(); in event_cb()
36 draw_rect_dsc.bg_opa = LV_OPA_50; in event_cb()
37 draw_rect_dsc.radius = 3; in event_cb()
38 draw_rect_dsc.bg_img_src = buf; in event_cb()
39 draw_rect_dsc.bg_img_recolor = lv_color_white(); in event_cb()
48 lv_draw_rect(draw_ctx, &draw_rect_dsc, &a); in event_cb()
Dlv_example_chart_4.py22 draw_rect_dsc = lv.draw_rect_dsc_t()
23 draw_rect_dsc.init()
24 draw_rect_dsc.bg_color = lv.color_black()
25 draw_rect_dsc.bg_opa = lv.OPA._50
26 draw_rect_dsc.radius = 3
27 draw_rect_dsc.bg_img_src = buf
28 draw_rect_dsc.bg_img_recolor = lv.color_white()
39 lv.draw_rect(a, clip_area, draw_rect_dsc)
Dlv_example_chart_6.c39 lv_draw_rect_dsc_t draw_rect_dsc; in event_cb() local
40 lv_draw_rect_dsc_init(&draw_rect_dsc); in event_cb()
41 draw_rect_dsc.bg_color = lv_palette_main(LV_PALETTE_BLUE); in event_cb()
42 draw_rect_dsc.radius = 3; in event_cb()
44 lv_draw_rect(dsc->draw_ctx, &draw_rect_dsc, &a); in event_cb()
Dlv_example_chart_2.py26 draw_rect_dsc = lv.draw_rect_dsc_t()
27 draw_rect_dsc.init()
28 draw_rect_dsc.bg_opa = lv.OPA._20
29 draw_rect_dsc.bg_color = dsc.line_dsc.color
38 dsc.draw_ctx.rect(draw_rect_dsc, a)
Dlv_example_chart_8.c32 lv_draw_rect_dsc_t draw_rect_dsc; in draw_event_cb() local
33 lv_draw_rect_dsc_init(&draw_rect_dsc); in draw_event_cb()
34 draw_rect_dsc.bg_opa = LV_OPA_COVER; in draw_event_cb()
35 draw_rect_dsc.bg_color = dsc->line_dsc->color; in draw_event_cb()
43 lv_draw_rect(dsc->draw_ctx, &draw_rect_dsc, &a); in draw_event_cb()
Dlv_example_chart_6.py72 draw_rect_dsc = lv.draw_rect_dsc_t()
73 draw_rect_dsc.init()
74 draw_rect_dsc.bg_color = lv.palette_main(lv.PALETTE.BLUE)
75 draw_rect_dsc.radius = 3
77 lv.draw_rect(a, dsc.clip_area, draw_rect_dsc)
Dlv_example_chart_2.c31 lv_draw_rect_dsc_t draw_rect_dsc; in draw_event_cb() local
32 lv_draw_rect_dsc_init(&draw_rect_dsc); in draw_event_cb()
33 draw_rect_dsc.bg_opa = LV_OPA_20; in draw_event_cb()
34 draw_rect_dsc.bg_color = dsc->line_dsc->color; in draw_event_cb()
41 lv_draw_rect(dsc->draw_ctx, &draw_rect_dsc, &a); in draw_event_cb()
Dlv_example_chart_8.py34 draw_rect_dsc = lv.draw_rect_dsc_t()
35 draw_rect_dsc.init()
36 draw_rect_dsc.bg_opa = lv.OPA.COVER
37 draw_rect_dsc.bg_color = dsc.line_dsc.color
44 dsc.draw_ctx.rect(draw_rect_dsc, a)
/lvgl-latest/src/widgets/
Dlv_bar.c406 lv_draw_rect_dsc_t draw_rect_dsc; in draw_indic() local
407 lv_draw_rect_dsc_init(&draw_rect_dsc); in draw_indic()
408 lv_obj_init_draw_rect_dsc(obj, LV_PART_INDICATOR, &draw_rect_dsc); in draw_indic()
415 part_draw_dsc.rect_dsc = &draw_rect_dsc; in draw_indic()
424 lv_coord_t indic_radius = draw_rect_dsc.radius; in draw_indic()
433 lv_opa_t bg_opa = draw_rect_dsc.bg_opa; in draw_indic()
434 lv_opa_t bg_img_opa = draw_rect_dsc.bg_img_opa; in draw_indic()
435 lv_opa_t border_opa = draw_rect_dsc.border_opa; in draw_indic()
436 draw_rect_dsc.bg_opa = LV_OPA_TRANSP; in draw_indic()
437 draw_rect_dsc.bg_img_opa = LV_OPA_TRANSP; in draw_indic()
[all …]
/lvgl-latest/demos/widgets/
Dlv_demo_widgets.c1369 lv_draw_rect_dsc_t draw_rect_dsc; in chart_event_cb() local
1370 lv_draw_rect_dsc_init(&draw_rect_dsc); in chart_event_cb()
1371 draw_rect_dsc.bg_opa = LV_OPA_50; in chart_event_cb()
1372 draw_rect_dsc.bg_color = dsc->line_dsc->color; in chart_event_cb()
1383 lv_draw_rect(dsc->draw_ctx, &draw_rect_dsc, &a); in chart_event_cb()
1478 lv_draw_rect_dsc_t draw_rect_dsc; in shop_chart_event_cb() local
1479 lv_draw_rect_dsc_init(&draw_rect_dsc); in shop_chart_event_cb()
1489 draw_rect_dsc.bg_color = lv_palette_main(LV_PALETTE_RED); in shop_chart_event_cb()
1490 draw_rect_dsc.radius = 4; in shop_chart_event_cb()
1491 lv_draw_rect(dsc->draw_ctx, &draw_rect_dsc, &a); in shop_chart_event_cb()
[all …]