Searched refs:weather_panel (Results 1 – 1 of 1) sorted by relevance
/lvgl-latest/demos/smartwatch/ |
D | lv_demo_smartwatch_weather.c | 36 static lv_obj_t * weather_panel; variable 261 weather_panel = lv_tileview_add_tile(weather_screen, 0, 0, LV_DIR_BOTTOM | LV_DIR_RIGHT); in create_screen_weather() 262 lv_obj_set_width(weather_panel, lv_pct(100)); in create_screen_weather() 263 lv_obj_set_height(weather_panel, lv_pct(100)); in create_screen_weather() 264 lv_obj_set_align(weather_panel, LV_ALIGN_CENTER); in create_screen_weather() 265 lv_obj_remove_flag(weather_panel, LV_OBJ_FLAG_SCROLLABLE); in create_screen_weather() 266 lv_obj_set_style_radius(weather_panel, 0, LV_PART_MAIN | LV_STATE_DEFAULT); in create_screen_weather() 267 … lv_obj_set_style_bg_color(weather_panel, lv_color_hex(0xFFFFFF), LV_PART_MAIN | LV_STATE_DEFAULT); in create_screen_weather() 268 lv_obj_set_style_bg_opa(weather_panel, 0, LV_PART_MAIN | LV_STATE_DEFAULT); in create_screen_weather() 269 lv_obj_set_style_border_width(weather_panel, 0, LV_PART_MAIN | LV_STATE_DEFAULT); in create_screen_weather() [all …]
|