Searched refs:BG_COLOR (Results 1 – 2 of 2) sorted by relevance
/lvgl-2.7.6/src/lv_themes/ |
D | lv_theme_mono.c | 103 #define BG_COLOR theme.color_primary.ch.red == 0 ? LV_COLOR_WHITE : LV_COLOR_BLACK macro 104 #define FG_COLOR COLOR_INV(BG_COLOR) 116 lv_style_set_bg_color(&styles->scr, LV_STATE_DEFAULT, BG_COLOR); in basic_init() 124 lv_style_set_bg_color(&styles->bg, LV_STATE_DEFAULT, BG_COLOR); in basic_init() 151 lv_style_set_bg_color(&styles->btn, LV_STATE_DEFAULT, BG_COLOR); in basic_init() 154 lv_style_set_bg_color(&styles->btn, LV_STATE_CHECKED | LV_STATE_PRESSED, BG_COLOR); in basic_init() 156 lv_style_set_text_color(&styles->btn, LV_STATE_PRESSED, BG_COLOR); in basic_init() 157 lv_style_set_text_color(&styles->btn, LV_STATE_CHECKED, BG_COLOR); in basic_init() 160 lv_style_set_value_color(&styles->btn, LV_STATE_PRESSED, BG_COLOR); in basic_init() 161 lv_style_set_value_color(&styles->btn, LV_STATE_CHECKED, BG_COLOR); in basic_init() [all …]
|
/lvgl-2.7.6/src/lv_core/ |
D | lv_obj_style_dec.h | 123 _LV_OBJ_STYLE_SET_GET_DECLARE(BG_COLOR, bg_color, lv_color_t, _color, nonscalar) in _LV_OBJ_STYLE_SET_GET_DECLARE()
|