Home
last modified time | relevance | path

Searched refs:bg (Results 1 – 8 of 8) sorted by relevance

/lvgl-latest/demos/music/
Dlv_demo_music.c238 lv_obj_t * bg = lv_layer_top(); in auto_step_cb() local
239 lv_obj_set_style_bg_color(bg, lv_color_hex(0x6f8af6), 0); in auto_step_cb()
240 lv_obj_set_style_text_color(bg, lv_color_white(), 0); in auto_step_cb()
241 lv_obj_set_style_bg_opa(bg, LV_OPA_COVER, 0); in auto_step_cb()
242 lv_obj_fade_in(bg, 400, 0); in auto_step_cb()
243 lv_obj_t * dsc = lv_label_create(bg); in auto_step_cb()
248 lv_obj_t * num = lv_label_create(bg); in auto_step_cb()
255 lv_obj_t * attr = lv_label_create(bg); in auto_step_cb()
/lvgl-latest/src/draw/sw/
Dlv_draw_sw_blend.c66 static inline lv_color_t color_blend_true_color_additive(lv_color_t fg, lv_color_t bg, lv_opa_t opa…
67 static inline lv_color_t color_blend_true_color_subtractive(lv_color_t fg, lv_color_t bg, lv_opa_t …
68 static inline lv_color_t color_blend_true_color_multiply(lv_color_t fg, lv_color_t bg, lv_opa_t opa…
950 static inline lv_color_t color_blend_true_color_additive(lv_color_t fg, lv_color_t bg, lv_opa_t opa) in color_blend_true_color_additive() argument
953 if(opa <= LV_OPA_MIN) return bg; in color_blend_true_color_additive()
957 tmp = bg.full + fg.full; in color_blend_true_color_additive()
960 tmp = bg.ch.red + fg.ch.red; in color_blend_true_color_additive()
970 tmp = bg.ch.green + fg.ch.green; in color_blend_true_color_additive()
974 tmp = bg.ch.green + fg.ch.green; in color_blend_true_color_additive()
977 tmp = (bg.ch.green_h << 3) + bg.ch.green_l + (fg.ch.green_h << 3) + fg.ch.green_l; in color_blend_true_color_additive()
[all …]
/lvgl-latest/demos/keypad_encoder/
Dlv_demo_keypad_encoder.c182 lv_obj_t * bg = lv_obj_get_parent(mbox); in msgbox_create() local
183 lv_obj_set_style_bg_opa(bg, LV_OPA_70, 0); in msgbox_create()
184 lv_obj_set_style_bg_color(bg, lv_palette_main(LV_PALETTE_GREY), 0); in msgbox_create()
/lvgl-latest/src/extra/libs/gif/
Dgifdec.h39 uint8_t fg, uint8_t bg
Dgifdec.c187 uint8_t cw, ch, fg, bg; in read_plain_text_ext() local
197 f_gif_read(gif, &bg, 1); in read_plain_text_ext()
199 gif->plain_text(gif, tx, ty, tw, th, cw, ch, fg, bg); in read_plain_text_ext()
/lvgl-latest/src/misc/
Dlv_color.h449 uint32_t bg = (uint32_t)((uint32_t)c2.full | ((uint32_t)c2.full << 16)) & in lv_color_mix() local
452 uint32_t result = ((((fg - bg) * mix) >> 5) + bg) & 0x7E0F81F; in lv_color_mix()
/lvgl-latest/src/hal/
Dlv_hal_disp.c682 uint8_t bg = lv_img_buf_get_px_alpha(d, x, y); in set_px_alpha_generic() local
683 br = (uint16_t)((uint16_t)br * opa + (bg * (255 - opa))) >> 8; in set_px_alpha_generic()
/lvgl-latest/docs/
DCHANGELOG.md522 - fix(draw): clip the bg img to the rectangle's area in lv_draw_sw_rect [`77d726e`](https://github.…
1110 - fix (draw) fix arc bg image drawing with full arcs [`c3b6c6d`](https://github.com/lvgl/lvgl/commi…
1168 - fix(style) refresh ext. draw pad for padding and bg img [`37a5d0c`](https://github.com/lvgl/lvgl/…
1195 - fix(checkbox) consider the bg border when positioning the indicator [`a39dac9`](https://github.co…
1531 - fix (draw) fix arc bg image drawing with full arcs
1848 - Fix unexpected DEFOCUS on lv_page when clicking to bg after the scrollable