Lines Matching refs:bg
50 static lv_style_t bg, panel, scr; in basic_init() local
56 lv_style_copy(&bg, &def); in basic_init()
57 bg.body.main_color = lv_color_hex(0xf0f0f0); 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()
242 theme.style.bar.bg = &bar_bg; in bar_init()
258 theme.style.slider.bg = theme.style.bar.bg; in slider_init()
268 lv_style_copy(&sw_bg, theme.style.slider.bg); in sw_init()
271 lv_style_copy(&sw_indic, theme.style.slider.bg); in sw_init()
286 theme.style.sw.bg = &sw_bg; in sw_init()
395 theme.style.calendar.bg = theme.style.panel; in calendar_init()
430 theme.style.cb.bg = &lv_style_transp; in cb_init()
442 static lv_style_t bg, rel, pr, tgl_rel, tgl_pr, ina; in btnm_init() local
444 lv_style_copy(&bg, theme.style.panel); in btnm_init()
445 bg.body.padding.left = 0; in btnm_init()
446 bg.body.padding.right = 0; in btnm_init()
447 bg.body.padding.top = 0; in btnm_init()
448 bg.body.padding.bottom = 0; in btnm_init()
449 bg.body.padding.inner = 0; in btnm_init()
450 bg.text.color = lv_color_hex3(0x555); in btnm_init()
480 theme.style.btnm.bg = &bg; in btnm_init()
497 theme.style.kb.bg = theme.style.btnm.bg; in kb_init()
519 theme.style.mbox.bg = theme.style.panel; in mbox_init()
520 theme.style.mbox.btn.bg = &lv_style_transp; in mbox_init()
530 theme.style.page.bg = theme.style.panel; in page_init()
560 theme.style.spinbox.bg = theme.style.panel; in spinbox_init()
613 theme.style.list.bg = &list_bg; in list_init()
626 static lv_style_t bg, sel; in ddlist_init() local
627 lv_style_copy(&bg, theme.style.panel); in ddlist_init()
628 bg.body.padding.left = LV_DPI / 6; in ddlist_init()
629 bg.body.padding.right = LV_DPI / 6; in ddlist_init()
630 bg.body.padding.top = LV_DPI / 6; in ddlist_init()
631 bg.body.padding.bottom = LV_DPI / 6; in ddlist_init()
632 bg.text.line_space = LV_DPI / 8; in ddlist_init()
634 lv_style_copy(&sel, &bg); in ddlist_init()
641 theme.style.ddlist.bg = &bg; in ddlist_init()
664 theme.style.roller.bg = &roller_bg; in roller_init()
729 theme.style.tabview.bg = theme.style.bg; in tabview_init()
731 theme.style.tabview.btn.bg = &btn_bg; in tabview_init()
742 theme.style.tileview.bg = &lv_style_transp_tight; in tileview_init()
760 theme.style.table.bg = &lv_style_transp_tight; in table_init()
795 theme.style.win.bg = theme.style.panel; in win_init()