/AliOS-Things-master/components/littlevgl/src/lv_themes/ |
A D | lv_theme.h | 44 lv_style_t * bg; member 104 lv_style_t * bg; member 112 lv_style_t * bg; member 137 lv_style_t * bg; member 151 lv_style_t * bg; member 165 lv_style_t * bg; member 180 lv_style_t * bg; member 195 lv_style_t * bg; member 210 lv_style_t * bg; member 223 lv_style_t * bg; member [all …]
|
A D | lv_theme_zen.c | 91 theme.style.bg = &bg; in basic_init() 230 theme.style.bar.bg = &bg; in bar_init() 246 theme.style.slider.bg = theme.style.bar.bg; in slider_init() 452 theme.style.btnm.bg = &bg; in btnm_init() 467 bg.body.grad_color = bg.body.main_color; in kb_init() 508 theme.style.kb.bg = &bg; in kb_init() 523 bg.body.grad_color = bg.body.main_color; in mbox_init() 544 theme.style.mbox.bg = &bg; in mbox_init() 624 theme.style.list.bg = &bg; in list_init() 651 theme.style.ddlist.bg = &bg; in ddlist_init() [all …]
|
A D | lv_theme_mono.c | 101 theme.style.bg = &def; in basic_init() 186 theme.style.bar.bg = &bar_bg; in bar_init() 202 theme.style.slider.bg = theme.style.bar.bg; in slider_init() 212 theme.style.sw.bg = theme.style.slider.bg; in sw_init() 357 static lv_style_t bg; in ddlist_init() local 358 lv_style_copy(&bg, &light_frame); in ddlist_init() 359 bg.text.line_space = LV_DPI / 12; in ddlist_init() 361 theme.style.ddlist.bg = &bg; in ddlist_init() 370 static lv_style_t bg; in roller_init() local 371 lv_style_copy(&bg, &light_frame); in roller_init() [all …]
|
A D | lv_theme_templ.c | 50 theme.style.bg = &def; in basic_init() 124 theme.style.bar.bg = &def; in bar_init() 133 theme.style.slider.bg = &def; in slider_init() 143 theme.style.sw.bg = &def; in sw_init() 248 theme.style.mbox.bg = &def; in mbox_init() 249 theme.style.mbox.btn.bg = &def; in mbox_init() 259 theme.style.page.bg = &def; in page_init() 295 theme.style.ddlist.bg = &def; in ddlist_init() 305 theme.style.roller.bg = &def; in roller_init() 327 theme.style.table.bg = &def; in table_init() [all …]
|
A D | lv_theme_material.c | 56 lv_style_copy(&bg, &def); in basic_init() 58 bg.body.grad_color = bg.body.main_color; in basic_init() 59 bg.body.radius = 0; in basic_init() 61 lv_style_copy(&scr, &bg); in basic_init() 92 theme.style.bg = &bg; in basic_init() 258 theme.style.slider.bg = theme.style.bar.bg; in slider_init() 480 theme.style.btnm.bg = &bg; in btnm_init() 497 theme.style.kb.bg = theme.style.btnm.bg; in kb_init() 634 lv_style_copy(&sel, &bg); in ddlist_init() 641 theme.style.ddlist.bg = &bg; in ddlist_init() [all …]
|
A D | lv_theme_night.c | 56 bg.text.font = _font; in basic_init() 59 lv_style_copy(&scr, &bg); in basic_init() 77 lv_style_copy(&panel, &bg); in basic_init() 92 theme.style.bg = &bg; in basic_init() 161 lv_style_copy(&prim, &bg); in label_init() 164 lv_style_copy(&sec, &bg); in label_init() 167 lv_style_copy(&hint, &bg); in label_init() 246 theme.style.slider.bg = theme.style.bar.bg; in slider_init() 256 theme.style.sw.bg = theme.style.bar.bg; in sw_init() 496 theme.style.kb.bg = &bg; in kb_init() [all …]
|
A D | lv_theme_default.c | 70 theme.style.bg = &lv_style_plain; in basic_init() 141 theme.style.bar.bg = &lv_style_pretty; in bar_init() 156 theme.style.slider.bg = &slider_bg; in slider_init() 172 theme.style.sw.bg = &sw_bg; in sw_init() 220 theme.style.cb.bg = &lv_style_transp; in cb_init() 259 theme.style.mbox.bg = &lv_style_pretty; in mbox_init() 260 theme.style.mbox.btn.bg = &lv_style_transp; in mbox_init() 270 theme.style.page.bg = &lv_style_pretty; in page_init() 306 theme.style.ddlist.bg = &lv_style_pretty; in ddlist_init() 316 theme.style.roller.bg = &lv_style_pretty; in roller_init() [all …]
|
A D | lv_theme_nemo.c | 36 static lv_style_t bg; variable 104 lv_style_copy(&bg, &def); in basic_init() 107 bg.body.border.width = 2; in basic_init() 111 lv_style_copy(&scr, &bg); in basic_init() 143 theme.style.bg = &bg; in basic_init() 258 theme.style.bar.bg = &bar_bg; in bar_init() 469 lv_style_copy(&cb_rel, &bg); in cb_init() 476 lv_style_copy(&cb_bg, &bg); in cb_init() 585 theme.style.page.bg = &panel; in page_init() 752 theme.style.tabview.bg = &bg; in tabview_init() [all …]
|
A D | lv_theme_alien.c | 34 static lv_style_t bg; variable 102 lv_style_copy(&bg, &def); in basic_init() 105 bg.body.border.width = 2; in basic_init() 109 lv_style_copy(&scr, &bg); in basic_init() 142 theme.style.bg = &bg; in basic_init() 268 theme.style.bar.bg = &bar_bg; in bar_init() 491 lv_style_copy(&cb_rel, &bg); in cb_init() 498 lv_style_copy(&cb_bg, &bg); in cb_init() 607 theme.style.page.bg = &panel; in page_init() 775 theme.style.tabview.bg = &bg; in tabview_init() [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/gregbook/ |
A D | rpng2-win.c | 241 } bg[] = { variable 870 if ((bg[pat].type & 0x07) == 0) { 871 uch r1_min = rgb[bg[pat].rgb1_min].r; 939 } else if ((bg[pat].type & 0x07) == 1) { 944 r1 = rgb[bg[pat].rgb1_max].r; 945 g1 = rgb[bg[pat].rgb1_max].g; 946 b1 = rgb[bg[pat].rgb1_max].b; 947 r2 = rgb[bg[pat].rgb2_max].r; 948 g2 = rgb[bg[pat].rgb2_max].g; 949 b2 = rgb[bg[pat].rgb2_max].b; [all …]
|
A D | rpng2-x.c | 267 } bg[] = { variable 1122 if ((bg[pat].type & 0x07) == 0) { in rpng2_x_load_bg_image() 1196 r1 = rgb[bg[pat].rgb1_max].r; in rpng2_x_load_bg_image() 1197 g1 = rgb[bg[pat].rgb1_max].g; in rpng2_x_load_bg_image() 1198 b1 = rgb[bg[pat].rgb1_max].b; in rpng2_x_load_bg_image() 1199 r2 = rgb[bg[pat].rgb2_max].r; in rpng2_x_load_bg_image() 1200 g2 = rgb[bg[pat].rgb2_max].g; in rpng2_x_load_bg_image() 1201 b2 = rgb[bg[pat].rgb2_max].b; in rpng2_x_load_bg_image() 1894 if ((bg[pat].type & 0x07) == 0) { in rpng2_x_reload_bg_image() 1968 r1 = rgb[bg[pat].rgb1_max].r; in rpng2_x_reload_bg_image() [all …]
|
A D | rpng-win.c | 127 #define alpha_composite(composite, fg, alpha, bg) { \ argument 129 (ush)(bg)*(ush)(255 - (ush)(alpha)) + (ush)128); \
|
A D | rpng-x.c | 109 #define alpha_composite(composite, fg, alpha, bg) { \ argument 111 (ush)(bg)*(ush)(255 - (ush)(alpha)) + (ush)128); \
|
/AliOS-Things-master/components/SDL2/include/ |
A D | SDL_ttf.h | 204 const char *text, SDL_Color fg, SDL_Color bg); 206 const char *text, SDL_Color fg, SDL_Color bg); 208 const Uint16 *text, SDL_Color fg, SDL_Color bg); 218 Uint16 ch, SDL_Color fg, SDL_Color bg); 255 #define TTF_RenderText(font, text, fg, bg) \ argument 256 TTF_RenderText_Shaded(font, text, fg, bg) 257 #define TTF_RenderUTF8(font, text, fg, bg) \ argument 258 TTF_RenderUTF8_Shaded(font, text, fg, bg) 259 #define TTF_RenderUNICODE(font, text, fg, bg) \ argument 260 TTF_RenderUNICODE_Shaded(font, text, fg, bg)
|
/AliOS-Things-master/components/SDL2/src/video/x11/ |
A D | SDL_x11mouse.c | 122 XColor fg, bg; in X11_CreatePixmapCursor() local 183 bg.red = rbg * 257 / bgBits; in X11_CreatePixmapCursor() 184 bg.green = gbg * 257 / bgBits; in X11_CreatePixmapCursor() 185 bg.blue = bbg * 257 / bgBits; in X11_CreatePixmapCursor() 187 else bg.red = bg.green = bg.blue = 0; in X11_CreatePixmapCursor() 196 &fg, &bg, hot_x, hot_y); in X11_CreatePixmapCursor()
|
/AliOS-Things-master/components/littlevgl/src/lv_objx/ |
A D | lv_cb.c | 91 lv_cb_set_style(new_cb, LV_CB_STYLE_BG, th->style.cb.bg); in lv_cb_create() 266 lv_obj_t * bg = lv_obj_get_parent(bullet); in lv_bullet_design() local 267 const lv_style_t * style_page = lv_obj_get_style(bg); in lv_bullet_design() 268 lv_group_t * g = lv_obj_get_group(bg); in lv_bullet_design() 270 if(lv_group_get_focused(g) == bg) { in lv_bullet_design()
|
A D | lv_mbox.h | 53 lv_cont_ext_t bg; /*Ext. of ancestor*/ member
|
A D | lv_label.c | 834 lv_area_t bg; in lv_label_design() local 835 lv_obj_get_coords(label, &bg); in lv_label_design() 836 bg.x1 -= style->body.padding.left; in lv_label_design() 837 bg.x2 += style->body.padding.right; in lv_label_design() 838 bg.y1 -= style->body.padding.top; in lv_label_design() 839 bg.y2 += style->body.padding.bottom; in lv_label_design() 841 lv_draw_rect(&bg, mask, style, lv_obj_get_opa_scale(label)); in lv_label_design()
|
A D | lv_page.h | 59 lv_cont_ext_t bg; /*Ext. of ancestor*/ member
|
A D | lv_mbox.c | 106 lv_mbox_set_style(new_mbox, LV_MBOX_STYLE_BG, th->style.mbox.bg); in lv_mbox_create() 151 lv_mbox_set_style(mbox, LV_MBOX_STYLE_BTN_BG, th->style.mbox.btn.bg); in lv_mbox_add_btns()
|
A D | lv_sw.c | 89 lv_sw_set_style(new_sw, LV_SW_STYLE_BG, th->style.sw.bg); in lv_sw_create()
|
/AliOS-Things-master/components/SDL2/src/ttf/ |
A D | SDL_ttf.c | 1541 const char *text, SDL_Color fg, SDL_Color bg) in TTF_RenderText_Shaded() argument 1562 const char *text, SDL_Color fg, SDL_Color bg) in TTF_RenderUTF8_Shaded() argument 1607 if (!bg.a) { in TTF_RenderUTF8_Shaded() 1608 bg.a = SDL_ALPHA_OPAQUE; in TTF_RenderUTF8_Shaded() 1616 rdiff = fg.r - bg.r; in TTF_RenderUTF8_Shaded() 1617 gdiff = fg.g - bg.g; in TTF_RenderUTF8_Shaded() 1618 bdiff = fg.b - bg.b; in TTF_RenderUTF8_Shaded() 1619 adiff = fg.a - bg.a; in TTF_RenderUTF8_Shaded() 1705 SDL_Color bg) in TTF_RenderUNICODE_Shaded() argument 1726 SDL_Color bg) in TTF_RenderGlyph_Shaded() argument [all …]
|
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/ |
A D | png.h | 2510 # define png_composite(composite, fg, alpha, bg) \ argument 2514 + (png_uint_16)(bg)*(png_uint_16)(255 \ 2519 # define png_composite_16(composite, fg, alpha, bg) \ argument 2523 + (png_uint_32)(bg)*(65535 \ 2530 # define png_composite(composite, fg, alpha, bg) \ argument 2533 (png_uint_16)(bg) * (png_uint_16)(255 - (png_uint_16)(alpha)) + \ 2536 # define png_composite_16(composite, fg, alpha, bg) \ argument 2539 (png_uint_32)(bg)*(png_uint_32)(65535 - (png_uint_32)(alpha)) + \
|
/AliOS-Things-master/components/SDL2/src/image/VisualC/external/include/ |
A D | png.h | 2510 # define png_composite(composite, fg, alpha, bg) \ argument 2514 + (png_uint_16)(bg)*(png_uint_16)(255 \ 2519 # define png_composite_16(composite, fg, alpha, bg) \ argument 2523 + (png_uint_32)(bg)*(65535 \ 2530 # define png_composite(composite, fg, alpha, bg) \ argument 2533 (png_uint_16)(bg) * (png_uint_16)(255 - (png_uint_16)(alpha)) + \ 2536 # define png_composite_16(composite, fg, alpha, bg) \ argument 2539 (png_uint_32)(bg)*(png_uint_32)(65535 - (png_uint_32)(alpha)) + \
|
/AliOS-Things-master/components/py_engine/engine/drivers/display/ |
A D | lcd160cr.py | 315 def set_text_color(self, fg, bg): argument 316 self._fcmd2("<BBHH", 0x63, fg, bg)
|