Home
last modified time | relevance | path

Searched refs:img_draw_dsc (Results 1 – 2 of 2) sorted by relevance

/lvgl-3.7.0/examples/widgets/btnmatrix/
Dlv_example_btnmatrix_2.c56 lv_draw_img_dsc_t img_draw_dsc; in event_cb() local
57 lv_draw_img_dsc_init(&img_draw_dsc); in event_cb()
58 img_draw_dsc.recolor = lv_color_black(); in event_cb()
59 … if(lv_btnmatrix_get_selected_btn(obj) == dsc->id) img_draw_dsc.recolor_opa = LV_OPA_30; in event_cb()
61 lv_draw_img(dsc->draw_ctx, &img_draw_dsc, &a, &img_star); in event_cb()
Dlv_example_btnmatrix_2.py67 img_draw_dsc = lv.draw_img_dsc_t()
68 img_draw_dsc.init()
69 img_draw_dsc.recolor = lv.color_black()
71 img_draw_dsc.recolor_opa = lv.OPA._30
73 dsc.draw_ctx.img(img_draw_dsc, a, img_star_argb)