Lines Matching refs:clock_screen
50 static lv_obj_t * clock_screen; variable
114 lv_demo_smartwatch_register_watchface_cb("Default", &img_digital_preview, &clock_screen, NULL); in lv_demo_smartwatch_home_create()
317 clock_screen = lv_obj_create(home_panel); in create_screen_home()
318 lv_obj_set_width(clock_screen, lv_pct(100)); in create_screen_home()
319 lv_obj_set_height(clock_screen, lv_pct(100)); in create_screen_home()
320 lv_obj_remove_flag(clock_screen, LV_OBJ_FLAG_SCROLLABLE); in create_screen_home()
321 … lv_obj_set_style_bg_color(clock_screen, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT); in create_screen_home()
322 lv_obj_set_style_bg_opa(clock_screen, 255, LV_PART_MAIN | LV_STATE_DEFAULT); in create_screen_home()
323 lv_obj_set_style_radius(clock_screen, 0, LV_PART_MAIN | LV_STATE_DEFAULT); in create_screen_home()
324 lv_obj_set_style_border_width(clock_screen, 0, LV_PART_MAIN | LV_STATE_DEFAULT); in create_screen_home()
326 hour_label = lv_label_create(clock_screen); in create_screen_home()
336 minute_label = lv_label_create(clock_screen); in create_screen_home()
345 date_label = lv_label_create(clock_screen); in create_screen_home()
355 weather_icon = lv_image_create(clock_screen); in create_screen_home()
366 weather_temperature = lv_label_create(clock_screen); in create_screen_home()
375 weekday_label = lv_label_create(clock_screen); in create_screen_home()
384 am_pm_label = lv_label_create(clock_screen); in create_screen_home()
393 alert_panel = lv_obj_create(clock_screen); in create_screen_home()
427 lv_obj_add_event_cb(clock_screen, clock_screen_event_cb, LV_EVENT_ALL, NULL); in create_screen_home()