Home
last modified time | relevance | path

Searched refs:LV_STATE_DEFAULT (Results 1 – 11 of 11) sorted by relevance

/lvgl-2.7.6/src/lv_themes/
Dlv_theme_material.c203 lv_style_set_bg_opa(&styles->scr, LV_STATE_DEFAULT, LV_OPA_COVER); in basic_init()
204 lv_style_set_bg_color(&styles->scr, LV_STATE_DEFAULT, COLOR_SCR); in basic_init()
205 lv_style_set_text_color(&styles->scr, LV_STATE_DEFAULT, COLOR_SCR_TEXT); in basic_init()
206 lv_style_set_value_color(&styles->scr, LV_STATE_DEFAULT, COLOR_SCR_TEXT); in basic_init()
207 lv_style_set_value_font(&styles->scr, LV_STATE_DEFAULT, theme.font_normal); 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()
217 lv_style_set_border_width(&styles->bg, LV_STATE_DEFAULT, BORDER_WIDTH); in basic_init()
[all …]
Dlv_theme_mono.c115 lv_style_set_bg_opa(&styles->scr, LV_STATE_DEFAULT, LV_OPA_COVER); in basic_init()
116 lv_style_set_bg_color(&styles->scr, LV_STATE_DEFAULT, BG_COLOR); in basic_init()
117 lv_style_set_text_color(&styles->scr, LV_STATE_DEFAULT, FG_COLOR); in basic_init()
118 lv_style_set_value_color(&styles->scr, LV_STATE_DEFAULT, FG_COLOR); 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()
128 lv_style_set_border_color(&styles->bg, LV_STATE_DEFAULT, FG_COLOR); in basic_init()
[all …]
Dlv_theme_template.c65 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()
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()
73 lv_style_set_text_color(&styles->bg, LV_STATE_DEFAULT, LV_COLOR_BLACK); in basic_init()
74 lv_style_set_pad_left(&styles->bg, LV_STATE_DEFAULT, LV_DPI / 10); in basic_init()
75 lv_style_set_pad_right(&styles->bg, LV_STATE_DEFAULT, LV_DPI / 10); in basic_init()
76 lv_style_set_pad_top(&styles->bg, LV_STATE_DEFAULT, LV_DPI / 10); in basic_init()
77 lv_style_set_pad_bottom(&styles->bg, LV_STATE_DEFAULT, LV_DPI / 10); in basic_init()
[all …]
Dlv_theme_empty.c90 lv_style_set_bg_opa(&styles->opa_cover, LV_STATE_DEFAULT, LV_OPA_COVER); in lv_theme_empty_init()
/lvgl-2.7.6/src/lv_core/
Dlv_refr.c281 … lv_obj_set_style_local_bg_opa(perf_label, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, LV_OPA_COVER); in _lv_disp_refr_task()
282 … lv_obj_set_style_local_bg_color(perf_label, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, LV_COLOR_BLACK); in _lv_disp_refr_task()
283 …lv_obj_set_style_local_text_color(perf_label, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, LV_COLOR_WHITE… in _lv_disp_refr_task()
284 lv_obj_set_style_local_pad_top(perf_label, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, 3); in _lv_disp_refr_task()
285 lv_obj_set_style_local_pad_bottom(perf_label, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, 3); in _lv_disp_refr_task()
286 lv_obj_set_style_local_pad_left(perf_label, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, 3); in _lv_disp_refr_task()
287 lv_obj_set_style_local_pad_right(perf_label, LV_LABEL_PART_MAIN, LV_STATE_DEFAULT, 3); in _lv_disp_refr_task()
Dlv_disp.c402 lv_obj_set_style_local_opa_scale(obj, LV_OBJ_PART_MAIN, LV_STATE_DEFAULT, v); in opa_scale_anim()
Dlv_obj.h186 LV_STATE_DEFAULT = 0x00, enumerator
Dlv_obj.c378 new_obj->state = LV_STATE_DEFAULT; in lv_obj_create()
3107 info.result = LV_STATE_DEFAULT; in lv_obj_get_state()
4533 lv_obj_set_style_local_opa_scale(obj, LV_OBJ_PART_MAIN, LV_STATE_DEFAULT, v);
/lvgl-2.7.6/src/lv_widgets/
Dlv_btnmatrix.c665 btnm->state = LV_STATE_DEFAULT; in lv_btnmatrix_design()
701 lv_state_t btn_state = LV_STATE_DEFAULT; in lv_btnmatrix_design()
710 if(btn_state == LV_STATE_DEFAULT) { in lv_btnmatrix_design()
Dlv_calendar.c707 calendar->state = LV_STATE_DEFAULT; in draw_header()
814 calendar->state = LV_STATE_DEFAULT; in draw_dates()
Dlv_dropdown.c838 draw_box(ddlist, &clip_area_core, ext->sel_opt_id, LV_STATE_DEFAULT); in lv_dropdown_page_design()
864 draw_box_label(ddlist, &clip_area_core, ext->sel_opt_id, LV_STATE_DEFAULT); in lv_dropdown_page_design()