Home
last modified time | relevance | path

Searched refs:top_label (Results 1 – 2 of 2) sorted by relevance

/lvgl-latest/demos/high_res/
Dlv_demo_high_res_app_smart_home.c148 lv_obj_t * top_label = lv_label_create(widget); in create_widget1() local
149 lv_label_set_text_static(top_label, "Climate Control"); in create_widget1()
150 lv_obj_set_width(top_label, LV_PCT(100)); in create_widget1()
151 lv_obj_add_style(top_label, &c->fonts[FONT_LABEL_MD], 0); in create_widget1()
152 lv_obj_set_style_text_color(top_label, lv_color_white(), 0); in create_widget1()
213 lv_obj_t * top_label = lv_label_create(widget); in create_widget_charging() local
214 lv_label_set_text_static(top_label, "Charging"); in create_widget_charging()
215 lv_obj_set_width(top_label, LV_PCT(100)); in create_widget_charging()
216 lv_obj_add_style(top_label, &c->fonts[FONT_LABEL_MD], 0); in create_widget_charging()
217 lv_obj_set_style_text_color(top_label, lv_color_white(), 0); in create_widget_charging()
[all …]
Dlv_demo_high_res_app_ev_charging.c501 lv_obj_t * top_label = lv_label_create(widget); in create_widget3() local
502 lv_label_set_text_static(top_label, "Charging"); in create_widget3()
503 lv_obj_set_width(top_label, LV_PCT(100)); in create_widget3()
504 lv_obj_add_style(top_label, &c->fonts[FONT_LABEL_MD], 0); in create_widget3()
505 lv_obj_set_style_text_color(top_label, lv_color_white(), 0); in create_widget3()