// This file was generated by SquareLine Studio // SquareLine Studio version: SquareLine Studio 1.5.1 // LVGL version: 8.3.6 // Project name: ESP32S3_UI #include "../ui.h" void ui_debugShow_screen_init(void) { ui_debugShow = lv_obj_create(NULL); lv_obj_clear_flag(ui_debugShow, LV_OBJ_FLAG_SCROLLABLE); /// Flags ui_debugShow_settingHeader2 = lv_obj_create(ui_debugShow); lv_obj_set_width(ui_debugShow_settingHeader2, 320); lv_obj_set_height(ui_debugShow_settingHeader2, 50); lv_obj_set_align(ui_debugShow_settingHeader2, LV_ALIGN_TOP_MID); lv_obj_clear_flag(ui_debugShow_settingHeader2, LV_OBJ_FLAG_SCROLLABLE); /// Flags lv_obj_set_style_radius(ui_debugShow_settingHeader2, 0, LV_PART_MAIN | LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui_debugShow_settingHeader2, 0, LV_PART_MAIN | LV_STATE_DEFAULT); ui_debugShow_Label23 = lv_label_create(ui_debugShow_settingHeader2); lv_obj_set_width(ui_debugShow_Label23, LV_SIZE_CONTENT); /// 1 lv_obj_set_height(ui_debugShow_Label23, LV_SIZE_CONTENT); /// 1 lv_obj_set_x(ui_debugShow_Label23, 1); lv_obj_set_y(ui_debugShow_Label23, 8); lv_obj_set_align(ui_debugShow_Label23, LV_ALIGN_BOTTOM_MID); lv_label_set_text(ui_debugShow_Label23, "设备调试"); lv_obj_set_style_text_color(ui_debugShow_Label23, lv_color_hex(0x040000), LV_PART_MAIN | LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui_debugShow_Label23, 255, LV_PART_MAIN | LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui_debugShow_Label23, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT); ui_debugShow_Label27 = lv_label_create(ui_debugShow_settingHeader2); lv_obj_set_width(ui_debugShow_Label27, LV_SIZE_CONTENT); /// 1 lv_obj_set_height(ui_debugShow_Label27, LV_SIZE_CONTENT); /// 1 lv_obj_set_x(ui_debugShow_Label27, 4); lv_obj_set_y(ui_debugShow_Label27, 0); lv_obj_set_align(ui_debugShow_Label27, LV_ALIGN_LEFT_MID); lv_label_set_text(ui_debugShow_Label27, "<"); ui_debugShow_StepPannel2 = lv_obj_create(ui_debugShow); lv_obj_set_width(ui_debugShow_StepPannel2, 320); lv_obj_set_height(ui_debugShow_StepPannel2, 412); lv_obj_set_x(ui_debugShow_StepPannel2, 1); lv_obj_set_y(ui_debugShow_StepPannel2, 19); lv_obj_set_align(ui_debugShow_StepPannel2, LV_ALIGN_CENTER); lv_obj_add_flag(ui_debugShow_StepPannel2, LV_OBJ_FLAG_EVENT_BUBBLE | LV_OBJ_FLAG_SCROLL_ONE); /// Flags lv_obj_set_scrollbar_mode(ui_debugShow_StepPannel2, LV_SCROLLBAR_MODE_ACTIVE); lv_obj_set_scroll_dir(ui_debugShow_StepPannel2, LV_DIR_VER); lv_obj_set_style_radius(ui_debugShow_StepPannel2, 0, LV_PART_MAIN | LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui_debugShow_StepPannel2, lv_color_hex(0xE6E6E6), LV_PART_MAIN | LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui_debugShow_StepPannel2, 255, LV_PART_MAIN | LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui_debugShow_StepPannel2, 0, LV_PART_MAIN | LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui_debugShow_StepPannel2, 0, LV_PART_MAIN | LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui_debugShow_StepPannel2, 0, LV_PART_MAIN | LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui_debugShow_StepPannel2, 30, LV_PART_MAIN | LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui_debugShow_StepPannel2, 0, LV_PART_MAIN | LV_STATE_DEFAULT); ui_debugShow_TextAreaDebug = lv_textarea_create(ui_debugShow_StepPannel2); lv_obj_set_width(ui_debugShow_TextAreaDebug, 206); lv_obj_set_height(ui_debugShow_TextAreaDebug, 399); lv_obj_set_x(ui_debugShow_TextAreaDebug, 46); lv_obj_set_y(ui_debugShow_TextAreaDebug, -14); lv_obj_set_align(ui_debugShow_TextAreaDebug, LV_ALIGN_CENTER); lv_textarea_set_placeholder_text(ui_debugShow_TextAreaDebug, "Placeholder..."); lv_obj_set_scrollbar_mode(ui_debugShow_TextAreaDebug, LV_SCROLLBAR_MODE_ACTIVE); lv_obj_set_scroll_dir(ui_debugShow_TextAreaDebug, LV_DIR_VER); ui_debugShow_wifi = lv_checkbox_create(ui_debugShow); lv_checkbox_set_text(ui_debugShow_wifi, "wifiInfo"); lv_obj_set_width(ui_debugShow_wifi, LV_SIZE_CONTENT); /// 1 lv_obj_set_height(ui_debugShow_wifi, LV_SIZE_CONTENT); /// 1 lv_obj_set_x(ui_debugShow_wifi, -108); lv_obj_set_y(ui_debugShow_wifi, -165); lv_obj_set_align(ui_debugShow_wifi, LV_ALIGN_CENTER); lv_obj_add_flag(ui_debugShow_wifi, LV_OBJ_FLAG_SCROLL_ON_FOCUS); /// Flags ui_debugShow_serial1 = lv_checkbox_create(ui_debugShow); lv_checkbox_set_text(ui_debugShow_serial1, "serial1"); lv_obj_set_width(ui_debugShow_serial1, LV_SIZE_CONTENT); /// 1 lv_obj_set_height(ui_debugShow_serial1, LV_SIZE_CONTENT); /// 1 lv_obj_set_x(ui_debugShow_serial1, -113); lv_obj_set_y(ui_debugShow_serial1, -135); lv_obj_set_align(ui_debugShow_serial1, LV_ALIGN_CENTER); lv_obj_add_flag(ui_debugShow_serial1, LV_OBJ_FLAG_SCROLL_ON_FOCUS); /// Flags ui_debugShow_serial2 = lv_checkbox_create(ui_debugShow); lv_checkbox_set_text(ui_debugShow_serial2, "serial2"); lv_obj_set_width(ui_debugShow_serial2, LV_SIZE_CONTENT); /// 1 lv_obj_set_height(ui_debugShow_serial2, LV_SIZE_CONTENT); /// 1 lv_obj_set_x(ui_debugShow_serial2, -110); lv_obj_set_y(ui_debugShow_serial2, -103); lv_obj_set_align(ui_debugShow_serial2, LV_ALIGN_CENTER); lv_obj_add_flag(ui_debugShow_serial2, LV_OBJ_FLAG_SCROLL_ON_FOCUS); /// Flags ui_debugShow_serial3 = lv_checkbox_create(ui_debugShow); lv_checkbox_set_text(ui_debugShow_serial3, "power"); lv_obj_set_width(ui_debugShow_serial3, LV_SIZE_CONTENT); /// 1 lv_obj_set_height(ui_debugShow_serial3, LV_SIZE_CONTENT); /// 1 lv_obj_set_x(ui_debugShow_serial3, -110); lv_obj_set_y(ui_debugShow_serial3, -69); lv_obj_set_align(ui_debugShow_serial3, LV_ALIGN_CENTER); lv_obj_add_flag(ui_debugShow_serial3, LV_OBJ_FLAG_SCROLL_ON_FOCUS); /// Flags lv_obj_add_event_cb(ui_debugShow_Label27, ui_event_debugShow_Label27, LV_EVENT_ALL, NULL); lv_obj_add_event_cb(ui_debugShow_settingHeader2, ui_event_debugShow_settingHeader2, LV_EVENT_ALL, NULL); }