Lines Matching refs:hour_label
51 static lv_obj_t * hour_label; variable
177 lv_label_set_text_fmt(hour_label, "%02d", hour); in lv_demo_smartwatch_home_set_time()
326 hour_label = lv_label_create(clock_screen); in create_screen_home()
327 lv_obj_set_width(hour_label, 151); in create_screen_home()
328 lv_obj_set_height(hour_label, LV_SIZE_CONTENT); in create_screen_home()
329 lv_obj_set_x(hour_label, -89); in create_screen_home()
330 lv_obj_set_y(hour_label, -25); in create_screen_home()
331 lv_obj_set_align(hour_label, LV_ALIGN_CENTER); in create_screen_home()
332 lv_label_set_text(hour_label, "20"); in create_screen_home()
333 lv_obj_set_style_text_align(hour_label, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN | LV_STATE_DEFAULT); in create_screen_home()
334 lv_obj_set_style_text_font(hour_label, &lv_font_montserrat_48, LV_PART_MAIN | LV_STATE_DEFAULT); in create_screen_home()