Searched refs:bg (Results 1 – 8 of 8) sorted by relevance
/lvgl-2.7.6/src/lv_themes/ |
D | lv_theme_template.c | 28 lv_style_t bg; member 64 style_init_reset(&styles->bg); in basic_init() 65 lv_style_set_bg_opa(&styles->bg, LV_STATE_DEFAULT, LV_OPA_COVER); in basic_init() 66 lv_style_set_border_width(&styles->bg, LV_STATE_DEFAULT, 1); in basic_init() 67 lv_style_set_border_width(&styles->bg, LV_STATE_FOCUSED, 2); in basic_init() 68 lv_style_set_border_color(&styles->bg, LV_STATE_FOCUSED, theme.color_secondary); in basic_init() 69 …lv_style_set_border_color(&styles->bg, LV_STATE_EDITED, lv_color_darken(theme.color_secondary, LV_… in basic_init() 70 lv_style_set_line_width(&styles->bg, LV_STATE_DEFAULT, 1); in basic_init() 71 lv_style_set_scale_end_line_width(&styles->bg, LV_STATE_DEFAULT, 1); in basic_init() 72 lv_style_set_scale_end_color(&styles->bg, LV_STATE_DEFAULT, theme.color_primary); in basic_init() [all …]
|
D | lv_theme_mono.c | 29 lv_style_t bg; member 120 style_init_reset(&styles->bg); in basic_init() 121 lv_style_set_border_post(&styles->bg, LV_STATE_DEFAULT, true); in basic_init() 122 lv_style_set_radius(&styles->bg, LV_STATE_DEFAULT, RADIUS); in basic_init() 123 lv_style_set_bg_opa(&styles->bg, LV_STATE_DEFAULT, LV_OPA_COVER); in basic_init() 124 lv_style_set_bg_color(&styles->bg, LV_STATE_DEFAULT, BG_COLOR); in basic_init() 125 lv_style_set_border_width(&styles->bg, LV_STATE_DEFAULT, BORDER_WIDTH); in basic_init() 126 lv_style_set_border_width(&styles->bg, LV_STATE_FOCUSED, BORDER_WIDTH * 2); in basic_init() 127 lv_style_set_border_width(&styles->bg, LV_STATE_FOCUSED | LV_STATE_EDITED, BORDER_WIDTH * 3); in basic_init() 128 lv_style_set_border_color(&styles->bg, LV_STATE_DEFAULT, FG_COLOR); in basic_init() [all …]
|
D | lv_theme_material.c | 79 lv_style_t bg; member 209 style_init_reset(&styles->bg); in basic_init() 210 lv_style_set_radius(&styles->bg, LV_STATE_DEFAULT, LV_DPX(8)); in basic_init() 211 lv_style_set_bg_opa(&styles->bg, LV_STATE_DEFAULT, LV_OPA_COVER); in basic_init() 212 lv_style_set_bg_color(&styles->bg, LV_STATE_DEFAULT, COLOR_BG); in basic_init() 213 lv_style_set_border_color(&styles->bg, LV_STATE_DEFAULT, COLOR_BG_BORDER); in basic_init() 214 …if((theme.flags & LV_THEME_MATERIAL_FLAG_NO_FOCUS) == 0)lv_style_set_border_color(&styles->bg, LV_… in basic_init() 216 lv_style_set_border_color(&styles->bg, LV_STATE_EDITED, theme.color_secondary); in basic_init() 217 lv_style_set_border_width(&styles->bg, LV_STATE_DEFAULT, BORDER_WIDTH); in basic_init() 218 lv_style_set_border_post(&styles->bg, LV_STATE_DEFAULT, true); in basic_init() [all …]
|
/lvgl-2.7.6/src/lv_draw/ |
D | lv_draw_blend.c | 59 static inline lv_color_t color_blend_true_color_additive(lv_color_t fg, lv_color_t bg, lv_opa_t opa… 60 static inline lv_color_t color_blend_true_color_subtractive(lv_color_t fg, lv_color_t bg, lv_opa_t … 934 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 937 if(opa <= LV_OPA_MIN) return bg; in color_blend_true_color_additive() 941 tmp = bg.full + fg.full; in color_blend_true_color_additive() 944 tmp = bg.ch.red + fg.ch.red; in color_blend_true_color_additive() 957 tmp = bg.ch.green + fg.ch.green; in color_blend_true_color_additive() 960 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() 970 tmp = bg.ch.blue + fg.ch.blue; in color_blend_true_color_additive() 982 return lv_color_mix(fg, bg, opa); in color_blend_true_color_additive() [all …]
|
/lvgl-2.7.6/src/lv_widgets/ |
D | lv_msgbox.h | 48 lv_cont_ext_t bg; /*Ext. of ancestor*/ member
|
D | lv_page.h | 54 lv_cont_ext_t bg; /*Ext. of ancestor*/ member
|
D | lv_canvas.c | 1206 uint8_t bg = lv_img_buf_get_px_alpha(d, x, y); in set_px_alpha_generic() local 1207 br = (uint16_t)((uint16_t)br * opa + (bg * (255 - opa))) >> 8; in set_px_alpha_generic()
|
/lvgl-2.7.6/ |
D | CHANGELOG.md | 31 - Fix unexpeted DEFOCUS on lv_page when clicking to bg after the scrollable
|