Searched refs:weather_screen (Results 1 – 1 of 1) sorted by relevance
/lvgl-latest/demos/smartwatch/ |
D | lv_demo_smartwatch_weather.c | 35 static lv_obj_t * weather_screen; variable 101 lv_screen_load_anim(weather_screen, anim_type, time, delay, false); in lv_demo_smartwatch_weather_load() 255 weather_screen = lv_tileview_create(NULL); in create_screen_weather() 256 lv_obj_set_scrollbar_mode(weather_screen, LV_SCROLLBAR_MODE_AUTO); in create_screen_weather() 257 …lv_obj_set_style_bg_color(weather_screen, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT); in create_screen_weather() 258 lv_obj_set_style_bg_opa(weather_screen, 255, LV_PART_MAIN | LV_STATE_DEFAULT); in create_screen_weather() 261 weather_panel = lv_tileview_add_tile(weather_screen, 0, 0, LV_DIR_BOTTOM | LV_DIR_RIGHT); in create_screen_weather() 309 weather_daily_panel = lv_tileview_add_tile(weather_screen, 1, 0, LV_DIR_LEFT); in create_screen_weather() 337 weather_hourly_panel = lv_tileview_add_tile(weather_screen, 0, 1, LV_DIR_TOP); in create_screen_weather() 367 lv_obj_add_event_cb(weather_screen, weather_screen_event_cb, LV_EVENT_ALL, NULL); in create_screen_weather() [all …]
|