Searched refs:weather_current_temp (Results 1 – 1 of 1) sorted by relevance
/lvgl-latest/demos/smartwatch/ |
D | lv_demo_smartwatch_weather.c | 39 static lv_obj_t * weather_current_temp; variable 108 lv_label_set_text_fmt(weather_current_temp, "%d°C", temp); in lv_demo_smartwatch_set_weather() 291 weather_current_temp = lv_label_create(weather_panel); in create_screen_weather() 292 lv_obj_set_width(weather_current_temp, LV_SIZE_CONTENT); in create_screen_weather() 293 lv_obj_set_height(weather_current_temp, LV_SIZE_CONTENT); in create_screen_weather() 294 lv_obj_set_x(weather_current_temp, 0); in create_screen_weather() 295 lv_obj_set_y(weather_current_temp, 44); in create_screen_weather() 296 lv_obj_set_align(weather_current_temp, LV_ALIGN_CENTER); in create_screen_weather() 297 lv_label_set_text(weather_current_temp, "--°C"); in create_screen_weather() 298 …lv_obj_set_style_text_font(weather_current_temp, &lv_font_montserrat_46, LV_PART_MAIN | LV_STATE_D… in create_screen_weather()
|