Files
P4-USB-transfer/main/ui/generated/setup_scr_screen_Perpetual_Calendar.c
zhengxinandCursor 851e347cf5 初始提交卡包 USB 工程
纳入固件源码、屏幕组件、nand_xfer 工具和文档。忽略本机构建产物、sdkconfig,以及含本机路径的依赖锁。

Co-authored-by: Cursor <[email protected]>
2026-10-13 21:54:50 +08:00

233 lines
20 KiB
C

/*
* Copyright 2026 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_Perpetual_Calendar(lv_ui *ui)
{
//Write codes screen_Perpetual_Calendar
ui->screen_Perpetual_Calendar = lv_obj_create(NULL);
lv_obj_set_size(ui->screen_Perpetual_Calendar, 502, 410);
lv_obj_set_scrollbar_mode(ui->screen_Perpetual_Calendar, LV_SCROLLBAR_MODE_OFF);
//Write style for screen_Perpetual_Calendar, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_bg_opa(ui->screen_Perpetual_Calendar, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_Perpetual_Calendar, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_Perpetual_Calendar, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_Perpetual_Calendar_btn_PC_back
ui->screen_Perpetual_Calendar_btn_PC_back = lv_button_create(ui->screen_Perpetual_Calendar);
lv_obj_set_pos(ui->screen_Perpetual_Calendar_btn_PC_back, 25, 30);
lv_obj_set_size(ui->screen_Perpetual_Calendar_btn_PC_back, 100, 60);
ui->screen_Perpetual_Calendar_btn_PC_back_label = lv_label_create(ui->screen_Perpetual_Calendar_btn_PC_back);
lv_label_set_text(ui->screen_Perpetual_Calendar_btn_PC_back_label, "");
lv_label_set_long_mode(ui->screen_Perpetual_Calendar_btn_PC_back_label, LV_LABEL_LONG_WRAP);
lv_obj_align(ui->screen_Perpetual_Calendar_btn_PC_back_label, LV_ALIGN_CENTER, -40, 0);
lv_obj_set_style_pad_all(ui->screen_Perpetual_Calendar_btn_PC_back, 0, LV_STATE_DEFAULT);
lv_obj_set_width(ui->screen_Perpetual_Calendar_btn_PC_back_label, LV_PCT(100));
//Write style for screen_Perpetual_Calendar_btn_PC_back, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_bg_opa(ui->screen_Perpetual_Calendar_btn_PC_back, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_width(ui->screen_Perpetual_Calendar_btn_PC_back, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_Perpetual_Calendar_btn_PC_back, 17, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_Perpetual_Calendar_btn_PC_back, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_Perpetual_Calendar_btn_PC_back, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_Perpetual_Calendar_btn_PC_back, &lv_font_iconfont_25, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_Perpetual_Calendar_btn_PC_back, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_Perpetual_Calendar_btn_PC_back, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write style for screen_Perpetual_Calendar_btn_PC_back, Part: LV_PART_MAIN, State: LV_STATE_CHECKED.
lv_obj_set_style_bg_opa(ui->screen_Perpetual_Calendar_btn_PC_back, 255, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_bg_color(ui->screen_Perpetual_Calendar_btn_PC_back, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_bg_grad_dir(ui->screen_Perpetual_Calendar_btn_PC_back, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_border_width(ui->screen_Perpetual_Calendar_btn_PC_back, 0, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_radius(ui->screen_Perpetual_Calendar_btn_PC_back, 5, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_shadow_width(ui->screen_Perpetual_Calendar_btn_PC_back, 0, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_text_color(ui->screen_Perpetual_Calendar_btn_PC_back, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_text_font(ui->screen_Perpetual_Calendar_btn_PC_back, &lv_font_iconfont_25, LV_PART_MAIN|LV_STATE_CHECKED);
lv_obj_set_style_text_opa(ui->screen_Perpetual_Calendar_btn_PC_back, 255, LV_PART_MAIN|LV_STATE_CHECKED);
//Write codes screen_Perpetual_Calendar_label_day
ui->screen_Perpetual_Calendar_label_day = lv_label_create(ui->screen_Perpetual_Calendar);
lv_obj_set_pos(ui->screen_Perpetual_Calendar_label_day, 20, 71);
lv_obj_set_size(ui->screen_Perpetual_Calendar_label_day, 170, 112);
lv_label_set_text(ui->screen_Perpetual_Calendar_label_day, "08");
lv_label_set_long_mode(ui->screen_Perpetual_Calendar_label_day, LV_LABEL_LONG_WRAP);
//Write style for screen_Perpetual_Calendar_label_day, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_Perpetual_Calendar_label_day, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_Perpetual_Calendar_label_day, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_Perpetual_Calendar_label_day, lv_color_hex(0x66FFB6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_Perpetual_Calendar_label_day, &lv_font_montserrat_14, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_Perpetual_Calendar_label_day, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_Perpetual_Calendar_label_day, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_Perpetual_Calendar_label_day, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_Perpetual_Calendar_label_day, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_Perpetual_Calendar_label_day, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_Perpetual_Calendar_label_day, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_Perpetual_Calendar_label_day, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_Perpetual_Calendar_label_day, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_Perpetual_Calendar_label_day, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_Perpetual_Calendar_label_day, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_Perpetual_Calendar_label_Lunar_Calendar
ui->screen_Perpetual_Calendar_label_Lunar_Calendar = lv_label_create(ui->screen_Perpetual_Calendar);
lv_obj_set_pos(ui->screen_Perpetual_Calendar_label_Lunar_Calendar, 174, 66);
lv_obj_set_size(ui->screen_Perpetual_Calendar_label_Lunar_Calendar, 311, 66);
lv_label_set_text(ui->screen_Perpetual_Calendar_label_Lunar_Calendar, "冬月二十");
lv_label_set_long_mode(ui->screen_Perpetual_Calendar_label_Lunar_Calendar, LV_LABEL_LONG_WRAP);
//Write style for screen_Perpetual_Calendar_label_Lunar_Calendar, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_Perpetual_Calendar_label_Lunar_Calendar, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_Perpetual_Calendar_label_Lunar_Calendar, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_Perpetual_Calendar_label_Lunar_Calendar, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_Perpetual_Calendar_label_Lunar_Calendar, &lv_font_montserrat_14, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_Perpetual_Calendar_label_Lunar_Calendar, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_Perpetual_Calendar_label_Lunar_Calendar, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_Perpetual_Calendar_label_Lunar_Calendar, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_Perpetual_Calendar_label_Lunar_Calendar, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_Perpetual_Calendar_label_Lunar_Calendar, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_Perpetual_Calendar_label_Lunar_Calendar, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_Perpetual_Calendar_label_Lunar_Calendar, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_Perpetual_Calendar_label_Lunar_Calendar, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_Perpetual_Calendar_label_Lunar_Calendar, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_Perpetual_Calendar_label_Lunar_Calendar, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_Perpetual_Calendar_label_week
ui->screen_Perpetual_Calendar_label_week = lv_label_create(ui->screen_Perpetual_Calendar);
lv_obj_set_pos(ui->screen_Perpetual_Calendar_label_week, 174, 137);
lv_obj_set_size(ui->screen_Perpetual_Calendar_label_week, 100, 52);
lv_label_set_text(ui->screen_Perpetual_Calendar_label_week, "周四");
lv_label_set_long_mode(ui->screen_Perpetual_Calendar_label_week, LV_LABEL_LONG_WRAP);
//Write style for screen_Perpetual_Calendar_label_week, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_Perpetual_Calendar_label_week, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_Perpetual_Calendar_label_week, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_Perpetual_Calendar_label_week, lv_color_hex(0xfefefe), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_Perpetual_Calendar_label_week, &lv_font_montserrat_14, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_Perpetual_Calendar_label_week, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_Perpetual_Calendar_label_week, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_Perpetual_Calendar_label_week, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_Perpetual_Calendar_label_week, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_Perpetual_Calendar_label_week, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_Perpetual_Calendar_label_week, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_Perpetual_Calendar_label_week, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_Perpetual_Calendar_label_week, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_Perpetual_Calendar_label_week, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_Perpetual_Calendar_label_week, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_Perpetual_Calendar_label_Suitable
ui->screen_Perpetual_Calendar_label_Suitable = lv_label_create(ui->screen_Perpetual_Calendar);
lv_obj_set_pos(ui->screen_Perpetual_Calendar_label_Suitable, 32, 224);
lv_obj_set_size(ui->screen_Perpetual_Calendar_label_Suitable, 47, 42);
lv_label_set_text(ui->screen_Perpetual_Calendar_label_Suitable, "宜");
lv_label_set_long_mode(ui->screen_Perpetual_Calendar_label_Suitable, LV_LABEL_LONG_WRAP);
//Write style for screen_Perpetual_Calendar_label_Suitable, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_Perpetual_Calendar_label_Suitable, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_Perpetual_Calendar_label_Suitable, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_Perpetual_Calendar_label_Suitable, lv_color_hex(0x66FFB6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_Perpetual_Calendar_label_Suitable, &lv_font_montserrat_14, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_Perpetual_Calendar_label_Suitable, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_Perpetual_Calendar_label_Suitable, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_Perpetual_Calendar_label_Suitable, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_Perpetual_Calendar_label_Suitable, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_Perpetual_Calendar_label_Suitable, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_Perpetual_Calendar_label_Suitable, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_Perpetual_Calendar_label_Suitable, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_Perpetual_Calendar_label_Suitable, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_Perpetual_Calendar_label_Suitable, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_Perpetual_Calendar_label_Suitable, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_Perpetual_Calendar_label_Dos
ui->screen_Perpetual_Calendar_label_Dos = lv_label_create(ui->screen_Perpetual_Calendar);
lv_obj_set_pos(ui->screen_Perpetual_Calendar_label_Dos, 101, 224);
lv_obj_set_size(ui->screen_Perpetual_Calendar_label_Dos, 362, 42);
lv_label_set_text(ui->screen_Perpetual_Calendar_label_Dos, "嫁娶 祭祀 祈福 开光 ");
lv_label_set_long_mode(ui->screen_Perpetual_Calendar_label_Dos, LV_LABEL_LONG_WRAP);
//Write style for screen_Perpetual_Calendar_label_Dos, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_Perpetual_Calendar_label_Dos, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_Perpetual_Calendar_label_Dos, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_Perpetual_Calendar_label_Dos, lv_color_hex(0xf9f9f9), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_Perpetual_Calendar_label_Dos, &lv_font_montserrat_14, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_Perpetual_Calendar_label_Dos, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_Perpetual_Calendar_label_Dos, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_Perpetual_Calendar_label_Dos, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_Perpetual_Calendar_label_Dos, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_Perpetual_Calendar_label_Dos, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_Perpetual_Calendar_label_Dos, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_Perpetual_Calendar_label_Dos, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_Perpetual_Calendar_label_Dos, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_Perpetual_Calendar_label_Dos, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_Perpetual_Calendar_label_Dos, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_Perpetual_Calendar_label_Avoid
ui->screen_Perpetual_Calendar_label_Avoid = lv_label_create(ui->screen_Perpetual_Calendar);
lv_obj_set_pos(ui->screen_Perpetual_Calendar_label_Avoid, 32, 300);
lv_obj_set_size(ui->screen_Perpetual_Calendar_label_Avoid, 47, 42);
lv_label_set_text(ui->screen_Perpetual_Calendar_label_Avoid, "忌");
lv_label_set_long_mode(ui->screen_Perpetual_Calendar_label_Avoid, LV_LABEL_LONG_WRAP);
//Write style for screen_Perpetual_Calendar_label_Avoid, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_Perpetual_Calendar_label_Avoid, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_Perpetual_Calendar_label_Avoid, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_Perpetual_Calendar_label_Avoid, lv_color_hex(0xF2C553), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_Perpetual_Calendar_label_Avoid, &lv_font_montserrat_14, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_Perpetual_Calendar_label_Avoid, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_Perpetual_Calendar_label_Avoid, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_Perpetual_Calendar_label_Avoid, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_Perpetual_Calendar_label_Avoid, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_Perpetual_Calendar_label_Avoid, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_Perpetual_Calendar_label_Avoid, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_Perpetual_Calendar_label_Avoid, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_Perpetual_Calendar_label_Avoid, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_Perpetual_Calendar_label_Avoid, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_Perpetual_Calendar_label_Avoid, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_Perpetual_Calendar_label_Donts
ui->screen_Perpetual_Calendar_label_Donts = lv_label_create(ui->screen_Perpetual_Calendar);
lv_obj_set_pos(ui->screen_Perpetual_Calendar_label_Donts, 101, 300);
lv_obj_set_size(ui->screen_Perpetual_Calendar_label_Donts, 366, 42);
lv_label_set_text(ui->screen_Perpetual_Calendar_label_Donts, "掘井 安葬 栽种 出行");
lv_label_set_long_mode(ui->screen_Perpetual_Calendar_label_Donts, LV_LABEL_LONG_WRAP);
//Write style for screen_Perpetual_Calendar_label_Donts, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_Perpetual_Calendar_label_Donts, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_Perpetual_Calendar_label_Donts, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_Perpetual_Calendar_label_Donts, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_Perpetual_Calendar_label_Donts, &lv_font_montserrat_14, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_Perpetual_Calendar_label_Donts, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_Perpetual_Calendar_label_Donts, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_Perpetual_Calendar_label_Donts, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_Perpetual_Calendar_label_Donts, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_Perpetual_Calendar_label_Donts, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_Perpetual_Calendar_label_Donts, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_Perpetual_Calendar_label_Donts, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_Perpetual_Calendar_label_Donts, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_Perpetual_Calendar_label_Donts, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_Perpetual_Calendar_label_Donts, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//The custom code of screen_Perpetual_Calendar.
//Update current screen layout.
lv_obj_update_layout(ui->screen_Perpetual_Calendar);
//Init events for screen.
events_init_screen_Perpetual_Calendar(ui);
}