/lvgl-3.5.0/src/extra/widgets/led/ |
D | lv_led.c | 181 …rect_dsc.bg_color = lv_color_mix(led->color, lv_color_black(), lv_color_brightness(rect_dsc.bg_col… in lv_led_event() 182 rect_dsc.bg_grad.stops[0].color = lv_color_mix(led->color, lv_color_black(), in lv_led_event() 184 rect_dsc.bg_grad.stops[1].color = lv_color_mix(led->color, lv_color_black(), in lv_led_event() 186 …rect_dsc.shadow_color = lv_color_mix(led->color, lv_color_black(), lv_color_brightness(rect_dsc.sh… in lv_led_event() 187 …rect_dsc.border_color = lv_color_mix(led->color, lv_color_black(), lv_color_brightness(rect_dsc.bo… in lv_led_event() 188 …rect_dsc.outline_color = lv_color_mix(led->color, lv_color_black(), lv_color_brightness(rect_dsc.o… in lv_led_event() 191 rect_dsc.bg_color = lv_color_mix(rect_dsc.bg_color, lv_color_black(), led->bright); in lv_led_event() 192 …rect_dsc.bg_grad.stops[0].color = lv_color_mix(rect_dsc.bg_grad.stops[0].color, lv_color_black()… in lv_led_event() 193 …rect_dsc.bg_grad.stops[1].color = lv_color_mix(rect_dsc.bg_grad.stops[1].color, lv_color_black()… in lv_led_event() 194 rect_dsc.border_color = lv_color_mix(rect_dsc.border_color, lv_color_black(), led->bright); in lv_led_event() [all …]
|
/lvgl-3.5.0/examples/widgets/table/ |
D | lv_example_table_1.c | 16 …dsc->rect_dsc->bg_color = lv_color_mix(lv_palette_main(LV_PALETTE_BLUE), dsc->rect_dsc->bg_color, … in draw_part_event_cb() 26 …dsc->rect_dsc->bg_color = lv_color_mix(lv_palette_main(LV_PALETTE_GREY), dsc->rect_dsc->bg_color, … in draw_part_event_cb()
|
/lvgl-3.5.0/tests/src/test_cases/ |
D | test_table.c | 136 …dsc->rect_dsc->bg_color = lv_color_mix(lv_palette_main(LV_PALETTE_BLUE), dsc->rect_dsc->bg_color, … in draw_part_event_cb() 146 …dsc->rect_dsc->bg_color = lv_color_mix(lv_palette_main(LV_PALETTE_RED), dsc->rect_dsc->bg_color, L… in draw_part_event_cb()
|
/lvgl-3.5.0/examples/widgets/chart/ |
D | lv_example_chart_7.c | 23 dsc->rect_dsc->bg_color = lv_color_mix(lv_palette_main(LV_PALETTE_RED), in draw_event_cb()
|
/lvgl-3.5.0/src/draw/sw/ |
D | lv_draw_sw_blend.c | 75 else *dest_buf = lv_color_mix(color, *dest_buf, *mask); \ 82 else dest_buf[x] = lv_color_mix(src_buf[x], dest_buf[x], *mask_tmp_x); \ 260 lv_color_t last_res_color = lv_color_mix(color, last_dest_color, opa); in fill_normal() 359 else last_res_color = lv_color_mix(color, dest_buf[x], opa_tmp); in fill_normal() 658 dest_buf[x] = lv_color_mix(src_buf[x], dest_buf[x], opa); in map_normal() 718 dest_buf[x] = lv_color_mix(src_buf[x], dest_buf[x], opa_tmp); in map_normal() 995 return lv_color_mix(fg, bg, opa); in color_blend_true_color_additive() 1021 return lv_color_mix(fg, bg, opa); in color_blend_true_color_subtractive() 1044 return lv_color_mix(fg, bg, opa); in color_blend_true_color_multiply()
|
D | lv_draw_sw_transform.c | 425 c_ver = lv_color_mix(c_ver, c_base, ys_fract); in argb_and_rgb_aa() 426 c_hor = lv_color_mix(c_hor, c_base, xs_fract); in argb_and_rgb_aa() 427 cbuf[x] = lv_color_mix(c_hor, c_ver, LV_OPA_50); in argb_and_rgb_aa()
|
/lvgl-3.5.0/src/misc/ |
D | lv_color.c | 128 return lv_color_mix(lv_color_white(), c, lvl); in lv_color_lighten() 133 return lv_color_mix(lv_color_black(), c, lvl); in lv_color_darken()
|
D | lv_color.h | 439 LV_ATTRIBUTE_FAST_MEM static inline lv_color_t lv_color_mix(lv_color_t c1, lv_color_t c2, uint8_t m… in lv_color_mix() function 547 *res_color = lv_color_mix(fg_color, bg_color, fg_opa); in lv_color_mix_with_alpha() 571 res_color_saved = lv_color_mix(fg_color, bg_color, ratio); in lv_color_mix_with_alpha()
|
/lvgl-3.5.0/docs/overview/ |
D | color.md | 83 lv_color_t c = lv_color_mix(c1, c2, ratio); 98 You can also use the `LV_OPA_*` defines in `lv_color_mix()` as a mixing *ratio*.
|
/lvgl-3.5.0/demos/music/ |
D | lv_demo_music_main.c | 837 else if(v > BAR_COLOR2_STOP) draw_dsc.bg_color = lv_color_mix(BAR_COLOR3, BAR_COLOR2, in spectrum_draw_event_cb() 839 else draw_dsc.bg_color = lv_color_mix(BAR_COLOR2, BAR_COLOR1, in spectrum_draw_event_cb()
|
/lvgl-3.5.0/src/draw/nxp/pxp/ |
D | lv_draw_pxp_blend.c | 485 … lv_color_t colorKey = lv_color_mix(dsc->recolor, LV_COLOR_CHROMA_KEY, dsc->recolor_opa); in lv_pxp_blit_cf()
|
/lvgl-3.5.0/src/draw/sdl/ |
D | lv_draw_sdl_img.c | 369 … lv_color_t recolor = lv_color_mix(draw_dsc->recolor, lv_color_white(), draw_dsc->recolor_opa); in apply_recolor_opa()
|
/lvgl-3.5.0/src/extra/themes/default/ |
D | lv_theme_default.c | 201 …if(theme.flags & MODE_DARK) return lv_color_mix(lv_palette_darken(LV_PALETTE_GREY, 2), color, opa); in grey_filter_cb() 202 else return lv_color_mix(lv_palette_lighten(LV_PALETTE_GREY, 2), color, opa); in grey_filter_cb()
|
/lvgl-3.5.0/docs/intro/ |
D | index.md | 173 lv_color_t c = lv_color_mix(LV_COLOR_BLUE, LV_COLOR_RED, (y * 255) / BUF_H);
|
/lvgl-3.5.0/src/core/ |
D | lv_obj_style.c | 760 … else value_final.color = lv_color_mix(tr->end_value.color, tr->start_value.color, v); in trans_anim_cb()
|
/lvgl-3.5.0/src/extra/widgets/meter/ |
D | lv_meter.c | 471 …line_color = lv_color_mix(indic->type_data.scale_lines.color_end, indic->type_data.scale_lines.col… in draw_ticks_and_labels()
|
/lvgl-3.5.0/docs/ |
D | CHANGELOG.md | 912 - fix(color) Bad cast in lv_color_mix() caused UB with 16bpp or less [`2509`](https://github.com/lv…
|