App-lvgl-CANTest/main_app/GUI-Guider/generated/setup_scr_screen_home.c

922 lines
71 KiB
C
Executable File

/*
* Copyright 2025 NXP
* NXP Proprietary. This software is owned or controlled by NXP and may only be used strictly in
* accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing,
* activating and/or otherwise using the software, you are agreeing that you have read, and that you agree to
* comply with and are bound by, such license terms. If you do not agree to be bound by the applicable license
* terms, then you may not retain, install, activate or otherwise use the software.
*/
#include "lvgl.h"
#include <stdio.h>
#include "gui_guider.h"
#include "events_init.h"
#include "widgets_init.h"
#include "custom.h"
void setup_scr_screen_home(lv_ui *ui)
{
//Write codes screen_home
ui->screen_home = lv_obj_create(NULL);
ui->g_kb_screen_home = lv_keyboard_create(ui->screen_home);
lv_obj_add_event_cb(ui->g_kb_screen_home, kb_event_cb, LV_EVENT_ALL, NULL);
lv_obj_add_flag(ui->g_kb_screen_home, LV_OBJ_FLAG_HIDDEN);
lv_obj_set_style_text_font(ui->g_kb_screen_home, &lv_font_SourceHanSerifSC_Regular_18, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_size(ui->screen_home, 1280, 720);
lv_obj_set_scrollbar_mode(ui->screen_home, LV_SCROLLBAR_MODE_OFF);
//Write style for screen_home, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_bg_opa(ui->screen_home, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_home_cont_1
ui->screen_home_cont_1 = lv_obj_create(ui->screen_home);
lv_obj_set_pos(ui->screen_home_cont_1, 907, 411);
lv_obj_set_size(ui->screen_home_cont_1, 373, 307);
lv_obj_set_scrollbar_mode(ui->screen_home_cont_1, LV_SCROLLBAR_MODE_OFF);
//Write style for screen_home_cont_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_home_cont_1, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_home_cont_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_home_cont_1, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_home_cont_1, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_home_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_home_cont_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_home_cont_1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_home_cont_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_home_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_home_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_home_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_home_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_home_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_home_tabview_2
ui->screen_home_tabview_2 = lv_tabview_create(ui->screen_home, LV_DIR_TOP, 50);
lv_obj_set_pos(ui->screen_home_tabview_2, 912, 4);
lv_obj_set_size(ui->screen_home_tabview_2, 364, 397);
lv_obj_set_scrollbar_mode(ui->screen_home_tabview_2, LV_SCROLLBAR_MODE_OFF);
//Write style for screen_home_tabview_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_bg_opa(ui->screen_home_tabview_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_home_tabview_2, lv_color_hex(0xeaeff3), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_home_tabview_2, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_home_tabview_2, lv_color_hex(0x4d4d4d), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_home_tabview_2, &lv_font_GB2312_12, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_home_tabview_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_home_tabview_2, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_home_tabview_2, 16, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_width(ui->screen_home_tabview_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_home_tabview_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_home_tabview_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write style state: LV_STATE_DEFAULT for &style_screen_home_tabview_2_extra_btnm_main_default
static lv_style_t style_screen_home_tabview_2_extra_btnm_main_default;
ui_init_style(&style_screen_home_tabview_2_extra_btnm_main_default);
lv_style_set_bg_opa(&style_screen_home_tabview_2_extra_btnm_main_default, 255);
lv_style_set_bg_color(&style_screen_home_tabview_2_extra_btnm_main_default, lv_color_hex(0xffffff));
lv_style_set_bg_grad_dir(&style_screen_home_tabview_2_extra_btnm_main_default, LV_GRAD_DIR_NONE);
lv_style_set_border_width(&style_screen_home_tabview_2_extra_btnm_main_default, 0);
lv_style_set_radius(&style_screen_home_tabview_2_extra_btnm_main_default, 0);
lv_obj_add_style(lv_tabview_get_tab_btns(ui->screen_home_tabview_2), &style_screen_home_tabview_2_extra_btnm_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write style state: LV_STATE_DEFAULT for &style_screen_home_tabview_2_extra_btnm_items_default
static lv_style_t style_screen_home_tabview_2_extra_btnm_items_default;
ui_init_style(&style_screen_home_tabview_2_extra_btnm_items_default);
lv_style_set_text_color(&style_screen_home_tabview_2_extra_btnm_items_default, lv_color_hex(0x4d4d4d));
lv_style_set_text_font(&style_screen_home_tabview_2_extra_btnm_items_default, &lv_font_GB2312_12);
lv_style_set_text_opa(&style_screen_home_tabview_2_extra_btnm_items_default, 255);
lv_obj_add_style(lv_tabview_get_tab_btns(ui->screen_home_tabview_2), &style_screen_home_tabview_2_extra_btnm_items_default, LV_PART_ITEMS|LV_STATE_DEFAULT);
//Write style state: LV_STATE_CHECKED for &style_screen_home_tabview_2_extra_btnm_items_checked
static lv_style_t style_screen_home_tabview_2_extra_btnm_items_checked;
ui_init_style(&style_screen_home_tabview_2_extra_btnm_items_checked);
lv_style_set_text_color(&style_screen_home_tabview_2_extra_btnm_items_checked, lv_color_hex(0x2195f6));
lv_style_set_text_font(&style_screen_home_tabview_2_extra_btnm_items_checked, &lv_font_GB2312_12);
lv_style_set_text_opa(&style_screen_home_tabview_2_extra_btnm_items_checked, 255);
lv_style_set_border_width(&style_screen_home_tabview_2_extra_btnm_items_checked, 4);
lv_style_set_border_opa(&style_screen_home_tabview_2_extra_btnm_items_checked, 255);
lv_style_set_border_color(&style_screen_home_tabview_2_extra_btnm_items_checked, lv_color_hex(0x2195f6));
lv_style_set_border_side(&style_screen_home_tabview_2_extra_btnm_items_checked, LV_BORDER_SIDE_BOTTOM);
lv_style_set_radius(&style_screen_home_tabview_2_extra_btnm_items_checked, 0);
lv_style_set_bg_opa(&style_screen_home_tabview_2_extra_btnm_items_checked, 60);
lv_style_set_bg_color(&style_screen_home_tabview_2_extra_btnm_items_checked, lv_color_hex(0x2195f6));
lv_style_set_bg_grad_dir(&style_screen_home_tabview_2_extra_btnm_items_checked, LV_GRAD_DIR_NONE);
lv_obj_add_style(lv_tabview_get_tab_btns(ui->screen_home_tabview_2), &style_screen_home_tabview_2_extra_btnm_items_checked, LV_PART_ITEMS|LV_STATE_CHECKED);
//Write codes 基本操作
ui->screen_home_tabview_2_tab_1 = lv_tabview_add_tab(ui->screen_home_tabview_2,"基本操作");
lv_obj_t * screen_home_tabview_2_tab_1_label = lv_label_create(ui->screen_home_tabview_2_tab_1);
lv_label_set_text(screen_home_tabview_2_tab_1_label, "");
//Write codes screen_home_btn_3
ui->screen_home_btn_3 = lv_btn_create(ui->screen_home_tabview_2_tab_1);
ui->screen_home_btn_3_label = lv_label_create(ui->screen_home_btn_3);
lv_label_set_text(ui->screen_home_btn_3_label, "发送");
lv_label_set_long_mode(ui->screen_home_btn_3_label, LV_LABEL_LONG_WRAP);
lv_obj_align(ui->screen_home_btn_3_label, LV_ALIGN_CENTER, 0, 0);
lv_obj_set_style_pad_all(ui->screen_home_btn_3, 0, LV_STATE_DEFAULT);
lv_obj_set_width(ui->screen_home_btn_3_label, LV_PCT(100));
lv_obj_set_pos(ui->screen_home_btn_3, 221, -11);
lv_obj_set_size(ui->screen_home_btn_3, 103, 36);
//Write style for screen_home_btn_3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_text_color(ui->screen_home_btn_3, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_home_btn_3, &lv_font_GB2312_24, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_home_btn_3, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_home_btn_3, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_home_btn_3, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_home_btn_3, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_home_btn_3, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_width(ui->screen_home_btn_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_home_btn_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_home_btn_3, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_home_ta_2
ui->screen_home_ta_2 = lv_textarea_create(ui->screen_home_tabview_2_tab_1);
lv_textarea_set_text(ui->screen_home_ta_2, "00 01 02 03 04 05 06 07 ");
lv_textarea_set_placeholder_text(ui->screen_home_ta_2, "");
lv_textarea_set_password_bullet(ui->screen_home_ta_2, "*");
lv_textarea_set_password_mode(ui->screen_home_ta_2, false);
lv_textarea_set_one_line(ui->screen_home_ta_2, true);
lv_textarea_set_accepted_chars(ui->screen_home_ta_2, "");
lv_textarea_set_max_length(ui->screen_home_ta_2, 33);
#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0
lv_obj_add_event_cb(ui->screen_home_ta_2, ta_event_cb, LV_EVENT_ALL, ui->g_kb_screen_home);
#endif
lv_obj_set_pos(ui->screen_home_ta_2, 82, 99);
lv_obj_set_size(ui->screen_home_ta_2, 250, 31);
//Write style for screen_home_ta_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_text_color(ui->screen_home_ta_2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_home_ta_2, &lv_font_montserratMedium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_home_ta_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_home_ta_2, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_home_ta_2, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_home_ta_2, 0, LV_PART_SCROLLBAR | LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_home_ta_2, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_home_ta_2, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_width(ui->screen_home_ta_2, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_home_ta_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_home_ta_2, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_home_ta_2, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_home_ta_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_home_ta_2, 4, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_home_ta_2, 4, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_home_ta_2, 4, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_home_ta_2, 4, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write style for screen_home_ta_2, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT.
lv_obj_set_style_bg_opa(ui->screen_home_ta_2, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_home_ta_2, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_home_ta_2, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_home_ta_2, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT);
//Write codes screen_home_label_5
ui->screen_home_label_5 = lv_label_create(ui->screen_home_tabview_2_tab_1);
lv_label_set_text(ui->screen_home_label_5, "数据(HEX):");
lv_label_set_long_mode(ui->screen_home_label_5, LV_LABEL_LONG_WRAP);
lv_obj_set_pos(ui->screen_home_label_5, -17, 105);
lv_obj_set_size(ui->screen_home_label_5, 99, 19);
//Write style for screen_home_label_5, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_home_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_home_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_home_label_5, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_home_label_5, &lv_font_GB2312_16, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_home_label_5, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_home_label_5, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_home_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_home_label_5, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_home_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_home_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_home_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_home_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_home_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_home_label_5, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_home_ta_1
ui->screen_home_ta_1 = lv_textarea_create(ui->screen_home_tabview_2_tab_1);
lv_textarea_set_text(ui->screen_home_ta_1, "00000000");
lv_textarea_set_placeholder_text(ui->screen_home_ta_1, "");
lv_textarea_set_password_bullet(ui->screen_home_ta_1, "*");
lv_textarea_set_password_mode(ui->screen_home_ta_1, false);
lv_textarea_set_one_line(ui->screen_home_ta_1, true);
lv_textarea_set_accepted_chars(ui->screen_home_ta_1, "");
lv_textarea_set_max_length(ui->screen_home_ta_1, 8);
#if LV_USE_KEYBOARD != 0 || LV_USE_ZH_KEYBOARD != 0
lv_obj_add_event_cb(ui->screen_home_ta_1, ta_event_cb, LV_EVENT_ALL, ui->g_kb_screen_home);
#endif
lv_obj_set_pos(ui->screen_home_ta_1, 193, 67);
lv_obj_set_size(ui->screen_home_ta_1, 109, 27);
//Write style for screen_home_ta_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_text_color(ui->screen_home_ta_1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_home_ta_1, &lv_font_montserratMedium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_home_ta_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_home_ta_1, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_home_ta_1, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_home_ta_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_home_ta_1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_home_ta_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_width(ui->screen_home_ta_1, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_home_ta_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_home_ta_1, lv_color_hex(0xe6e6e6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_home_ta_1, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_home_ta_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_home_ta_1, 4, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_home_ta_1, 4, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_home_ta_1, 4, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_home_ta_1, 4, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write style for screen_home_ta_1, Part: LV_PART_SCROLLBAR, State: LV_STATE_DEFAULT.
lv_obj_set_style_bg_opa(ui->screen_home_ta_1, 255, LV_PART_SCROLLBAR|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_home_ta_1, lv_color_hex(0x2195f6), LV_PART_SCROLLBAR|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_home_ta_1, LV_GRAD_DIR_NONE, LV_PART_SCROLLBAR|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_home_ta_1, 0, LV_PART_SCROLLBAR|LV_STATE_DEFAULT);
//Write codes screen_home_label_4
ui->screen_home_label_4 = lv_label_create(ui->screen_home_tabview_2_tab_1);
lv_label_set_text(ui->screen_home_label_4, "帧ID(HEX):");
lv_label_set_long_mode(ui->screen_home_label_4, LV_LABEL_LONG_WRAP);
lv_obj_set_pos(ui->screen_home_label_4, 203, 38);
lv_obj_set_size(ui->screen_home_label_4, 104, 19);
//Write style for screen_home_label_4, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_text_color(ui->screen_home_label_4, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_home_label_4, &lv_font_GB2312_16, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_home_label_4, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_home_label_4, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_home_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_home_label_4, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_width(ui->screen_home_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_home_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_home_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_home_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_home_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_home_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_home_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_home_label_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_home_ddlist_3
ui->screen_home_ddlist_3 = lv_dropdown_create(ui->screen_home_tabview_2_tab_1);
lv_dropdown_set_options(ui->screen_home_ddlist_3, "数据帧\n远程帧");
lv_obj_set_pos(ui->screen_home_ddlist_3, 58, 65);
lv_obj_set_size(ui->screen_home_ddlist_3, 94, 30);
//Write style for screen_home_ddlist_3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_home_ddlist_3, 1, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_home_ddlist_3, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_home_ddlist_3, lv_color_hex(0xe1e6ee), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_home_ddlist_3, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_home_ddlist_3, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_home_ddlist_3, lv_color_hex(0x0D3055), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_home_ddlist_3, &lv_font_GB2312_16, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_home_ddlist_3, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_home_ddlist_3, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_home_ddlist_3, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_home_ddlist_3, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_home_ddlist_3, 8, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_home_ddlist_3, 6, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_home_ddlist_3, 6, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_home_ddlist_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write style for screen_home_ddlist_3, Part: LV_PART_MAIN, State: LV_STATE_FOCUSED.
lv_obj_set_style_text_color(ui->screen_home_ddlist_3, lv_color_hex(0x0D3055), LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_text_font(ui->screen_home_ddlist_3, &lv_font_GB2312_16, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_text_opa(ui->screen_home_ddlist_3, 255, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_border_width(ui->screen_home_ddlist_3, 1, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_border_opa(ui->screen_home_ddlist_3, 255, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_border_color(ui->screen_home_ddlist_3, lv_color_hex(0xe1e6ee), LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_border_side(ui->screen_home_ddlist_3, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_pad_top(ui->screen_home_ddlist_3, 8, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_pad_left(ui->screen_home_ddlist_3, 6, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_pad_right(ui->screen_home_ddlist_3, 6, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_radius(ui->screen_home_ddlist_3, 3, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_bg_opa(ui->screen_home_ddlist_3, 255, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_bg_color(ui->screen_home_ddlist_3, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_bg_grad_dir(ui->screen_home_ddlist_3, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_shadow_width(ui->screen_home_ddlist_3, 0, LV_PART_MAIN|LV_STATE_FOCUSED);
//Write style state: LV_STATE_CHECKED for &style_screen_home_ddlist_3_extra_list_selected_checked
static lv_style_t style_screen_home_ddlist_3_extra_list_selected_checked;
ui_init_style(&style_screen_home_ddlist_3_extra_list_selected_checked);
lv_style_set_border_width(&style_screen_home_ddlist_3_extra_list_selected_checked, 1);
lv_style_set_border_opa(&style_screen_home_ddlist_3_extra_list_selected_checked, 255);
lv_style_set_border_color(&style_screen_home_ddlist_3_extra_list_selected_checked, lv_color_hex(0xe1e6ee));
lv_style_set_border_side(&style_screen_home_ddlist_3_extra_list_selected_checked, LV_BORDER_SIDE_FULL);
lv_style_set_radius(&style_screen_home_ddlist_3_extra_list_selected_checked, 3);
lv_style_set_bg_opa(&style_screen_home_ddlist_3_extra_list_selected_checked, 255);
lv_style_set_bg_color(&style_screen_home_ddlist_3_extra_list_selected_checked, lv_color_hex(0x00a1b5));
lv_style_set_bg_grad_dir(&style_screen_home_ddlist_3_extra_list_selected_checked, LV_GRAD_DIR_NONE);
lv_obj_add_style(lv_dropdown_get_list(ui->screen_home_ddlist_3), &style_screen_home_ddlist_3_extra_list_selected_checked, LV_PART_SELECTED|LV_STATE_CHECKED);
//Write style state: LV_STATE_DEFAULT for &style_screen_home_ddlist_3_extra_list_main_default
static lv_style_t style_screen_home_ddlist_3_extra_list_main_default;
ui_init_style(&style_screen_home_ddlist_3_extra_list_main_default);
lv_style_set_max_height(&style_screen_home_ddlist_3_extra_list_main_default, 90);
lv_style_set_text_color(&style_screen_home_ddlist_3_extra_list_main_default, lv_color_hex(0x0D3055));
lv_style_set_text_font(&style_screen_home_ddlist_3_extra_list_main_default, &lv_font_GB2312_12);
lv_style_set_text_opa(&style_screen_home_ddlist_3_extra_list_main_default, 255);
lv_style_set_border_width(&style_screen_home_ddlist_3_extra_list_main_default, 1);
lv_style_set_border_opa(&style_screen_home_ddlist_3_extra_list_main_default, 255);
lv_style_set_border_color(&style_screen_home_ddlist_3_extra_list_main_default, lv_color_hex(0xe1e6ee));
lv_style_set_border_side(&style_screen_home_ddlist_3_extra_list_main_default, LV_BORDER_SIDE_FULL);
lv_style_set_radius(&style_screen_home_ddlist_3_extra_list_main_default, 3);
lv_style_set_bg_opa(&style_screen_home_ddlist_3_extra_list_main_default, 255);
lv_style_set_bg_color(&style_screen_home_ddlist_3_extra_list_main_default, lv_color_hex(0xffffff));
lv_style_set_bg_grad_dir(&style_screen_home_ddlist_3_extra_list_main_default, LV_GRAD_DIR_NONE);
lv_obj_add_style(lv_dropdown_get_list(ui->screen_home_ddlist_3), &style_screen_home_ddlist_3_extra_list_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write style state: LV_STATE_DEFAULT for &style_screen_home_ddlist_3_extra_list_scrollbar_default
static lv_style_t style_screen_home_ddlist_3_extra_list_scrollbar_default;
ui_init_style(&style_screen_home_ddlist_3_extra_list_scrollbar_default);
lv_style_set_radius(&style_screen_home_ddlist_3_extra_list_scrollbar_default, 3);
lv_style_set_bg_opa(&style_screen_home_ddlist_3_extra_list_scrollbar_default, 255);
lv_style_set_bg_color(&style_screen_home_ddlist_3_extra_list_scrollbar_default, lv_color_hex(0x00ff00));
lv_style_set_bg_grad_dir(&style_screen_home_ddlist_3_extra_list_scrollbar_default, LV_GRAD_DIR_NONE);
lv_obj_add_style(lv_dropdown_get_list(ui->screen_home_ddlist_3), &style_screen_home_ddlist_3_extra_list_scrollbar_default, LV_PART_SCROLLBAR|LV_STATE_DEFAULT);
//Write codes screen_home_label_3
ui->screen_home_label_3 = lv_label_create(ui->screen_home_tabview_2_tab_1);
lv_label_set_text(ui->screen_home_label_3, "帧格式:");
lv_label_set_long_mode(ui->screen_home_label_3, LV_LABEL_LONG_WRAP);
lv_obj_set_pos(ui->screen_home_label_3, -16, 70);
lv_obj_set_size(ui->screen_home_label_3, 77, 19);
//Write style for screen_home_label_3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_text_color(ui->screen_home_label_3, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_home_label_3, &lv_font_GB2312_18, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_home_label_3, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_home_label_3, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_home_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_home_label_3, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_width(ui->screen_home_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_home_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_home_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_home_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_home_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_home_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_home_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_home_label_3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_home_ddlist_2
ui->screen_home_ddlist_2 = lv_dropdown_create(ui->screen_home_tabview_2_tab_1);
lv_dropdown_set_options(ui->screen_home_ddlist_2, "标准帧\n扩展帧");
lv_obj_set_pos(ui->screen_home_ddlist_2, 58, 25);
lv_obj_set_size(ui->screen_home_ddlist_2, 95, 30);
//Write style for screen_home_ddlist_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_home_ddlist_2, 1, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_home_ddlist_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_home_ddlist_2, lv_color_hex(0xe1e6ee), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_home_ddlist_2, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_home_ddlist_2, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_home_ddlist_2, lv_color_hex(0x0D3055), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_home_ddlist_2, &lv_font_GB2312_16, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_home_ddlist_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_home_ddlist_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_home_ddlist_2, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_home_ddlist_2, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_home_ddlist_2, 8, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_home_ddlist_2, 6, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_home_ddlist_2, 6, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_home_ddlist_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write style for screen_home_ddlist_2, Part: LV_PART_MAIN, State: LV_STATE_CHECKED.
lv_obj_set_style_border_width(ui->screen_home_ddlist_2, 1, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_border_opa(ui->screen_home_ddlist_2, 255, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_border_color(ui->screen_home_ddlist_2, lv_color_hex(0xe1e6ee), LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_border_side(ui->screen_home_ddlist_2, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_radius(ui->screen_home_ddlist_2, 3, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_text_color(ui->screen_home_ddlist_2, lv_color_hex(0x0D3055), LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_text_font(ui->screen_home_ddlist_2, &lv_font_GB2312_16, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_text_opa(ui->screen_home_ddlist_2, 255, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_bg_opa(ui->screen_home_ddlist_2, 255, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_bg_color(ui->screen_home_ddlist_2, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_bg_grad_dir(ui->screen_home_ddlist_2, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_pad_top(ui->screen_home_ddlist_2, 8, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_pad_right(ui->screen_home_ddlist_2, 6, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_pad_left(ui->screen_home_ddlist_2, 6, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_shadow_width(ui->screen_home_ddlist_2, 0, LV_PART_MAIN|LV_STATE_CHECKED);
//Write style for screen_home_ddlist_2, Part: LV_PART_MAIN, State: LV_STATE_FOCUSED.
lv_obj_set_style_text_color(ui->screen_home_ddlist_2, lv_color_hex(0x0D3055), LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_text_font(ui->screen_home_ddlist_2, &lv_font_GB2312_16, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_text_opa(ui->screen_home_ddlist_2, 255, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_border_width(ui->screen_home_ddlist_2, 1, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_border_opa(ui->screen_home_ddlist_2, 255, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_border_color(ui->screen_home_ddlist_2, lv_color_hex(0xe1e6ee), LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_border_side(ui->screen_home_ddlist_2, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_pad_top(ui->screen_home_ddlist_2, 8, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_pad_left(ui->screen_home_ddlist_2, 6, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_pad_right(ui->screen_home_ddlist_2, 6, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_radius(ui->screen_home_ddlist_2, 3, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_bg_opa(ui->screen_home_ddlist_2, 255, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_bg_color(ui->screen_home_ddlist_2, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_bg_grad_dir(ui->screen_home_ddlist_2, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_shadow_width(ui->screen_home_ddlist_2, 0, LV_PART_MAIN|LV_STATE_FOCUSED);
//Write style state: LV_STATE_CHECKED for &style_screen_home_ddlist_2_extra_list_selected_checked
static lv_style_t style_screen_home_ddlist_2_extra_list_selected_checked;
ui_init_style(&style_screen_home_ddlist_2_extra_list_selected_checked);
lv_style_set_border_width(&style_screen_home_ddlist_2_extra_list_selected_checked, 1);
lv_style_set_border_opa(&style_screen_home_ddlist_2_extra_list_selected_checked, 255);
lv_style_set_border_color(&style_screen_home_ddlist_2_extra_list_selected_checked, lv_color_hex(0xe1e6ee));
lv_style_set_border_side(&style_screen_home_ddlist_2_extra_list_selected_checked, LV_BORDER_SIDE_FULL);
lv_style_set_radius(&style_screen_home_ddlist_2_extra_list_selected_checked, 3);
lv_style_set_bg_opa(&style_screen_home_ddlist_2_extra_list_selected_checked, 255);
lv_style_set_bg_color(&style_screen_home_ddlist_2_extra_list_selected_checked, lv_color_hex(0x00a1b5));
lv_style_set_bg_grad_dir(&style_screen_home_ddlist_2_extra_list_selected_checked, LV_GRAD_DIR_NONE);
lv_obj_add_style(lv_dropdown_get_list(ui->screen_home_ddlist_2), &style_screen_home_ddlist_2_extra_list_selected_checked, LV_PART_SELECTED|LV_STATE_CHECKED);
//Write style state: LV_STATE_DEFAULT for &style_screen_home_ddlist_2_extra_list_main_default
static lv_style_t style_screen_home_ddlist_2_extra_list_main_default;
ui_init_style(&style_screen_home_ddlist_2_extra_list_main_default);
lv_style_set_max_height(&style_screen_home_ddlist_2_extra_list_main_default, 90);
lv_style_set_text_color(&style_screen_home_ddlist_2_extra_list_main_default, lv_color_hex(0x0D3055));
lv_style_set_text_font(&style_screen_home_ddlist_2_extra_list_main_default, &lv_font_GB2312_12);
lv_style_set_text_opa(&style_screen_home_ddlist_2_extra_list_main_default, 255);
lv_style_set_border_width(&style_screen_home_ddlist_2_extra_list_main_default, 1);
lv_style_set_border_opa(&style_screen_home_ddlist_2_extra_list_main_default, 255);
lv_style_set_border_color(&style_screen_home_ddlist_2_extra_list_main_default, lv_color_hex(0xe1e6ee));
lv_style_set_border_side(&style_screen_home_ddlist_2_extra_list_main_default, LV_BORDER_SIDE_FULL);
lv_style_set_radius(&style_screen_home_ddlist_2_extra_list_main_default, 3);
lv_style_set_bg_opa(&style_screen_home_ddlist_2_extra_list_main_default, 255);
lv_style_set_bg_color(&style_screen_home_ddlist_2_extra_list_main_default, lv_color_hex(0xffffff));
lv_style_set_bg_grad_dir(&style_screen_home_ddlist_2_extra_list_main_default, LV_GRAD_DIR_NONE);
lv_obj_add_style(lv_dropdown_get_list(ui->screen_home_ddlist_2), &style_screen_home_ddlist_2_extra_list_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write style state: LV_STATE_DEFAULT for &style_screen_home_ddlist_2_extra_list_scrollbar_default
static lv_style_t style_screen_home_ddlist_2_extra_list_scrollbar_default;
ui_init_style(&style_screen_home_ddlist_2_extra_list_scrollbar_default);
lv_style_set_radius(&style_screen_home_ddlist_2_extra_list_scrollbar_default, 3);
lv_style_set_bg_opa(&style_screen_home_ddlist_2_extra_list_scrollbar_default, 255);
lv_style_set_bg_color(&style_screen_home_ddlist_2_extra_list_scrollbar_default, lv_color_hex(0x00ff00));
lv_style_set_bg_grad_dir(&style_screen_home_ddlist_2_extra_list_scrollbar_default, LV_GRAD_DIR_NONE);
lv_obj_add_style(lv_dropdown_get_list(ui->screen_home_ddlist_2), &style_screen_home_ddlist_2_extra_list_scrollbar_default, LV_PART_SCROLLBAR|LV_STATE_DEFAULT);
//Write codes screen_home_label_2
ui->screen_home_label_2 = lv_label_create(ui->screen_home_tabview_2_tab_1);
lv_label_set_text(ui->screen_home_label_2, "帧类型:");
lv_label_set_long_mode(ui->screen_home_label_2, LV_LABEL_LONG_WRAP);
lv_obj_set_pos(ui->screen_home_label_2, -18, 31);
lv_obj_set_size(ui->screen_home_label_2, 73, 19);
//Write style for screen_home_label_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_text_color(ui->screen_home_label_2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_home_label_2, &lv_font_GB2312_18, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_home_label_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_home_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_home_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_home_label_2, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_width(ui->screen_home_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_home_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_home_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_home_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_home_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_home_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_home_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_home_label_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_home_ddlist_1
ui->screen_home_ddlist_1 = lv_dropdown_create(ui->screen_home_tabview_2_tab_1);
lv_dropdown_set_options(ui->screen_home_ddlist_1, "正常发送\n单次发送\n自发自收");
lv_obj_set_pos(ui->screen_home_ddlist_1, 80, -10);
lv_obj_set_size(ui->screen_home_ddlist_1, 108, 30);
//Write style for screen_home_ddlist_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_home_ddlist_1, 1, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_home_ddlist_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_home_ddlist_1, lv_color_hex(0xe1e6ee), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_home_ddlist_1, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_home_ddlist_1, 3, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_home_ddlist_1, lv_color_hex(0x0D3055), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_home_ddlist_1, &lv_font_GB2312_16, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_home_ddlist_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_home_ddlist_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_home_ddlist_1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_home_ddlist_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_home_ddlist_1, 8, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_home_ddlist_1, 6, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_home_ddlist_1, 6, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_home_ddlist_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write style for screen_home_ddlist_1, Part: LV_PART_MAIN, State: LV_STATE_CHECKED.
lv_obj_set_style_border_width(ui->screen_home_ddlist_1, 1, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_border_opa(ui->screen_home_ddlist_1, 255, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_border_color(ui->screen_home_ddlist_1, lv_color_hex(0xe1e6ee), LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_border_side(ui->screen_home_ddlist_1, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_radius(ui->screen_home_ddlist_1, 3, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_text_color(ui->screen_home_ddlist_1, lv_color_hex(0x0D3055), LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_text_font(ui->screen_home_ddlist_1, &lv_font_GB2312_16, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_text_opa(ui->screen_home_ddlist_1, 255, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_bg_opa(ui->screen_home_ddlist_1, 255, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_bg_color(ui->screen_home_ddlist_1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_bg_grad_dir(ui->screen_home_ddlist_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_pad_top(ui->screen_home_ddlist_1, 8, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_pad_right(ui->screen_home_ddlist_1, 6, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_pad_left(ui->screen_home_ddlist_1, 6, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_shadow_width(ui->screen_home_ddlist_1, 0, LV_PART_MAIN|LV_STATE_CHECKED);
//Write style for screen_home_ddlist_1, Part: LV_PART_MAIN, State: LV_STATE_FOCUSED.
lv_obj_set_style_text_color(ui->screen_home_ddlist_1, lv_color_hex(0x0D3055), LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_text_font(ui->screen_home_ddlist_1, &lv_font_GB2312_16, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_text_opa(ui->screen_home_ddlist_1, 255, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_border_width(ui->screen_home_ddlist_1, 1, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_border_opa(ui->screen_home_ddlist_1, 255, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_border_color(ui->screen_home_ddlist_1, lv_color_hex(0xe1e6ee), LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_border_side(ui->screen_home_ddlist_1, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_pad_top(ui->screen_home_ddlist_1, 8, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_pad_left(ui->screen_home_ddlist_1, 6, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_pad_right(ui->screen_home_ddlist_1, 6, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_radius(ui->screen_home_ddlist_1, 3, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_bg_opa(ui->screen_home_ddlist_1, 255, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_bg_color(ui->screen_home_ddlist_1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_bg_grad_dir(ui->screen_home_ddlist_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_shadow_width(ui->screen_home_ddlist_1, 0, LV_PART_MAIN|LV_STATE_FOCUSED);
//Write style for screen_home_ddlist_1, Part: LV_PART_MAIN, State: LV_STATE_DISABLED.
lv_obj_set_style_text_color(ui->screen_home_ddlist_1, lv_color_hex(0x0D3055), LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_text_font(ui->screen_home_ddlist_1, &lv_font_FontAwesome5_12, LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_text_opa(ui->screen_home_ddlist_1, 255, LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_border_width(ui->screen_home_ddlist_1, 1, LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_border_opa(ui->screen_home_ddlist_1, 255, LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_border_color(ui->screen_home_ddlist_1, lv_color_hex(0xe1e6ee), LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_border_side(ui->screen_home_ddlist_1, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_pad_top(ui->screen_home_ddlist_1, 8, LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_pad_left(ui->screen_home_ddlist_1, 6, LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_pad_right(ui->screen_home_ddlist_1, 6, LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_radius(ui->screen_home_ddlist_1, 3, LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_bg_opa(ui->screen_home_ddlist_1, 255, LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_bg_color(ui->screen_home_ddlist_1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_bg_grad_dir(ui->screen_home_ddlist_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_shadow_width(ui->screen_home_ddlist_1, 0, LV_PART_MAIN|LV_STATE_DISABLED);
//Write style state: LV_STATE_CHECKED for &style_screen_home_ddlist_1_extra_list_selected_checked
static lv_style_t style_screen_home_ddlist_1_extra_list_selected_checked;
ui_init_style(&style_screen_home_ddlist_1_extra_list_selected_checked);
lv_style_set_border_width(&style_screen_home_ddlist_1_extra_list_selected_checked, 1);
lv_style_set_border_opa(&style_screen_home_ddlist_1_extra_list_selected_checked, 255);
lv_style_set_border_color(&style_screen_home_ddlist_1_extra_list_selected_checked, lv_color_hex(0xe1e6ee));
lv_style_set_border_side(&style_screen_home_ddlist_1_extra_list_selected_checked, LV_BORDER_SIDE_FULL);
lv_style_set_radius(&style_screen_home_ddlist_1_extra_list_selected_checked, 3);
lv_style_set_bg_opa(&style_screen_home_ddlist_1_extra_list_selected_checked, 255);
lv_style_set_bg_color(&style_screen_home_ddlist_1_extra_list_selected_checked, lv_color_hex(0x00a1b5));
lv_style_set_bg_grad_dir(&style_screen_home_ddlist_1_extra_list_selected_checked, LV_GRAD_DIR_NONE);
lv_obj_add_style(lv_dropdown_get_list(ui->screen_home_ddlist_1), &style_screen_home_ddlist_1_extra_list_selected_checked, LV_PART_SELECTED|LV_STATE_CHECKED);
//Write style state: LV_STATE_DEFAULT for &style_screen_home_ddlist_1_extra_list_main_default
static lv_style_t style_screen_home_ddlist_1_extra_list_main_default;
ui_init_style(&style_screen_home_ddlist_1_extra_list_main_default);
lv_style_set_max_height(&style_screen_home_ddlist_1_extra_list_main_default, 90);
lv_style_set_text_color(&style_screen_home_ddlist_1_extra_list_main_default, lv_color_hex(0x0D3055));
lv_style_set_text_font(&style_screen_home_ddlist_1_extra_list_main_default, &lv_font_GB2312_12);
lv_style_set_text_opa(&style_screen_home_ddlist_1_extra_list_main_default, 255);
lv_style_set_border_width(&style_screen_home_ddlist_1_extra_list_main_default, 1);
lv_style_set_border_opa(&style_screen_home_ddlist_1_extra_list_main_default, 255);
lv_style_set_border_color(&style_screen_home_ddlist_1_extra_list_main_default, lv_color_hex(0xe1e6ee));
lv_style_set_border_side(&style_screen_home_ddlist_1_extra_list_main_default, LV_BORDER_SIDE_FULL);
lv_style_set_radius(&style_screen_home_ddlist_1_extra_list_main_default, 3);
lv_style_set_bg_opa(&style_screen_home_ddlist_1_extra_list_main_default, 255);
lv_style_set_bg_color(&style_screen_home_ddlist_1_extra_list_main_default, lv_color_hex(0xffffff));
lv_style_set_bg_grad_dir(&style_screen_home_ddlist_1_extra_list_main_default, LV_GRAD_DIR_NONE);
lv_obj_add_style(lv_dropdown_get_list(ui->screen_home_ddlist_1), &style_screen_home_ddlist_1_extra_list_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write style state: LV_STATE_DEFAULT for &style_screen_home_ddlist_1_extra_list_scrollbar_default
static lv_style_t style_screen_home_ddlist_1_extra_list_scrollbar_default;
ui_init_style(&style_screen_home_ddlist_1_extra_list_scrollbar_default);
lv_style_set_radius(&style_screen_home_ddlist_1_extra_list_scrollbar_default, 3);
lv_style_set_bg_opa(&style_screen_home_ddlist_1_extra_list_scrollbar_default, 255);
lv_style_set_bg_color(&style_screen_home_ddlist_1_extra_list_scrollbar_default, lv_color_hex(0x00ff00));
lv_style_set_bg_grad_dir(&style_screen_home_ddlist_1_extra_list_scrollbar_default, LV_GRAD_DIR_NONE);
lv_obj_add_style(lv_dropdown_get_list(ui->screen_home_ddlist_1), &style_screen_home_ddlist_1_extra_list_scrollbar_default, LV_PART_SCROLLBAR|LV_STATE_DEFAULT);
//Write codes screen_home_label_1
ui->screen_home_label_1 = lv_label_create(ui->screen_home_tabview_2_tab_1);
lv_label_set_text(ui->screen_home_label_1, "发送方式:");
lv_label_set_long_mode(ui->screen_home_label_1, LV_LABEL_LONG_WRAP);
lv_obj_set_pos(ui->screen_home_label_1, -13, -5);
lv_obj_set_size(ui->screen_home_label_1, 103, 19);
//Write style for screen_home_label_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_bg_opa(ui->screen_home_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_home_label_1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_home_label_1, &lv_font_GB2312_18, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_home_label_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_home_label_1, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_home_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_home_label_1, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_width(ui->screen_home_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_home_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_home_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_home_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_home_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_home_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_home_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes 高级操作
ui->screen_home_tabview_2_tab_2 = lv_tabview_add_tab(ui->screen_home_tabview_2,"高级操作");
lv_obj_t * screen_home_tabview_2_tab_2_label = lv_label_create(ui->screen_home_tabview_2_tab_2);
lv_label_set_text(screen_home_tabview_2_tab_2_label, "con2");
//Write codes screen_home_tabview_1
ui->screen_home_tabview_1 = lv_tabview_create(ui->screen_home, LV_DIR_TOP, 50);
lv_obj_set_pos(ui->screen_home_tabview_1, 0, 0);
lv_obj_set_size(ui->screen_home_tabview_1, 903, 660);
lv_obj_set_scrollbar_mode(ui->screen_home_tabview_1, LV_SCROLLBAR_MODE_OFF);
//Write style for screen_home_tabview_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_bg_opa(ui->screen_home_tabview_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_home_tabview_1, lv_color_hex(0xeaeff3), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_home_tabview_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_home_tabview_1, lv_color_hex(0x4d4d4d), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_home_tabview_1, &lv_font_GB2312_16, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_home_tabview_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_home_tabview_1, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_home_tabview_1, 16, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_width(ui->screen_home_tabview_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_home_tabview_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_home_tabview_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write style state: LV_STATE_DEFAULT for &style_screen_home_tabview_1_extra_btnm_main_default
static lv_style_t style_screen_home_tabview_1_extra_btnm_main_default;
ui_init_style(&style_screen_home_tabview_1_extra_btnm_main_default);
lv_style_set_bg_opa(&style_screen_home_tabview_1_extra_btnm_main_default, 255);
lv_style_set_bg_color(&style_screen_home_tabview_1_extra_btnm_main_default, lv_color_hex(0xffffff));
lv_style_set_bg_grad_dir(&style_screen_home_tabview_1_extra_btnm_main_default, LV_GRAD_DIR_NONE);
lv_style_set_border_width(&style_screen_home_tabview_1_extra_btnm_main_default, 0);
lv_style_set_radius(&style_screen_home_tabview_1_extra_btnm_main_default, 0);
lv_obj_add_style(lv_tabview_get_tab_btns(ui->screen_home_tabview_1), &style_screen_home_tabview_1_extra_btnm_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write style state: LV_STATE_DEFAULT for &style_screen_home_tabview_1_extra_btnm_items_default
static lv_style_t style_screen_home_tabview_1_extra_btnm_items_default;
ui_init_style(&style_screen_home_tabview_1_extra_btnm_items_default);
lv_style_set_text_color(&style_screen_home_tabview_1_extra_btnm_items_default, lv_color_hex(0x4d4d4d));
lv_style_set_text_font(&style_screen_home_tabview_1_extra_btnm_items_default, &lv_font_GB2312_12);
lv_style_set_text_opa(&style_screen_home_tabview_1_extra_btnm_items_default, 255);
lv_obj_add_style(lv_tabview_get_tab_btns(ui->screen_home_tabview_1), &style_screen_home_tabview_1_extra_btnm_items_default, LV_PART_ITEMS|LV_STATE_DEFAULT);
//Write style state: LV_STATE_CHECKED for &style_screen_home_tabview_1_extra_btnm_items_checked
static lv_style_t style_screen_home_tabview_1_extra_btnm_items_checked;
ui_init_style(&style_screen_home_tabview_1_extra_btnm_items_checked);
lv_style_set_text_color(&style_screen_home_tabview_1_extra_btnm_items_checked, lv_color_hex(0x2195f6));
lv_style_set_text_font(&style_screen_home_tabview_1_extra_btnm_items_checked, &lv_font_GB2312_12);
lv_style_set_text_opa(&style_screen_home_tabview_1_extra_btnm_items_checked, 255);
lv_style_set_border_width(&style_screen_home_tabview_1_extra_btnm_items_checked, 4);
lv_style_set_border_opa(&style_screen_home_tabview_1_extra_btnm_items_checked, 255);
lv_style_set_border_color(&style_screen_home_tabview_1_extra_btnm_items_checked, lv_color_hex(0x2195f6));
lv_style_set_border_side(&style_screen_home_tabview_1_extra_btnm_items_checked, LV_BORDER_SIDE_BOTTOM);
lv_style_set_radius(&style_screen_home_tabview_1_extra_btnm_items_checked, 0);
lv_style_set_bg_opa(&style_screen_home_tabview_1_extra_btnm_items_checked, 60);
lv_style_set_bg_color(&style_screen_home_tabview_1_extra_btnm_items_checked, lv_color_hex(0x2195f6));
lv_style_set_bg_grad_dir(&style_screen_home_tabview_1_extra_btnm_items_checked, LV_GRAD_DIR_NONE);
lv_obj_add_style(lv_tabview_get_tab_btns(ui->screen_home_tabview_1), &style_screen_home_tabview_1_extra_btnm_items_checked, LV_PART_ITEMS|LV_STATE_CHECKED);
//Write codes CAN0
ui->screen_home_tabview_1_tab_1 = lv_tabview_add_tab(ui->screen_home_tabview_1,"CAN0");
lv_obj_t * screen_home_tabview_1_tab_1_label = lv_label_create(ui->screen_home_tabview_1_tab_1);
lv_label_set_text(screen_home_tabview_1_tab_1_label, "");
//Write codes screen_home_table_1
ui->screen_home_table_1 = lv_table_create(ui->screen_home_tabview_1_tab_1);
lv_table_set_col_cnt(ui->screen_home_table_1,6);
lv_table_set_row_cnt(ui->screen_home_table_1,3);
lv_table_set_cell_value(ui->screen_home_table_1,0,0,"序号");
lv_table_set_cell_value(ui->screen_home_table_1,1,0,"0");
lv_table_set_cell_value(ui->screen_home_table_1,2,0,"1");
lv_table_set_cell_value(ui->screen_home_table_1,0,1,"传输方向");
lv_table_set_cell_value(ui->screen_home_table_1,1,1,"$1");
lv_table_set_cell_value(ui->screen_home_table_1,2,1,"$2");
lv_table_set_cell_value(ui->screen_home_table_1,0,2,"时间标识");
lv_table_set_cell_value(ui->screen_home_table_1,1,2,"0");
lv_table_set_cell_value(ui->screen_home_table_1,2,2,"0");
lv_table_set_cell_value(ui->screen_home_table_1,0,3,"帧ID");
lv_table_set_cell_value(ui->screen_home_table_1,1,3,"0");
lv_table_set_cell_value(ui->screen_home_table_1,2,3,"0");
lv_table_set_cell_value(ui->screen_home_table_1,0,4,"长度");
lv_table_set_cell_value(ui->screen_home_table_1,1,4,"0");
lv_table_set_cell_value(ui->screen_home_table_1,2,4,"0");
lv_table_set_cell_value(ui->screen_home_table_1,0,5,"数据");
lv_table_set_cell_value(ui->screen_home_table_1,1,5,"0");
lv_table_set_cell_value(ui->screen_home_table_1,2,5,"0");
lv_obj_set_pos(ui->screen_home_table_1, -16, 49);
lv_obj_set_scrollbar_mode(ui->screen_home_table_1, LV_SCROLLBAR_MODE_OFF);
//Write style for screen_home_table_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_pad_top(ui->screen_home_table_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_home_table_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_home_table_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_home_table_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_home_table_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_home_table_1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_home_table_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_width(ui->screen_home_table_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_home_table_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_home_table_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write style for screen_home_table_1, Part: LV_PART_ITEMS, State: LV_STATE_DEFAULT.
lv_obj_set_style_text_color(ui->screen_home_table_1, lv_color_hex(0x393c41), LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_home_table_1, &lv_font_GB2312_12, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_home_table_1, 255, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_home_table_1, LV_TEXT_ALIGN_CENTER, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_home_table_1, 0, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_border_width(ui->screen_home_table_1, 3, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_home_table_1, 255, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_home_table_1, lv_color_hex(0xd5dee6), LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_home_table_1, LV_BORDER_SIDE_FULL, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_home_table_1, 10, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_home_table_1, 10, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_home_table_1, 10, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_home_table_1, 10, LV_PART_ITEMS|LV_STATE_DEFAULT);
//Write codes screen_home_btnm_1
ui->screen_home_btnm_1 = lv_btnmatrix_create(ui->screen_home_tabview_1_tab_1);
static const char *screen_home_btnm_1_text_map[] = {"滤波设置", "启动", "停止", "清空", "保存", "实时保存", "DBC", "",};
lv_btnmatrix_set_map(ui->screen_home_btnm_1, screen_home_btnm_1_text_map);
lv_obj_set_pos(ui->screen_home_btnm_1, -13, -9);
lv_obj_set_size(ui->screen_home_btnm_1, 812, 49);
//Write style for screen_home_btnm_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_home_btnm_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_home_btnm_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_home_btnm_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_home_btnm_1, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_home_btnm_1, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_row(ui->screen_home_btnm_1, 8, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_column(ui->screen_home_btnm_1, 8, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_home_btnm_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_home_btnm_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_home_btnm_1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_home_btnm_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write style for screen_home_btnm_1, Part: LV_PART_MAIN, State: LV_STATE_FOCUSED.
lv_obj_set_style_border_width(ui->screen_home_btnm_1, 1, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_border_opa(ui->screen_home_btnm_1, 255, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_border_color(ui->screen_home_btnm_1, lv_color_hex(0xc9c9c9), LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_border_side(ui->screen_home_btnm_1, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_pad_top(ui->screen_home_btnm_1, 0, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_pad_bottom(ui->screen_home_btnm_1, 0, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_pad_left(ui->screen_home_btnm_1, 10, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_pad_right(ui->screen_home_btnm_1, 10, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_pad_row(ui->screen_home_btnm_1, 8, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_pad_column(ui->screen_home_btnm_1, 8, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_radius(ui->screen_home_btnm_1, 4, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_bg_opa(ui->screen_home_btnm_1, 255, LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_bg_color(ui->screen_home_btnm_1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_FOCUSED);
lv_obj_set_style_bg_grad_dir(ui->screen_home_btnm_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_FOCUSED);
//Write style for screen_home_btnm_1, Part: LV_PART_MAIN, State: LV_STATE_DISABLED.
lv_obj_set_style_border_width(ui->screen_home_btnm_1, 1, LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_border_opa(ui->screen_home_btnm_1, 255, LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_border_color(ui->screen_home_btnm_1, lv_color_hex(0xc9c9c9), LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_border_side(ui->screen_home_btnm_1, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_pad_top(ui->screen_home_btnm_1, 16, LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_pad_bottom(ui->screen_home_btnm_1, 16, LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_pad_left(ui->screen_home_btnm_1, 16, LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_pad_right(ui->screen_home_btnm_1, 16, LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_pad_row(ui->screen_home_btnm_1, 8, LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_pad_column(ui->screen_home_btnm_1, 8, LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_radius(ui->screen_home_btnm_1, 4, LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_bg_opa(ui->screen_home_btnm_1, 255, LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_bg_color(ui->screen_home_btnm_1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DISABLED);
lv_obj_set_style_bg_grad_dir(ui->screen_home_btnm_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DISABLED);
//Write style for screen_home_btnm_1, Part: LV_PART_ITEMS, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_home_btnm_1, 1, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_home_btnm_1, 255, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_home_btnm_1, lv_color_hex(0xc9c9c9), LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_home_btnm_1, LV_BORDER_SIDE_FULL, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_home_btnm_1, lv_color_hex(0xffffff), LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_home_btnm_1, &lv_font_GB2312_16, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_home_btnm_1, 255, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_home_btnm_1, 4, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_home_btnm_1, 255, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_home_btnm_1, lv_color_hex(0x2195f6), LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_home_btnm_1, LV_GRAD_DIR_NONE, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_home_btnm_1, 0, LV_PART_ITEMS|LV_STATE_DEFAULT);
//Write codes CAN1
ui->screen_home_tabview_1_tab_2 = lv_tabview_add_tab(ui->screen_home_tabview_1,"CAN1");
lv_obj_t * screen_home_tabview_1_tab_2_label = lv_label_create(ui->screen_home_tabview_1_tab_2);
lv_label_set_text(screen_home_tabview_1_tab_2_label, "");
//Write codes screen_home_btn_4
ui->screen_home_btn_4 = lv_btn_create(ui->screen_home_tabview_1_tab_2);
ui->screen_home_btn_4_label = lv_label_create(ui->screen_home_btn_4);
lv_label_set_text(ui->screen_home_btn_4_label, "Button");
lv_label_set_long_mode(ui->screen_home_btn_4_label, LV_LABEL_LONG_WRAP);
lv_obj_align(ui->screen_home_btn_4_label, LV_ALIGN_CENTER, 0, 0);
lv_obj_set_style_pad_all(ui->screen_home_btn_4, 0, LV_STATE_DEFAULT);
lv_obj_set_width(ui->screen_home_btn_4_label, LV_PCT(100));
lv_obj_set_pos(ui->screen_home_btn_4, 763, 520);
lv_obj_set_size(ui->screen_home_btn_4, 100, 50);
//Write style for screen_home_btn_4, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_bg_opa(ui->screen_home_btn_4, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_home_btn_4, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_home_btn_4, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_width(ui->screen_home_btn_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_home_btn_4, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_home_btn_4, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_home_btn_4, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_home_btn_4, &lv_font_GB2312_16, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_home_btn_4, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_home_btn_4, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_home_win_1
ui->screen_home_win_1 = lv_win_create(ui->screen_home, 40);
lv_obj_t * screen_home_win_1_title = lv_win_add_title(ui->screen_home_win_1, "title");
ui->screen_home_win_1_item0 = lv_win_add_btn(ui->screen_home_win_1, LV_SYMBOL_CLOSE, 40);
lv_obj_t *screen_home_win_1_label = lv_label_create(lv_win_get_content(ui->screen_home_win_1));
lv_label_set_text(screen_home_win_1_label, "this is a \nlong text \nto show \nscrollbar. \nif \nit \nis not \nlong enough, \nadd more content");
lv_obj_set_scrollbar_mode(lv_win_get_content(ui->screen_home_win_1), LV_SCROLLBAR_MODE_OFF);
lv_obj_set_pos(ui->screen_home_win_1, 369, 239);
lv_obj_set_size(ui->screen_home_win_1, 511, 287);
lv_obj_set_scrollbar_mode(ui->screen_home_win_1, LV_SCROLLBAR_MODE_OFF);
lv_obj_add_flag(ui->screen_home_win_1, LV_OBJ_FLAG_HIDDEN);
//Write style for screen_home_win_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_bg_opa(ui->screen_home_win_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_home_win_1, lv_color_hex(0xeeeef6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_home_win_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_outline_width(ui->screen_home_win_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_home_win_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write style state: LV_STATE_DEFAULT for &style_screen_home_win_1_extra_content_main_default
static lv_style_t style_screen_home_win_1_extra_content_main_default;
ui_init_style(&style_screen_home_win_1_extra_content_main_default);
lv_style_set_bg_opa(&style_screen_home_win_1_extra_content_main_default, 255);
lv_style_set_bg_color(&style_screen_home_win_1_extra_content_main_default, lv_color_hex(0xeeeef6));
lv_style_set_bg_grad_dir(&style_screen_home_win_1_extra_content_main_default, LV_GRAD_DIR_NONE);
lv_style_set_text_color(&style_screen_home_win_1_extra_content_main_default, lv_color_hex(0x393c41));
lv_style_set_text_font(&style_screen_home_win_1_extra_content_main_default, &lv_font_montserratMedium_12);
lv_style_set_text_opa(&style_screen_home_win_1_extra_content_main_default, 255);
lv_style_set_text_letter_space(&style_screen_home_win_1_extra_content_main_default, 0);
lv_style_set_text_line_space(&style_screen_home_win_1_extra_content_main_default, 2);
lv_obj_add_style(lv_win_get_content(ui->screen_home_win_1), &style_screen_home_win_1_extra_content_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write style state: LV_STATE_DEFAULT for &style_screen_home_win_1_extra_header_main_default
static lv_style_t style_screen_home_win_1_extra_header_main_default;
ui_init_style(&style_screen_home_win_1_extra_header_main_default);
lv_style_set_bg_opa(&style_screen_home_win_1_extra_header_main_default, 255);
lv_style_set_bg_color(&style_screen_home_win_1_extra_header_main_default, lv_color_hex(0xe6e6e6));
lv_style_set_bg_grad_dir(&style_screen_home_win_1_extra_header_main_default, LV_GRAD_DIR_NONE);
lv_style_set_text_color(&style_screen_home_win_1_extra_header_main_default, lv_color_hex(0x393c41));
lv_style_set_text_font(&style_screen_home_win_1_extra_header_main_default, &lv_font_montserratMedium_12);
lv_style_set_text_opa(&style_screen_home_win_1_extra_header_main_default, 255);
lv_style_set_text_letter_space(&style_screen_home_win_1_extra_header_main_default, 0);
lv_style_set_text_line_space(&style_screen_home_win_1_extra_header_main_default, 2);
lv_style_set_pad_top(&style_screen_home_win_1_extra_header_main_default, 5);
lv_style_set_pad_right(&style_screen_home_win_1_extra_header_main_default, 5);
lv_style_set_pad_bottom(&style_screen_home_win_1_extra_header_main_default, 5);
lv_style_set_pad_left(&style_screen_home_win_1_extra_header_main_default, 5);
lv_style_set_pad_column(&style_screen_home_win_1_extra_header_main_default, 5);
lv_obj_add_style(lv_win_get_header(ui->screen_home_win_1), &style_screen_home_win_1_extra_header_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write style state: LV_STATE_DEFAULT for &style_screen_home_win_1_extra_btns_main_default
static lv_style_t style_screen_home_win_1_extra_btns_main_default;
ui_init_style(&style_screen_home_win_1_extra_btns_main_default);
lv_style_set_radius(&style_screen_home_win_1_extra_btns_main_default, 8);
lv_style_set_border_width(&style_screen_home_win_1_extra_btns_main_default, 0);
lv_style_set_bg_opa(&style_screen_home_win_1_extra_btns_main_default, 255);
lv_style_set_bg_color(&style_screen_home_win_1_extra_btns_main_default, lv_color_hex(0x2195f6));
lv_style_set_bg_grad_dir(&style_screen_home_win_1_extra_btns_main_default, LV_GRAD_DIR_NONE);
lv_style_set_shadow_width(&style_screen_home_win_1_extra_btns_main_default, 0);
lv_obj_add_style(ui->screen_home_win_1_item0, &style_screen_home_win_1_extra_btns_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_home_led_1
ui->screen_home_led_1 = lv_led_create(ui->screen_home);
lv_led_set_brightness(ui->screen_home_led_1, 195);
lv_led_set_color(ui->screen_home_led_1, lv_color_hex(0x00fcff));
lv_obj_set_pos(ui->screen_home_led_1, 15, 679);
lv_obj_set_size(ui->screen_home_led_1, 42, 26);
//The custom code of screen_home.
//Update current screen layout.
lv_obj_update_layout(ui->screen_home);
//Init events for screen.
events_init_screen_home(ui);
}