const char* lvApp_Time00_23Roller = "00\n01\n02\n03\n04\n05\n06\n07\n08\n09\n10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n20\n21\n22\n23";
const char* lvApp_Time00_59Roller =
"00\n01\n02\n03\n04\n05\n06\n07\n08\n09\n\
10\n11\n12\n13\n14\n15\n16\n17\n18\n19\n\
20\n21\n22\n23\n24\n25\n26\n27\n28\n29\n\
30\n31\n32\n33\n34\n35\n36\n37\n38\n39\n\
40\n41\n42\n43\n44\n45\n46\n47\n48\n49\n\
50\n51\n52\n53\n54\n55\n56\n57\n58\n59";
lv_obj_t *mbx = lv_obj_create(lv_scr_act());
lv_obj_set_style_border_width(mbx, 0, LV_PART_MAIN);
lv_obj_set_style_radius(mbx, 0, LV_PART_MAIN);
lv_obj_move_foreground(mbx);
lv_obj_set_size(mbx, 480, 800);
lv_obj_align(mbx, LV_ALIGN_CENTER, 0, 0);
lv_obj_set_style_bg_color(mbx, lv_color_hex(0xFFCC80), LV_PART_MAIN);
lv_obj_set_style_bg_opa(mbx, LV_OPA_100, LV_PART_MAIN);
lv_obj_t* bhead = lv_label_create(mbx);
lv_obj_align(bhead, LV_ALIGN_TOP_MID, 0, 25);
lv_obj_set_style_text_font(bhead, font_Regular_26, LV_PART_MAIN);
lv_obj_set_style_text_color(bhead, lv_color_hex(0x000000), LV_PART_MAIN);
lv_label_set_text(bhead, "time");
char buff[32];
lv_obj_t* btime = lv_label_create(mbx);
lv_obj_align(btime, LV_ALIGN_TOP_MID, 0, 67);
lv_obj_set_style_text_font(btime, &lv_font_montserrat_26, LV_PART_MAIN);
lv_obj_set_style_text_color(btime, lv_color_hex(0x000000), LV_PART_MAIN);
lv_snprintf(buff, 32, "%02d:%02d:%02d",12,12,12);
lv_label_set_text(btime, buff);
rollerL = lv_roller_create(mbx);
lv_obj_align(rollerL, LV_ALIGN_TOP_MID, -129, 116);
lv_roller_set_options(rollerL, lvApp_Time00_23Roller, LV_ROLLER_MODE_INFINITE);
lv_obj_set_style_border_width(rollerL, 10, LV_PART_SELECTED);
lv_obj_set_style_border_side(rollerL, LV_BORDER_SIDE_LEFT, LV_PART_SELECTED);
lv_obj_set_style_border_color(rollerL, lv_color_hex(0x000000), LV_PART_SELECTED);
lv_obj_set_style_text_font(rollerL, &lv_font_montserrat_26, LV_PART_MAIN);
lv_obj_set_style_text_color(rollerL, lv_color_hex(0x7F7F7F), LV_PART_MAIN);
lv_obj_set_style_bg_color(rollerL, lv_color_hex(0xE6E6E6), LV_PART_MAIN);
lv_obj_set_style_text_font(rollerL, &lv_font_montserrat_26, LV_PART_SELECTED);
lv_obj_set_style_text_color(rollerL, lv_color_hex(0xFFCC80), LV_PART_SELECTED);
lv_obj_set_style_bg_color(rollerL, lv_color_hex(0xFFFFFF), LV_PART_SELECTED);
lv_obj_set_style_border_width(rollerL, 0, LV_PART_MAIN);
lv_obj_set_style_radius(rollerL, 0, LV_PART_MAIN);
lv_obj_set_style_text_line_space(rollerL, 60, LV_PART_MAIN);
lv_obj_set_style_text_line_space(rollerL, 60, LV_PART_SELECTED);
lv_obj_set_style_border_width(rollerL, 0, LV_PART_MAIN | LV_STATE_FOCUS_KEY);
lv_obj_set_style_outline_width(rollerL, 0, LV_PART_MAIN | LV_STATE_FOCUS_KEY);
// lv_obj_add_event_cb(rollerL, time_roller_event_cb, LV_EVENT_ALL, NULL);
lv_obj_set_size(rollerL, 129, 450);
rollerM = lv_roller_create(mbx);
lv_obj_align(rollerM, LV_ALIGN_TOP_MID, 0, 116);
lv_roller_set_options(rollerM, lvApp_Time00_59Roller, LV_ROLLER_MODE_INFINITE);
lv_obj_set_style_text_font(rollerM, &lv_font_montserrat_26, LV_PART_MAIN);
lv_obj_set_style_text_color(rollerM, lv_color_hex(0x7F7F7F), LV_PART_MAIN);
lv_obj_set_style_bg_color(rollerM, lv_color_hex(0xE6E6E6), LV_PART_MAIN);
lv_obj_set_style_text_font(rollerM, &lv_font_montserrat_26, LV_PART_SELECTED);
lv_obj_set_style_text_color(rollerM, lv_color_hex(0xFFCC80), LV_PART_SELECTED);
lv_obj_set_style_bg_color(rollerM, lv_color_hex(0xFFFFFF), LV_PART_SELECTED);
lv_obj_set_style_border_width(rollerM, 0, LV_PART_MAIN);
lv_obj_set_style_radius(rollerM, 0, LV_PART_MAIN);
lv_obj_set_style_text_line_space(rollerM, 60, LV_PART_MAIN);
lv_obj_set_style_text_line_space(rollerM, 60, LV_PART_SELECTED);
lv_obj_set_style_border_width(rollerM, 0, LV_PART_MAIN | LV_STATE_FOCUS_KEY);
lv_obj_set_style_outline_width(rollerM, 0, LV_PART_MAIN | LV_STATE_FOCUS_KEY);
lv_obj_add_event_cb(rollerM, time_roller_event_cb, LV_EVENT_ALL, NULL);
lv_obj_set_size(rollerM, 129, 450);
rollerR = lv_roller_create(mbx);
lv_roller_set_options(rollerR, lvApp_Time00_59Roller, LV_ROLLER_MODE_INFINITE);
lv_obj_align(rollerR, LV_ALIGN_TOP_MID, 129, 116);
lv_obj_set_style_text_font(rollerR, &lv_font_montserrat_26, LV_PART_MAIN);
lv_obj_set_style_text_color(rollerR, lv_color_hex(0x7F7F7F), LV_PART_MAIN);
lv_obj_set_style_bg_color(rollerR, lv_color_hex(0xE6E6E6), LV_PART_MAIN);
lv_obj_set_style_text_font(rollerR, &lv_font_montserrat_26, LV_PART_SELECTED);
lv_obj_set_style_text_color(rollerR, lv_color_hex(0xFFCC80), LV_PART_SELECTED);
lv_obj_set_style_bg_color(rollerR, lv_color_hex(0xFFFFFF), LV_PART_SELECTED);
lv_obj_set_style_border_width(rollerR, 0, LV_PART_MAIN);
lv_obj_set_style_radius(rollerR, 0, LV_PART_MAIN);
lv_obj_set_style_text_line_space(rollerR, 60, LV_PART_MAIN);
lv_obj_set_style_text_line_space(rollerR, 60, LV_PART_SELECTED);
lv_obj_set_style_border_width(rollerR, 0, LV_PART_MAIN | LV_STATE_FOCUS_KEY);
lv_obj_set_style_outline_width(rollerR, 0, LV_PART_MAIN | LV_STATE_FOCUS_KEY);
lv_obj_add_event_cb(rollerR, time_roller_event_cb, LV_EVENT_ALL, NULL);
lv_obj_set_size(rollerR, 129, 450);
lv_roller_set_selected(rollerL, 12, LV_ANIM_OFF);
lv_roller_set_selected(rollerM,12, LV_ANIM_OFF);
lv_roller_set_selected(rollerR, 12, LV_ANIM_OFF);
lv_obj_t* labelL = lv_label_create(mbx);
lv_obj_align(labelL, LV_ALIGN_TOP_LEFT, 115, 340);
lv_obj_set_style_text_font(labelL, font_Regular_15, LV_PART_MAIN);
lv_obj_set_style_text_color(labelL, lv_color_hex(0xFFCC80), LV_PART_MAIN);
lv_obj_t* labelM = lv_label_create(mbx);
lv_obj_align(labelM, LV_ALIGN_TOP_LEFT, 115 + 129, 340);
lv_obj_set_style_text_font(labelM, font_Regular_15, LV_PART_MAIN);
lv_obj_set_style_text_color(labelM, lv_color_hex(0xFFCC80), LV_PART_MAIN);
lv_obj_t* labelR = lv_label_create(mbx);
lv_obj_align(labelR, LV_ALIGN_TOP_LEFT, 115 + 129 + 129, 340);
lv_obj_set_style_text_font(labelR, font_Regular_15, LV_PART_MAIN);
lv_obj_set_style_text_color(labelR, lv_color_hex(0xFFCC80), LV_PART_MAIN);
lv_label_set_text(labelL, "Hr");
lv_label_set_text(labelM, "Min");
lv_label_set_text(labelR, "Sec");