使用GUI-Guidir框架设计CANTest软件界面
This commit is contained in:
parent
b895ee1637
commit
1c93fbbb94
9
build.sh
Executable file
9
build.sh
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# 检查是否传入了 scp 参数
|
||||||
|
if [ "$1" == "scp" ]; then
|
||||||
|
# 执行 scp 命令,将 build/app 文件传输到远程服务器
|
||||||
|
scp /home/yu/Work_Space/App-lvgl-CANTest/build/bin/Home_KitAPP root@192.168.10.133:/root/
|
||||||
|
else
|
||||||
|
echo "Usage: ./build.sh scp"
|
||||||
|
fi
|
||||||
@ -84,8 +84,6 @@ static int fbfd = 0;
|
|||||||
#define FBIOBLANK FBIO_BLANK
|
#define FBIOBLANK FBIO_BLANK
|
||||||
#endif /* USE_BSD_FBDEV */
|
#endif /* USE_BSD_FBDEV */
|
||||||
|
|
||||||
#ifdef LV_DISP_MAX_NUM
|
|
||||||
|
|
||||||
typedef struct fbdev_lvgl_t_
|
typedef struct fbdev_lvgl_t_
|
||||||
{
|
{
|
||||||
const char* fbdev_path;
|
const char* fbdev_path;
|
||||||
@ -105,7 +103,7 @@ fbdev_lvgl_t fbdev_2={
|
|||||||
.fbfd = 0,
|
.fbfd = 0,
|
||||||
.fbp = 0,
|
.fbp = 0,
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/**********************
|
/**********************
|
||||||
|
|||||||
@ -4,6 +4,8 @@
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <linux/input.h>
|
#include <linux/input.h>
|
||||||
|
|
||||||
|
#if USE_KEYBOARD
|
||||||
|
|
||||||
int keyboard_fd = -1;
|
int keyboard_fd = -1;
|
||||||
int evdev_key_val;
|
int evdev_key_val;
|
||||||
int evdev_button;
|
int evdev_button;
|
||||||
@ -17,7 +19,7 @@ void keyboard_init(void)
|
|||||||
keyboard_fd = open(KEYBOARD_NAME, O_RDWR | O_NOCTTY | O_NDELAY);
|
keyboard_fd = open(KEYBOARD_NAME, O_RDWR | O_NOCTTY | O_NDELAY);
|
||||||
if(keyboard_fd == -1) {
|
if(keyboard_fd == -1) {
|
||||||
perror("unable to open evdev interface:");
|
perror("unable to open evdev interface:");
|
||||||
return false;
|
return ;
|
||||||
}
|
}
|
||||||
fcntl(keyboard_fd, F_SETFL, O_ASYNC | O_NONBLOCK);
|
fcntl(keyboard_fd, F_SETFL, O_ASYNC | O_NONBLOCK);
|
||||||
}
|
}
|
||||||
@ -92,3 +94,5 @@ void keyboard_read(lv_indev_drv_t * indev_drv, lv_indev_data_t * data)
|
|||||||
}
|
}
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|||||||
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*Color depth: 1 (1 byte per pixel), 8 (RGB332), 16 (RGB565), 32 (ARGB8888)*/
|
/*Color depth: 1 (1 byte per pixel), 8 (RGB332), 16 (RGB565), 32 (ARGB8888)*/
|
||||||
#define LV_COLOR_DEPTH 16
|
#define LV_COLOR_DEPTH 32
|
||||||
|
|
||||||
/*Swap the 2 bytes of RGB565 color. Useful if the display has a 8 bit interface (e.g. SPI)*/
|
/*Swap the 2 bytes of RGB565 color. Useful if the display has a 8 bit interface (e.g. SPI)*/
|
||||||
#define LV_COLOR_16_SWAP 0
|
#define LV_COLOR_16_SWAP 0
|
||||||
|
|||||||
@ -273,14 +273,16 @@
|
|||||||
*-----------------------------------------*/
|
*-----------------------------------------*/
|
||||||
#ifndef USE_FBDEV
|
#ifndef USE_FBDEV
|
||||||
# define USE_FBDEV 1
|
# define USE_FBDEV 1
|
||||||
#define LV_DISP_MAX_NUM 2
|
// #define LV_DISP_MAX_NUM 2
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if USE_FBDEV
|
#if USE_FBDEV
|
||||||
# define FBDEV_PATH "/dev/fb1"
|
# define FBDEV_PATH "/dev/fb0"
|
||||||
|
|
||||||
#if LV_DISP_MAX_NUM == 2
|
#if LV_DISP_MAX_NUM == 2
|
||||||
# define FBDEV_2_PATH "/dev/fb0"
|
# define FBDEV_2_PATH "/dev/fb0"
|
||||||
|
#else
|
||||||
|
# define FBDEV_2_PATH "/dev/fbx"
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -399,7 +401,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if USE_EVDEV || USE_BSD_EVDEV
|
#if USE_EVDEV || USE_BSD_EVDEV
|
||||||
# define EVDEV_NAME "/dev/input/event5" /*You can use the "evtest" Linux tool to get the list of devices and test them*/
|
# define EVDEV_NAME "/dev/input/event0" /*You can use the "evtest" Linux tool to get the list of devices and test them*/
|
||||||
# define EVDEV_SWAP_AXES 0 /*Swap the x and y axes of the touchscreen*/
|
# define EVDEV_SWAP_AXES 0 /*Swap the x and y axes of the touchscreen*/
|
||||||
|
|
||||||
# define EVDEV_CALIBRATE 0 /*Scale and offset the touchscreen coordinates by using maximum and minimum values for each axis*/
|
# define EVDEV_CALIBRATE 0 /*Scale and offset the touchscreen coordinates by using maximum and minimum values for each axis*/
|
||||||
@ -416,7 +418,7 @@
|
|||||||
* Keyboard of a PC (using SDL)
|
* Keyboard of a PC (using SDL)
|
||||||
*------------------------------*/
|
*------------------------------*/
|
||||||
#ifndef USE_KEYBOARD
|
#ifndef USE_KEYBOARD
|
||||||
# define USE_KEYBOARD 1
|
# define USE_KEYBOARD 0
|
||||||
#define KEYBOARD_NAME "/dev/input/event4" /*You can use the "evtest" Linux tool to get the list of devices and test them*/
|
#define KEYBOARD_NAME "/dev/input/event4" /*You can use the "evtest" Linux tool to get the list of devices and test them*/
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,10 @@ include_directories(${PROJECT_SOURCE_DIR}/components/libdrm/aach64/include)
|
|||||||
include_directories(${PROJECT_SOURCE_DIR}/components/libdrm/aach64/include/libdrm)
|
include_directories(${PROJECT_SOURCE_DIR}/components/libdrm/aach64/include/libdrm)
|
||||||
include_directories(${PROJECT_SOURCE_DIR}/components/lv_port/)
|
include_directories(${PROJECT_SOURCE_DIR}/components/lv_port/)
|
||||||
include_directories(${PROJECT_SOURCE_DIR}/main_app/include/)
|
include_directories(${PROJECT_SOURCE_DIR}/main_app/include/)
|
||||||
|
include_directories(${PROJECT_SOURCE_DIR}/components/lvgl/src)
|
||||||
|
include_directories(${PROJECT_SOURCE_DIR}/main_app/GUI-Guider/custom/)
|
||||||
|
include_directories(${PROJECT_SOURCE_DIR}/main_app/GUI-Guider/generated/)
|
||||||
|
include_directories(${PROJECT_SOURCE_DIR}/main_app/GUI-Guider/generated/guider_customer_fonts)
|
||||||
|
|
||||||
include_directories(${PROJECT_SOURCE_DIR}/components/lv_demos)
|
include_directories(${PROJECT_SOURCE_DIR}/components/lv_demos)
|
||||||
|
|
||||||
@ -28,12 +31,13 @@ else()
|
|||||||
link_directories(${PROJECT_SOURCE_DIR}/components/libusb/arm/lib)
|
link_directories(${PROJECT_SOURCE_DIR}/components/libusb/arm/lib)
|
||||||
link_directories(${PROJECT_SOURCE_DIR}/components/freetype/arm/lib)
|
link_directories(${PROJECT_SOURCE_DIR}/components/freetype/arm/lib)
|
||||||
include_directories(${PROJECT_SOURCE_DIR}/components/freetype/arm/include/freetype2)
|
include_directories(${PROJECT_SOURCE_DIR}/components/freetype/arm/include/freetype2)
|
||||||
|
link_directories(${PROJECT_SOURCE_DIR}/components/libdrm)
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
|
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
|
||||||
|
|
||||||
set(SRC_LIST main.c dir_Socket.c lvgl_task.c lvgl_app.c lvgl_indev.c mouse_cursor_icon.c)
|
set(SRC_LIST main.c dir_Socket.c lvgl_task.c lvgl_indev.c mouse_cursor_icon.c)
|
||||||
|
|
||||||
|
|
||||||
set(APP_Name Home_KitAPP)
|
set(APP_Name Home_KitAPP)
|
||||||
@ -41,20 +45,23 @@ set(APP_Name Home_KitAPP)
|
|||||||
add_executable(${APP_Name} ${SRC_LIST})
|
add_executable(${APP_Name} ${SRC_LIST})
|
||||||
|
|
||||||
|
|
||||||
# file(GLOB_RECURSE Lvgl_SRCLIB ${PROJECT_SOURCE_DIR}/main_app/lvgl_App/custom/*.c)
|
file(GLOB_RECURSE Lvgl_SRCLIB ${PROJECT_SOURCE_DIR}/main_app/GUI-Guider/custom/*.c)
|
||||||
# file(GLOB_RECURSE Lvgl_SRCLIB ${PROJECT_SOURCE_DIR}/main_app/lvgl_App/generated/*.c)
|
file(GLOB_RECURSE Lvgl_SRCLIB ${PROJECT_SOURCE_DIR}/main_app/GUI-Guider/generated/*.c)
|
||||||
# add_library(LVGL_APP STATIC ${Lvgl_SRCLIB})
|
file(GLOB_RECURSE Lvgl_SRCLIB ${PROJECT_SOURCE_DIR}/main_app/GUI-Guider/*.c)
|
||||||
|
add_library(GuiderAPP STATIC ${Lvgl_SRCLIB})
|
||||||
|
|
||||||
|
|
||||||
target_link_libraries(${APP_Name}
|
target_link_libraries(${APP_Name}
|
||||||
PRIVATE lvgl::lvgl
|
PRIVATE lvgl::lvgl
|
||||||
PRIVATE lvgl::drivers
|
PRIVATE lvgl::drivers
|
||||||
lv_demos
|
lv_demos
|
||||||
|
GuiderAPP
|
||||||
m
|
m
|
||||||
rt
|
rt
|
||||||
pthread
|
pthread
|
||||||
libusb-1.0.so.0.1.0
|
libusb-1.0.so.0.1.0
|
||||||
libfreetype.so.6.14.0
|
libfreetype.so.6.14.0
|
||||||
|
libdrm.a
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
BIN
main_app/GUI-Guider/GB2312.TTF
Executable file
BIN
main_app/GUI-Guider/GB2312.TTF
Executable file
Binary file not shown.
48
main_app/GUI-Guider/custom/custom.c
Executable file
48
main_app/GUI-Guider/custom/custom.c
Executable file
@ -0,0 +1,48 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2023 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
/*********************
|
||||||
|
* INCLUDES
|
||||||
|
*********************/
|
||||||
|
#include <stdio.h>
|
||||||
|
#include "lvgl.h"
|
||||||
|
#include "custom.h"
|
||||||
|
|
||||||
|
/*********************
|
||||||
|
* DEFINES
|
||||||
|
*********************/
|
||||||
|
|
||||||
|
/**********************
|
||||||
|
* TYPEDEFS
|
||||||
|
**********************/
|
||||||
|
|
||||||
|
/**********************
|
||||||
|
* STATIC PROTOTYPES
|
||||||
|
**********************/
|
||||||
|
|
||||||
|
/**********************
|
||||||
|
* STATIC VARIABLES
|
||||||
|
**********************/
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a demo application
|
||||||
|
*/
|
||||||
|
|
||||||
|
void custom_init(lv_ui *ui)
|
||||||
|
{
|
||||||
|
#ifdef USE_CUSTOM_CODE
|
||||||
|
printf("def USE_CUSTOM_CODE\r\n");
|
||||||
|
lv_font_open_Init(24);
|
||||||
|
#else
|
||||||
|
printf("undf USE_CUSTOM_CODE\r\n");
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
26
main_app/GUI-Guider/custom/custom.h
Executable file
26
main_app/GUI-Guider/custom/custom.h
Executable file
@ -0,0 +1,26 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2023 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __CUSTOM_H_
|
||||||
|
#define __CUSTOM_H_
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "gui_guider.h"
|
||||||
|
#include "guider_customer_fonts.h"
|
||||||
|
#include "lv_conf_ext.h"
|
||||||
|
void custom_init(lv_ui *ui);
|
||||||
|
#ifdef USE_CUSTOM_CODE
|
||||||
|
extern lv_ft_info_t lv_ft_MHEIGB[128];
|
||||||
|
#endif
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#endif /* EVENT_CB_H_ */
|
||||||
7
main_app/GUI-Guider/custom/custom.mk
Executable file
7
main_app/GUI-Guider/custom/custom.mk
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
GEN_CSRCS += $(notdir $(wildcard $(PRJ_DIR)/custom/*.c))
|
||||||
|
|
||||||
|
DEPPATH += --dep-path $(PRJ_DIR)/custom
|
||||||
|
VPATH += :$(PRJ_DIR)/custom
|
||||||
|
|
||||||
|
CFLAGS += "-I$(PRJ_DIR)/custom"
|
||||||
42
main_app/GUI-Guider/custom/lv_conf_ext.h
Executable file
42
main_app/GUI-Guider/custom/lv_conf_ext.h
Executable file
@ -0,0 +1,42 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2023 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* lv_conf_ext.h for custom lvconf file.
|
||||||
|
* Created on: Feb 8, 2023
|
||||||
|
* example :
|
||||||
|
* #undef LV_FONT_FMT_TXT_LARGE
|
||||||
|
* #define LV_FONT_FMT_TXT_LARGE 1
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef LV_CONF_EXT_H
|
||||||
|
#define LV_CONF_EXT_H
|
||||||
|
|
||||||
|
|
||||||
|
/* common code begin */
|
||||||
|
|
||||||
|
|
||||||
|
/* common code end */
|
||||||
|
|
||||||
|
|
||||||
|
#if LV_USE_GUIDER_SIMULATOR
|
||||||
|
/* code for simulator begin */
|
||||||
|
|
||||||
|
|
||||||
|
/* code for simulator end */
|
||||||
|
#else
|
||||||
|
/* code for board begin */
|
||||||
|
|
||||||
|
|
||||||
|
/* code for board end */
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define USE_CUSTOM_CODE
|
||||||
|
|
||||||
|
#endif /* LV_CONF_EXT_H */
|
||||||
159
main_app/GUI-Guider/generated/events_init.c
Executable file
159
main_app/GUI-Guider/generated/events_init.c
Executable file
@ -0,0 +1,159 @@
|
|||||||
|
/*
|
||||||
|
* 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 "events_init.h"
|
||||||
|
#include <stdio.h>
|
||||||
|
#include "lvgl.h"
|
||||||
|
|
||||||
|
#if LV_USE_GUIDER_SIMULATOR && LV_USE_FREEMASTER
|
||||||
|
#include "freemaster_client.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#include "guider_customer_fonts.h"
|
||||||
|
#include "../custom/custom.h"
|
||||||
|
#include "../custom/lv_conf_ext.h"
|
||||||
|
|
||||||
|
static void set_global_font_for_tabview(lv_obj_t * tabview, const lv_font_t * font) {
|
||||||
|
static lv_style_t style;
|
||||||
|
lv_style_init(&style);
|
||||||
|
lv_style_set_text_font(&style, font); // 设置指定的字体[^1]
|
||||||
|
lv_obj_add_style(tabview, &style, LV_PART_MAIN | LV_STATE_DEFAULT); // 应用于主要部分
|
||||||
|
}
|
||||||
|
|
||||||
|
void screen_home_init(lv_ui *ui)
|
||||||
|
{
|
||||||
|
#ifdef USE_CUSTOM_CODE
|
||||||
|
lv_obj_set_style_text_font(ui->screen_home_table_1, lv_ft_MHEIGB[24].font, LV_PART_ITEMS|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_text_font(ui->screen_home_btnm_1, lv_ft_MHEIGB[24].font, LV_PART_ITEMS|LV_STATE_DEFAULT);
|
||||||
|
|
||||||
|
// lv_obj_t *tab_btns = lv_tabview_get_tab_btns(ui->screen_home_tabview_2);
|
||||||
|
// set_global_font_for_tabview(tab_btns, lv_ft_MHEIGB[24].font);
|
||||||
|
|
||||||
|
// // 设置标签栏的字体样式
|
||||||
|
// lv_obj_set_style_text_font(tab_btns, lv_ft_MHEIGB[24].font, LV_PART_ITEMS | LV_STATE_DEFAULT);
|
||||||
|
|
||||||
|
// lv_btnmatrix_set_btn_width(ui->screen_home_btnm_1, 0, LV_SIZE_CONTENT); // 设置所有按钮宽度自适应
|
||||||
|
#endif
|
||||||
|
lv_table_set_col_width(ui->screen_home_table_1,0,60);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static void screen_logo_btn_1_event_handler (lv_event_t *e)
|
||||||
|
{
|
||||||
|
lv_event_code_t code = lv_event_get_code(e);
|
||||||
|
switch (code) {
|
||||||
|
case LV_EVENT_CLICKED:
|
||||||
|
{
|
||||||
|
ui_load_scr_animation(&guider_ui, &guider_ui.screen_home, guider_ui.screen_home_del, &guider_ui.screen_logo_del, setup_scr_screen_home, LV_SCR_LOAD_ANIM_NONE, 200, 200, false, true);
|
||||||
|
|
||||||
|
|
||||||
|
screen_home_init(&guider_ui);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void events_init_screen_logo (lv_ui *ui)
|
||||||
|
{
|
||||||
|
lv_obj_add_event_cb(ui->screen_logo_btn_1, screen_logo_btn_1_event_handler, LV_EVENT_ALL, ui);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void screen_home_tabview_1_event_handler (lv_event_t *e)
|
||||||
|
{
|
||||||
|
lv_event_code_t code = lv_event_get_code(e);
|
||||||
|
switch (code) {
|
||||||
|
case LV_EVENT_CLICKED:
|
||||||
|
{
|
||||||
|
lv_obj_add_flag(guider_ui.screen_home_win_1, LV_OBJ_FLAG_HIDDEN);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static void screen_home_btn_1_event_handler (lv_event_t *e)
|
||||||
|
{
|
||||||
|
lv_event_code_t code = lv_event_get_code(e);
|
||||||
|
switch (code) {
|
||||||
|
case LV_EVENT_CLICKED:
|
||||||
|
{
|
||||||
|
lv_obj_clear_flag(guider_ui.screen_home_win_1, LV_OBJ_FLAG_HIDDEN);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static void screen_home_btnm_1_event_handler (lv_event_t *e)
|
||||||
|
{
|
||||||
|
lv_event_code_t code = lv_event_get_code(e);
|
||||||
|
switch (code) {
|
||||||
|
case LV_EVENT_CLICKED:
|
||||||
|
{
|
||||||
|
lv_obj_t * obj = lv_event_get_target(e);
|
||||||
|
uint32_t id = lv_btnmatrix_get_selected_btn(obj);
|
||||||
|
|
||||||
|
switch (id) {
|
||||||
|
case (0):
|
||||||
|
{
|
||||||
|
lv_obj_clear_flag(guider_ui.screen_home_win_1, LV_OBJ_FLAG_HIDDEN);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case (1):
|
||||||
|
{
|
||||||
|
lv_led_set_color(guider_ui.screen_home_led_1, lv_color_hex(0xff0000));
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
case (2):
|
||||||
|
{
|
||||||
|
lv_led_set_color(guider_ui.screen_home_led_1, lv_color_hex(0x00ff55));
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
static void screen_home_win_1_item0_event_handler (lv_event_t *e)
|
||||||
|
{
|
||||||
|
lv_event_code_t code = lv_event_get_code(e);
|
||||||
|
switch (code) {
|
||||||
|
case LV_EVENT_CLICKED:
|
||||||
|
{
|
||||||
|
lv_obj_add_flag(guider_ui.screen_home_win_1, LV_OBJ_FLAG_HIDDEN);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void events_init_screen_home (lv_ui *ui)
|
||||||
|
{
|
||||||
|
lv_obj_add_event_cb(ui->screen_home_tabview_1, screen_home_tabview_1_event_handler, LV_EVENT_ALL, ui);
|
||||||
|
lv_obj_add_event_cb(ui->screen_home_btn_1, screen_home_btn_1_event_handler, LV_EVENT_ALL, ui);
|
||||||
|
lv_obj_add_event_cb(ui->screen_home_btnm_1, screen_home_btnm_1_event_handler, LV_EVENT_ALL, ui);
|
||||||
|
lv_obj_add_event_cb(ui->screen_home_win_1_item0, screen_home_win_1_item0_event_handler, LV_EVENT_ALL, ui);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void events_init(lv_ui *ui)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
27
main_app/GUI-Guider/generated/events_init.h
Executable file
27
main_app/GUI-Guider/generated/events_init.h
Executable file
@ -0,0 +1,27 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef EVENTS_INIT_H_
|
||||||
|
#define EVENTS_INIT_H_
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "gui_guider.h"
|
||||||
|
|
||||||
|
void events_init(lv_ui *ui);
|
||||||
|
|
||||||
|
void events_init_screen_logo(lv_ui *ui);
|
||||||
|
void events_init_screen_home(lv_ui *ui);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#endif /* EVENT_CB_H_ */
|
||||||
16
main_app/GUI-Guider/generated/generated.mk
Executable file
16
main_app/GUI-Guider/generated/generated.mk
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
# images
|
||||||
|
include $(PRJ_DIR)/generated/images/images.mk
|
||||||
|
|
||||||
|
# GUI Guider fonts
|
||||||
|
include $(PRJ_DIR)/generated/guider_fonts/guider_fonts.mk
|
||||||
|
|
||||||
|
# GUI Guider customer fonts
|
||||||
|
include $(PRJ_DIR)/generated/guider_customer_fonts/guider_customer_fonts.mk
|
||||||
|
|
||||||
|
|
||||||
|
GEN_CSRCS += $(notdir $(wildcard $(PRJ_DIR)/generated/*.c))
|
||||||
|
|
||||||
|
DEPPATH += --dep-path $(PRJ_DIR)/generated
|
||||||
|
VPATH += :$(PRJ_DIR)/generated
|
||||||
|
|
||||||
|
CFLAGS += "-I$(PRJ_DIR)/generated"
|
||||||
85
main_app/GUI-Guider/generated/gui_guider.c
Executable file
85
main_app/GUI-Guider/generated/gui_guider.c
Executable file
@ -0,0 +1,85 @@
|
|||||||
|
/*
|
||||||
|
* 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"
|
||||||
|
#if LV_USE_GUIDER_SIMULATOR && LV_USE_FREEMASTER
|
||||||
|
#include "gg_external_data.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
void ui_init_style(lv_style_t * style)
|
||||||
|
{
|
||||||
|
if (style->prop_cnt > 1)
|
||||||
|
lv_style_reset(style);
|
||||||
|
else
|
||||||
|
lv_style_init(style);
|
||||||
|
}
|
||||||
|
|
||||||
|
void ui_load_scr_animation(lv_ui *ui, lv_obj_t ** new_scr, bool new_scr_del, bool * old_scr_del, ui_setup_scr_t setup_scr,
|
||||||
|
lv_scr_load_anim_t anim_type, uint32_t time, uint32_t delay, bool is_clean, bool auto_del)
|
||||||
|
{
|
||||||
|
lv_obj_t * act_scr = lv_scr_act();
|
||||||
|
|
||||||
|
#if LV_USE_GUIDER_SIMULATOR && LV_USE_FREEMASTER
|
||||||
|
if(auto_del) {
|
||||||
|
gg_edata_task_clear(act_scr);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
if (auto_del && is_clean) {
|
||||||
|
lv_obj_clean(act_scr);
|
||||||
|
}
|
||||||
|
if (new_scr_del) {
|
||||||
|
setup_scr(ui);
|
||||||
|
}
|
||||||
|
lv_scr_load_anim(*new_scr, anim_type, time, delay, auto_del);
|
||||||
|
*old_scr_del = auto_del;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ui_animation(void * var, int32_t duration, int32_t delay, int32_t start_value, int32_t end_value, lv_anim_path_cb_t path_cb,
|
||||||
|
uint16_t repeat_cnt, uint32_t repeat_delay, uint32_t playback_time, uint32_t playback_delay,
|
||||||
|
lv_anim_exec_xcb_t exec_cb, lv_anim_start_cb_t start_cb, lv_anim_ready_cb_t ready_cb, lv_anim_deleted_cb_t deleted_cb)
|
||||||
|
{
|
||||||
|
lv_anim_t anim;
|
||||||
|
lv_anim_init(&anim);
|
||||||
|
lv_anim_set_var(&anim, var);
|
||||||
|
lv_anim_set_exec_cb(&anim, exec_cb);
|
||||||
|
lv_anim_set_values(&anim, start_value, end_value);
|
||||||
|
lv_anim_set_time(&anim, duration);
|
||||||
|
lv_anim_set_delay(&anim, delay);
|
||||||
|
lv_anim_set_path_cb(&anim, path_cb);
|
||||||
|
lv_anim_set_repeat_count(&anim, repeat_cnt);
|
||||||
|
lv_anim_set_repeat_delay(&anim, repeat_delay);
|
||||||
|
lv_anim_set_playback_time(&anim, playback_time);
|
||||||
|
lv_anim_set_playback_delay(&anim, playback_delay);
|
||||||
|
if (start_cb) {
|
||||||
|
lv_anim_set_start_cb(&anim, start_cb);
|
||||||
|
}
|
||||||
|
if (ready_cb) {
|
||||||
|
lv_anim_set_ready_cb(&anim, ready_cb);
|
||||||
|
}
|
||||||
|
if (deleted_cb) {
|
||||||
|
lv_anim_set_deleted_cb(&anim, deleted_cb);
|
||||||
|
}
|
||||||
|
lv_anim_start(&anim);
|
||||||
|
}
|
||||||
|
|
||||||
|
void init_scr_del_flag(lv_ui *ui)
|
||||||
|
{
|
||||||
|
|
||||||
|
ui->screen_logo_del = true;
|
||||||
|
ui->screen_home_del = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
void setup_ui(lv_ui *ui)
|
||||||
|
{
|
||||||
|
init_scr_del_flag(ui);
|
||||||
|
setup_scr_screen_logo(ui);
|
||||||
|
lv_scr_load(ui->screen_logo);
|
||||||
|
}
|
||||||
80
main_app/GUI-Guider/generated/gui_guider.h
Executable file
80
main_app/GUI-Guider/generated/gui_guider.h
Executable file
@ -0,0 +1,80 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef GUI_GUIDER_H
|
||||||
|
#define GUI_GUIDER_H
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "lvgl.h"
|
||||||
|
|
||||||
|
typedef struct
|
||||||
|
{
|
||||||
|
|
||||||
|
lv_obj_t *screen_logo;
|
||||||
|
bool screen_logo_del;
|
||||||
|
lv_obj_t *screen_logo_cont_1;
|
||||||
|
lv_obj_t *screen_logo_btn_1;
|
||||||
|
lv_obj_t *screen_logo_btn_1_label;
|
||||||
|
lv_obj_t *screen_logo_label_1;
|
||||||
|
lv_obj_t *screen_home;
|
||||||
|
bool screen_home_del;
|
||||||
|
lv_obj_t *screen_home_cont_1;
|
||||||
|
lv_obj_t *screen_home_tabview_1;
|
||||||
|
lv_obj_t *screen_home_tabview_1_tab_1;
|
||||||
|
lv_obj_t *screen_home_tabview_1_tab_2;
|
||||||
|
lv_obj_t *screen_home_btn_1;
|
||||||
|
lv_obj_t *screen_home_btn_1_label;
|
||||||
|
lv_obj_t *screen_home_table_1;
|
||||||
|
lv_obj_t *screen_home_btnm_1;
|
||||||
|
lv_obj_t *screen_home_btn_2;
|
||||||
|
lv_obj_t *screen_home_btn_2_label;
|
||||||
|
lv_obj_t *screen_home_btnm_2;
|
||||||
|
lv_obj_t *screen_home_tabview_2;
|
||||||
|
lv_obj_t *screen_home_tabview_2_tab_1;
|
||||||
|
lv_obj_t *screen_home_tabview_2_tab_2;
|
||||||
|
lv_obj_t *screen_home_win_1;
|
||||||
|
lv_obj_t *screen_home_win_1_item0;
|
||||||
|
lv_obj_t *screen_home_led_1;
|
||||||
|
}lv_ui;
|
||||||
|
|
||||||
|
typedef void (*ui_setup_scr_t)(lv_ui * ui);
|
||||||
|
|
||||||
|
void ui_init_style(lv_style_t * style);
|
||||||
|
|
||||||
|
void ui_load_scr_animation(lv_ui *ui, lv_obj_t ** new_scr, bool new_scr_del, bool * old_scr_del, ui_setup_scr_t setup_scr,
|
||||||
|
lv_scr_load_anim_t anim_type, uint32_t time, uint32_t delay, bool is_clean, bool auto_del);
|
||||||
|
|
||||||
|
void ui_animation(void * var, int32_t duration, int32_t delay, int32_t start_value, int32_t end_value, lv_anim_path_cb_t path_cb,
|
||||||
|
uint16_t repeat_cnt, uint32_t repeat_delay, uint32_t playback_time, uint32_t playback_delay,
|
||||||
|
lv_anim_exec_xcb_t exec_cb, lv_anim_start_cb_t start_cb, lv_anim_ready_cb_t ready_cb, lv_anim_deleted_cb_t deleted_cb);
|
||||||
|
|
||||||
|
|
||||||
|
void init_scr_del_flag(lv_ui *ui);
|
||||||
|
|
||||||
|
void setup_ui(lv_ui *ui);
|
||||||
|
|
||||||
|
|
||||||
|
extern lv_ui guider_ui;
|
||||||
|
|
||||||
|
|
||||||
|
void setup_scr_screen_logo(lv_ui *ui);
|
||||||
|
void setup_scr_screen_home(lv_ui *ui);
|
||||||
|
|
||||||
|
LV_FONT_DECLARE(lv_font_GB2312_16)
|
||||||
|
LV_FONT_DECLARE(lv_font_montserratMedium_16)
|
||||||
|
LV_FONT_DECLARE(lv_font_montserratMedium_12)
|
||||||
|
LV_FONT_DECLARE(lv_font_GB2312_12)
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
29
main_app/GUI-Guider/generated/guider_customer_fonts/guider_customer_fonts.h
Executable file
29
main_app/GUI-Guider/generated/guider_customer_fonts/guider_customer_fonts.h
Executable file
@ -0,0 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef GUIDER_CUSTOMER_FONTS_H
|
||||||
|
#define GUIDER_CUSTOMER_FONTS_H
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if LVGL_VERSION_MAJOR == 7
|
||||||
|
#include "lv_font/lv_font.h"
|
||||||
|
#else
|
||||||
|
#include "font/lv_font.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
LV_FONT_DECLARE(lv_customer_font_GB2312_24)
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
@ -0,0 +1,6 @@
|
|||||||
|
GEN_CSRCS += $(notdir $(wildcard $(PRJ_DIR)/generated/guider_customer_fonts/*.c))
|
||||||
|
|
||||||
|
DEPPATH += --dep-path $(PRJ_DIR)/generated/guider_customer_fonts
|
||||||
|
VPATH += :$(PRJ_DIR)/generated/guider_customer_fonts
|
||||||
|
|
||||||
|
CFLAGS += "-I$(PRJ_DIR)/generated/guider_customer_fonts"
|
||||||
640
main_app/GUI-Guider/generated/guider_customer_fonts/lv_customer_font_GB2312_24.c
Executable file
640
main_app/GUI-Guider/generated/guider_customer_fonts/lv_customer_font_GB2312_24.c
Executable file
@ -0,0 +1,640 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
/*******************************************************************************
|
||||||
|
* Size: 24 px
|
||||||
|
* Bpp: 4
|
||||||
|
* Opts: undefined
|
||||||
|
******************************************************************************/
|
||||||
|
|
||||||
|
#ifdef LV_LVGL_H_INCLUDE_SIMPLE
|
||||||
|
#include "lvgl.h"
|
||||||
|
#else
|
||||||
|
#include "lvgl.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef LV_CUSTOMER_FONT_GB2312_24
|
||||||
|
#define LV_CUSTOMER_FONT_GB2312_24 1
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if LV_CUSTOMER_FONT_GB2312_24
|
||||||
|
|
||||||
|
/*-----------------
|
||||||
|
* BITMAPS
|
||||||
|
*----------------*/
|
||||||
|
|
||||||
|
/*Store the image of the glyphs*/
|
||||||
|
static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
|
||||||
|
/* U+4F20 "传" */
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xcb, 0x0,
|
||||||
|
0x0, 0x0, 0xfc, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x1, 0xfc, 0x0, 0x0, 0x5, 0xf7, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x6, 0xf7, 0x0, 0x0, 0xa,
|
||||||
|
0xf2, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc, 0xf1,
|
||||||
|
0x15, 0x55, 0x5f, 0xe5, 0x55, 0x55, 0x40, 0x0,
|
||||||
|
0x0, 0x3f, 0xa0, 0x3f, 0xff, 0xff, 0xff, 0xff,
|
||||||
|
0xff, 0xb0, 0x0, 0x0, 0xbf, 0x30, 0x0, 0x0,
|
||||||
|
0x9f, 0x30, 0x0, 0x0, 0x0, 0x0, 0x4, 0xff,
|
||||||
|
0x0, 0x0, 0x0, 0xed, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0xd, 0xff, 0x0, 0x77, 0x79, 0xfb, 0x77,
|
||||||
|
0x77, 0x77, 0x74, 0x0, 0x8f, 0xff, 0x1, 0xff,
|
||||||
|
0xff, 0xff, 0xff, 0xff, 0xff, 0xf9, 0x5, 0xfc,
|
||||||
|
0xaf, 0x0, 0x0, 0x1f, 0xc0, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0x4f, 0xe1, 0xaf, 0x0, 0x0, 0x8f, 0x60,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x5f, 0x30, 0xaf, 0x0,
|
||||||
|
0x0, 0xdf, 0x76, 0x66, 0x66, 0x66, 0x30, 0x1,
|
||||||
|
0x0, 0xaf, 0x0, 0x0, 0xef, 0xff, 0xff, 0xff,
|
||||||
|
0xff, 0x90, 0x0, 0x0, 0xaf, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x1, 0xef, 0x40, 0x0, 0x0, 0xaf,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0xb, 0xf7, 0x0,
|
||||||
|
0x0, 0x0, 0xaf, 0x0, 0x0, 0x1, 0x10, 0x0,
|
||||||
|
0x8f, 0xa0, 0x0, 0x0, 0x0, 0xaf, 0x0, 0x0,
|
||||||
|
0xc, 0xf8, 0x8, 0xfb, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0xaf, 0x0, 0x0, 0x4, 0xcf, 0xef, 0xb0, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0xaf, 0x0, 0x0, 0x0, 0x5,
|
||||||
|
0xef, 0xc1, 0x0, 0x0, 0x0, 0x0, 0xaf, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x1b, 0xfe, 0x30, 0x0, 0x0,
|
||||||
|
0x0, 0xaf, 0x0, 0x0, 0x0, 0x0, 0x0, 0x8f,
|
||||||
|
0xf2, 0x0, 0x0, 0x0, 0xaf, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x6, 0xa0, 0x0,
|
||||||
|
|
||||||
|
/* U+53F7 "号" */
|
||||||
|
0x0, 0x0, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||||
|
0xf4, 0x0, 0x0, 0x0, 0x0, 0x4f, 0x97, 0x77,
|
||||||
|
0x77, 0x77, 0x78, 0xf5, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x4f, 0x40, 0x0, 0x0, 0x0, 0x3, 0xf5, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x4f, 0x40, 0x0, 0x0, 0x0,
|
||||||
|
0x3, 0xf5, 0x0, 0x0, 0x0, 0x0, 0x4f, 0x40,
|
||||||
|
0x0, 0x0, 0x0, 0x3, 0xf5, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0x4f, 0x97, 0x77, 0x77, 0x77, 0x78, 0xf5,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x3e, 0xee, 0xee, 0xee,
|
||||||
|
0xee, 0xee, 0xe4, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x17, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77, 0x77,
|
||||||
|
0x77, 0x77, 0x76, 0x2f, 0xff, 0xff, 0xff, 0xff,
|
||||||
|
0xff, 0xff, 0xff, 0xff, 0xff, 0xfd, 0x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 0x66, 0x66, 0xdf, 0x86, 0x66, 0x66,
|
||||||
|
0x66, 0x62, 0x1f, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||||
|
0xff, 0xff, 0xff, 0xf6, 0x1f, 0x80, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x1, 0xf6, 0x1f, 0x80,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0xf6,
|
||||||
|
0x1f, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x1, 0xf6, 0x1f, 0x80, 0x1, 0xff, 0xff, 0xff,
|
||||||
|
0xff, 0x70, 0x1, 0xf6, 0x1f, 0x80, 0x1, 0xfc,
|
||||||
|
0x88, 0x88, 0x9f, 0x80, 0x1, 0xf6, 0x1f, 0x80,
|
||||||
|
0x1, 0xf8, 0x0, 0x0, 0x1f, 0x80, 0x1, 0xf6,
|
||||||
|
0x1f, 0x80, 0x1, 0xf8, 0x0, 0x0, 0x1f, 0x80,
|
||||||
|
0x1, 0xf6, 0x1f, 0x80, 0x1, 0xf8, 0x0, 0x0,
|
||||||
|
0x1f, 0x80, 0x1, 0xf6, 0x1f, 0x80, 0x1, 0xf8,
|
||||||
|
0x0, 0x0, 0x1f, 0x80, 0x1, 0xf6, 0x1f, 0x80,
|
||||||
|
0x1, 0xfb, 0x77, 0x77, 0x7f, 0x80, 0x1, 0xf6,
|
||||||
|
0x1f, 0x80, 0x1, 0xff, 0xff, 0xff, 0xff, 0x80,
|
||||||
|
0x1, 0xf6, 0x1f, 0x80, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x1, 0xf6, 0x1f, 0x80, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x1, 0xf6, 0x1f, 0x80,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0xf6,
|
||||||
|
0x1f, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x28,
|
||||||
|
0x7a, 0xf5, 0x1f, 0x80, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0xf, 0xff, 0xa0,
|
||||||
|
|
||||||
|
/* U+5E27 "帧" */
|
||||||
|
0x0, 0x9, 0x50, 0x0, 0x0, 0x0, 0xc, 0x60,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0xe7, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0xe9, 0x22, 0x22, 0x21, 0x0, 0xe, 0x70,
|
||||||
|
0x0, 0x0, 0x0, 0xe, 0xff, 0xff, 0xff, 0x70,
|
||||||
|
0x0, 0xe7, 0x0, 0x0, 0x0, 0x0, 0xe9, 0x44,
|
||||||
|
0x44, 0x41, 0x34, 0x4f, 0x94, 0x42, 0x0, 0x0,
|
||||||
|
0xe, 0x70, 0x0, 0x0, 0xe, 0xff, 0xff, 0xff,
|
||||||
|
0x90, 0x33, 0x33, 0xf9, 0x33, 0x33, 0x10, 0xea,
|
||||||
|
0x2e, 0x92, 0xe9, 0xe, 0xff, 0xff, 0xff, 0xff,
|
||||||
|
0xf6, 0xe, 0x90, 0xe7, 0xe, 0x90, 0xea, 0x33,
|
||||||
|
0x33, 0x33, 0x3f, 0x60, 0xe9, 0xe, 0x70, 0xe9,
|
||||||
|
0xe, 0x90, 0x1, 0x10, 0x0, 0xf6, 0xe, 0x90,
|
||||||
|
0xe7, 0xe, 0x90, 0xe9, 0x0, 0xba, 0x0, 0xf,
|
||||||
|
0x60, 0xe9, 0xe, 0x70, 0xe9, 0xe, 0x90, 0xb,
|
||||||
|
0xa0, 0x0, 0xf6, 0xe, 0x90, 0xe7, 0xe, 0x90,
|
||||||
|
0xe9, 0x0, 0xba, 0x0, 0xf, 0x60, 0xe9, 0xe,
|
||||||
|
0x70, 0xe9, 0xe, 0x90, 0xb, 0xa0, 0x0, 0xf6,
|
||||||
|
0xe, 0x90, 0xe8, 0xf, 0x90, 0xe9, 0x0, 0xba,
|
||||||
|
0x0, 0xf, 0x60, 0xe9, 0xe, 0xef, 0xf7, 0xe,
|
||||||
|
0x90, 0xc, 0x90, 0x0, 0xf6, 0xb, 0x70, 0xe8,
|
||||||
|
0x87, 0x0, 0xe9, 0x0, 0xe8, 0x0, 0xf, 0x60,
|
||||||
|
0x0, 0xe, 0x70, 0x0, 0x5, 0x30, 0x3f, 0x45,
|
||||||
|
0x30, 0x62, 0x0, 0x0, 0xe7, 0x0, 0x0, 0x0,
|
||||||
|
0xc, 0xd0, 0xef, 0x60, 0x0, 0x0, 0xe, 0x70,
|
||||||
|
0x0, 0x0, 0x9, 0xf4, 0x2, 0xcf, 0x90, 0x0,
|
||||||
|
0x0, 0xe7, 0x0, 0x0, 0x4c, 0xf7, 0x0, 0x0,
|
||||||
|
0x9f, 0x80, 0x0, 0xe, 0x70, 0x7, 0xdf, 0xe4,
|
||||||
|
0x0, 0x0, 0x0, 0x9f, 0x60, 0x0, 0xe7, 0x0,
|
||||||
|
0x7c, 0x60, 0x0, 0x0, 0x0, 0x0, 0xa1,
|
||||||
|
|
||||||
|
/* U+5E8F "序" */
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x3, 0x20, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0xdf, 0x70, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x9f, 0x80, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0x9c, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x7f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||||
|
0xff, 0x70, 0x0, 0x8, 0xf7, 0x77, 0x77, 0x77,
|
||||||
|
0x77, 0x77, 0x77, 0x77, 0x73, 0x0, 0x0, 0x8f,
|
||||||
|
0x0, 0x0, 0x0, 0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0, 0x0, 0xcd, 0x0, 0x0, 0x0, 0x2, 0x22,
|
||||||
|
0x8f, 0x80, 0x0, 0x0, 0x0, 0x0, 0x20, 0x0,
|
||||||
|
0x0, 0x0, 0x6f, 0xff, 0xc2, 0x0, 0x0, 0x0,
|
||||||
|
0x0,
|
||||||
|
|
||||||
|
/* U+5EA6 "度" */
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x1d, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x9f, 0x90, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x2, 0x66, 0x66, 0x66, 0x66,
|
||||||
|
0xdf, 0x96, 0x66, 0x66, 0x66, 0x20, 0x0, 0x6f,
|
||||||
|
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||||
|
0xf5, 0x0, 0x6, 0xf1, 0x0, 0x3, 0x30, 0x0,
|
||||||
|
0x0, 0x33, 0x0, 0x0, 0x0, 0x0, 0x6f, 0x10,
|
||||||
|
0x0, 0xcb, 0x0, 0x0, 0xb, 0xc0, 0x0, 0x0,
|
||||||
|
0x0, 0x6, 0xf2, 0x77, 0x7d, 0xd7, 0x77, 0x77,
|
||||||
|
0xdd, 0x77, 0x76, 0x0, 0x0, 0x6f, 0x4f, 0xff,
|
||||||
|
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xd0, 0x0,
|
||||||
|
0x6, 0xf1, 0x0, 0xc, 0xb0, 0x0, 0x0, 0xbc,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x6f, 0x10, 0x0, 0xcb,
|
||||||
|
0x0, 0x0, 0xb, 0xc0, 0x0, 0x0, 0x0, 0x6,
|
||||||
|
0xf1, 0x0, 0xc, 0xff, 0xff, 0xff, 0xfc, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x6f, 0x10, 0x0, 0x57, 0x77,
|
||||||
|
0x77, 0x77, 0x50, 0x0, 0x0, 0x0, 0x6, 0xf1,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x7f, 0xa, 0xff, 0xff, 0xff, 0xff,
|
||||||
|
0xff, 0xff, 0x10, 0x0, 0x0, 0x8, 0xf0, 0x46,
|
||||||
|
0xcf, 0x96, 0x66, 0x66, 0x7f, 0xe0, 0x0, 0x0,
|
||||||
|
0x0, 0xad, 0x0, 0x1, 0xee, 0x20, 0x0, 0xb,
|
||||||
|
0xf4, 0x0, 0x0, 0x0, 0xe, 0xb0, 0x0, 0x2,
|
||||||
|
0xee, 0x50, 0x3d, 0xf6, 0x0, 0x0, 0x0, 0x2,
|
||||||
|
0xf8, 0x0, 0x0, 0x2, 0xdf, 0xcf, 0xe4, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x8f, 0x30, 0x0, 0x0, 0x29,
|
||||||
|
0xff, 0xfb, 0x30, 0x0, 0x0, 0x0, 0x1e, 0xe0,
|
||||||
|
0x13, 0x69, 0xdf, 0xfa, 0x49, 0xff, 0xea, 0x75,
|
||||||
|
0x31, 0x8, 0xf7, 0x3f, 0xff, 0xea, 0x61, 0x0,
|
||||||
|
0x0, 0x5a, 0xef, 0xff, 0xb0, 0x7, 0x0, 0x65,
|
||||||
|
0x20, 0x0, 0x0, 0x0, 0x0, 0x0, 0x14, 0x62,
|
||||||
|
0x0,
|
||||||
|
|
||||||
|
/* U+636E "据" */
|
||||||
|
0x0, 0x3, 0xc3, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x5, 0xf4, 0x0, 0x4f,
|
||||||
|
0xff, 0xff, 0xff, 0xff, 0xff, 0x60, 0x0, 0x5,
|
||||||
|
0xf4, 0x0, 0x4f, 0x85, 0x55, 0x55, 0x55, 0x7f,
|
||||||
|
0x60, 0x0, 0x5, 0xf4, 0x0, 0x4f, 0x50, 0x0,
|
||||||
|
0x0, 0x0, 0x3f, 0x60, 0x5c, 0xcd, 0xfd, 0xcc,
|
||||||
|
0x6f, 0x50, 0x0, 0x0, 0x0, 0x3f, 0x60, 0x5d,
|
||||||
|
0xdd, 0xfd, 0xdd, 0x6f, 0x96, 0x66, 0x66, 0x66,
|
||||||
|
0x8f, 0x60, 0x0, 0x5, 0xf4, 0x0, 0x4f, 0xff,
|
||||||
|
0xff, 0xff, 0xff, 0xff, 0x50, 0x0, 0x5, 0xf4,
|
||||||
|
0x0, 0x4f, 0x50, 0x0, 0xb, 0x70, 0x0, 0x0,
|
||||||
|
0x0, 0x5, 0xf4, 0x0, 0x4f, 0x50, 0x0, 0xf,
|
||||||
|
0xa0, 0x0, 0x0, 0x0, 0x5, 0xf4, 0x6, 0x4f,
|
||||||
|
0x73, 0x33, 0x3f, 0xb3, 0x33, 0x32, 0x0, 0x5,
|
||||||
|
0xfa, 0xef, 0x4f, 0xff, 0xff, 0xff, 0xff, 0xff,
|
||||||
|
0xfc, 0x0, 0x3a, 0xff, 0x92, 0x4f, 0x73, 0x33,
|
||||||
|
0x3f, 0xb3, 0x33, 0x32, 0x5c, 0xff, 0xf4, 0x0,
|
||||||
|
0x5f, 0x40, 0x0, 0xf, 0xa0, 0x0, 0x0, 0x8d,
|
||||||
|
0x55, 0xf4, 0x0, 0x6f, 0x31, 0x22, 0x2f, 0xa2,
|
||||||
|
0x22, 0x0, 0x0, 0x5, 0xf4, 0x0, 0x8f, 0x1a,
|
||||||
|
0xff, 0xff, 0xff, 0xff, 0x10, 0x0, 0x5, 0xf4,
|
||||||
|
0x0, 0xce, 0xa, 0xf4, 0x44, 0x44, 0xaf, 0x10,
|
||||||
|
0x0, 0x5, 0xf4, 0x1, 0xfb, 0xa, 0xf0, 0x0,
|
||||||
|
0x0, 0x8f, 0x10, 0x0, 0x5, 0xf4, 0x7, 0xf6,
|
||||||
|
0xa, 0xf0, 0x0, 0x0, 0x8f, 0x10, 0x0, 0x5,
|
||||||
|
0xf4, 0x1e, 0xf0, 0xa, 0xf6, 0x66, 0x66, 0xbf,
|
||||||
|
0x10, 0x0, 0x5, 0xf4, 0xaf, 0x90, 0xa, 0xff,
|
||||||
|
0xff, 0xff, 0xff, 0x10, 0x8, 0x8c, 0xf3, 0xde,
|
||||||
|
0x10, 0xa, 0xf0, 0x0, 0x0, 0x8f, 0x10, 0xa,
|
||||||
|
0xff, 0xa0, 0x14, 0x0, 0xa, 0xf0, 0x0, 0x0,
|
||||||
|
0x8f, 0x10,
|
||||||
|
|
||||||
|
/* U+6570 "数" */
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x41, 0x1, 0xf4, 0x0,
|
||||||
|
0x30, 0x0, 0xf5, 0x0, 0x0, 0x0, 0x1, 0xed,
|
||||||
|
0x11, 0xf4, 0x4, 0xf4, 0x2, 0xf3, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x2e, 0xc1, 0xf4, 0x6f, 0x90, 0x4,
|
||||||
|
0xf0, 0x0, 0x0, 0x0, 0x0, 0x4, 0x71, 0xf4,
|
||||||
|
0x47, 0x0, 0x6, 0xd0, 0x0, 0x0, 0x0, 0x2d,
|
||||||
|
0xdd, 0xdd, 0xfe, 0xdd, 0xdb, 0xa, 0xfe, 0xee,
|
||||||
|
0xee, 0xe8, 0x19, 0x99, 0xfc, 0xfb, 0x99, 0x98,
|
||||||
|
0xe, 0xca, 0xaa, 0xed, 0xa6, 0x0, 0x7, 0xf3,
|
||||||
|
0xf4, 0x23, 0x0, 0x2f, 0x70, 0x0, 0xd7, 0x0,
|
||||||
|
0x0, 0x3f, 0x91, 0xf4, 0xbf, 0x40, 0x8f, 0x90,
|
||||||
|
0x0, 0xf5, 0x0, 0x4, 0xfd, 0x1, 0xf4, 0xb,
|
||||||
|
0xe1, 0xee, 0x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标" */
|
||||||
|
0x0, 0x0, 0x7b, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0xa, 0xf0, 0x0,
|
||||||
|
0x8, 0x88, 0x88, 0x88, 0x88, 0x82, 0x0, 0x0,
|
||||||
|
0x0, 0xaf, 0x0, 0x0, 0xff, 0xff, 0xff, 0xff,
|
||||||
|
0xff, 0x40, 0x0, 0x0, 0xa, 0xf0, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x5, 0x55,
|
||||||
|
0xcf, 0x55, 0x50, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0x1, 0xff, 0xff, 0xff, 0xff, 0x10, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xef,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x2f, 0xf0, 0x4, 0x88, 0x88, 0x88,
|
||||||
|
0x88, 0x88, 0x88, 0x60, 0x0, 0x7, 0xff, 0x50,
|
||||||
|
0x8f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfa, 0x0,
|
||||||
|
0x0, 0xdf, 0xff, 0x90, 0x0, 0x0, 0x5, 0xf1,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x4f, 0xcf, 0x7f, 0x40,
|
||||||
|
0x0, 0x0, 0x5f, 0x10, 0x0, 0x0, 0x0, 0xd,
|
||||||
|
0xca, 0xf0, 0xdc, 0x0, 0x40, 0x5, 0xf1, 0x2,
|
||||||
|
0x0, 0x0, 0x7, 0xf4, 0xaf, 0x6, 0x90, 0x3f,
|
||||||
|
0x50, 0x5f, 0x10, 0xea, 0x0, 0x3, 0xfb, 0xa,
|
||||||
|
0xf0, 0x0, 0x9, 0xf0, 0x5, 0xf1, 0x6, 0xf5,
|
||||||
|
0x0, 0x4c, 0x10, 0xaf, 0x0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, 0xf6, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x1, 0xe9, 0x0, 0x0, 0x0, 0x2, 0x10, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x20,
|
||||||
|
|
||||||
|
/* U+8F93 "输" */
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x78, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0xc, 0x70, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0xa, 0x80, 0x0, 0x0, 0x0, 0x6, 0xfb, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0xd5, 0x0, 0x0, 0x0,
|
||||||
|
0x2, 0xfc, 0xf7, 0x0, 0x0, 0x0, 0x78, 0x8f,
|
||||||
|
0xa8, 0x88, 0x20, 0x2, 0xec, 0x7, 0xf7, 0x0,
|
||||||
|
0x0, 0xb, 0xcd, 0xfc, 0xcc, 0xc4, 0x4, 0xed,
|
||||||
|
0x10, 0x7, 0xf9, 0x0, 0x0, 0x0, 0x8b, 0x0,
|
||||||
|
0x0, 0x8, 0xff, 0x87, 0x77, 0x7c, 0xfd, 0x50,
|
||||||
|
0x0, 0xd, 0x62, 0x20, 0x3e, 0xf7, 0xbf, 0xff,
|
||||||
|
0xff, 0xd2, 0xdf, 0xd0, 0x2, 0xf1, 0xa9, 0x0,
|
||||||
|
0xa2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x89, 0x0,
|
||||||
|
0x9a, 0xa, 0x90, 0x0, 0x55, 0x55, 0x54, 0x0,
|
||||||
|
0x1, 0xb2, 0x0, 0xf, 0x73, 0xba, 0x33, 0xf,
|
||||||
|
0xec, 0xce, 0xb0, 0xd8, 0x2f, 0x30, 0x0, 0xff,
|
||||||
|
0xff, 0xff, 0xf1, 0xf6, 0x0, 0x9b, 0xd, 0x82,
|
||||||
|
0xf3, 0x0, 0x3, 0x33, 0xba, 0x33, 0xf, 0x72,
|
||||||
|
0x2a, 0xb0, 0xd8, 0x2f, 0x30, 0x0, 0x0, 0xa,
|
||||||
|
0x90, 0x0, 0xff, 0xff, 0xfb, 0xd, 0x82, 0xf3,
|
||||||
|
0x0, 0x0, 0x0, 0xa9, 0x29, 0x4f, 0x82, 0x2a,
|
||||||
|
0xb0, 0xd8, 0x2f, 0x30, 0x0, 0x0, 0x1c, 0xff,
|
||||||
|
0xd3, 0xf6, 0x0, 0x9b, 0xd, 0x82, 0xf3, 0x0,
|
||||||
|
0x16, 0xbf, 0xfc, 0x30, 0xf, 0xdc, 0xce, 0xb0,
|
||||||
|
0xd8, 0x2f, 0x30, 0x8, 0xfc, 0x6a, 0x90, 0x0,
|
||||||
|
0xfb, 0x88, 0xcb, 0xd, 0x82, 0xf3, 0x0, 0x1,
|
||||||
|
0x0, 0xa9, 0x0, 0xf, 0x60, 0x9, 0xb0, 0x75,
|
||||||
|
0x2f, 0x30, 0x0, 0x0, 0xa, 0x90, 0x0, 0xf6,
|
||||||
|
0x0, 0x9b, 0x0, 0x2, 0xf3, 0x0, 0x0, 0x0,
|
||||||
|
0xa9, 0x0, 0xf, 0x60, 0x9, 0xb0, 0x0, 0x2f,
|
||||||
|
0x30, 0x0, 0x0, 0xa, 0x90, 0x0, 0xf6, 0x35,
|
||||||
|
0xca, 0x1, 0x79, 0xf2, 0x0, 0x0, 0x0, 0xa9,
|
||||||
|
0x0, 0xe, 0x54, 0xfe, 0x40, 0xe, 0xfb, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x0,
|
||||||
|
|
||||||
|
/* U+957F "长" */
|
||||||
|
0x0, 0x0, 0x0, 0x21, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0xf9, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x11, 0x0, 0x0, 0x0, 0x0,
|
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 0xf9, 0x0,
|
||||||
|
0x0, 0x0, 0xaf, 0x90, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x2, 0xf9, 0x0, 0x7, 0x60, 0x9, 0xfc, 0x20,
|
||||||
|
0x0, 0x0, 0x0, 0x2, 0xf9, 0x29, 0xff, 0x70,
|
||||||
|
0x0, 0x6f, 0xf9, 0x10, 0x0, 0x0, 0x5, 0xfe,
|
||||||
|
0xff, 0xb4, 0x0, 0x0, 0x2, 0xbf, 0xf8, 0x0,
|
||||||
|
0x0, 0x6, 0xff, 0x92, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x4, 0xb4, 0x0, 0x0, 0x0, 0x50, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
|
||||||
|
/* U+95F4 "间" */
|
||||||
|
0x0, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x8f, 0x50, 0x0, 0x23, 0x33,
|
||||||
|
0x33, 0x33, 0x33, 0x31, 0x0, 0xc, 0xf3, 0x0,
|
||||||
|
0xbf, 0xff, 0xff, 0xff, 0xff, 0xf9, 0x0, 0x1,
|
||||||
|
0xed, 0x0, 0x23, 0x33, 0x33, 0x33, 0x34, 0xf9,
|
||||||
|
0x0, 0x0, 0x6f, 0x60, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x1, 0xf9, 0x1e, 0x70, 0x8, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x1, 0xf9, 0x1f, 0x80, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x1, 0xf9, 0x1f, 0x80,
|
||||||
|
0x7, 0xff, 0xff, 0xff, 0xff, 0x90, 0x1, 0xf9,
|
||||||
|
0x1f, 0x80, 0x7, 0xf8, 0x88, 0x88, 0x8f, 0x90,
|
||||||
|
0x1, 0xf9, 0x1f, 0x80, 0x7, 0xf0, 0x0, 0x0,
|
||||||
|
0xe, 0x90, 0x1, 0xf9, 0x1f, 0x80, 0x7, 0xf0,
|
||||||
|
0x0, 0x0, 0xe, 0x90, 0x1, 0xf9, 0x1f, 0x80,
|
||||||
|
0x7, 0xff, 0xff, 0xff, 0xff, 0x90, 0x1, 0xf9,
|
||||||
|
0x1f, 0x80, 0x7, 0xf8, 0x88, 0x88, 0x8f, 0x90,
|
||||||
|
0x1, 0xf9, 0x1f, 0x80, 0x7, 0xf0, 0x0, 0x0,
|
||||||
|
0xe, 0x90, 0x1, 0xf9, 0x1f, 0x80, 0x7, 0xf0,
|
||||||
|
0x0, 0x0, 0xe, 0x90, 0x1, 0xf9, 0x1f, 0x80,
|
||||||
|
0x7, 0xff, 0xff, 0xff, 0xff, 0x90, 0x1, 0xf9,
|
||||||
|
0x1f, 0x80, 0x7, 0xf8, 0x88, 0x88, 0x8f, 0x90,
|
||||||
|
0x1, 0xf9, 0x1f, 0x80, 0x7, 0xf0, 0x0, 0x0,
|
||||||
|
0xe, 0x90, 0x1, 0xf9, 0x1f, 0x80, 0x1, 0x30,
|
||||||
|
0x0, 0x0, 0x2, 0x10, 0x1, 0xf9, 0x1f, 0x80,
|
||||||
|
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0xf9,
|
||||||
|
0x1f, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x2, 0xf9, 0x1f, 0x80, 0x0, 0x0, 0x0, 0x0,
|
||||||
|
0x0, 0x1d, 0xdf, 0xf7, 0x1f, 0x80, 0x0, 0x0,
|
||||||
|
0x0, 0x0, 0x0, 0xb, 0xff, 0xc1
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
/*---------------------
|
||||||
|
* GLYPH DESCRIPTION
|
||||||
|
*--------------------*/
|
||||||
|
|
||||||
|
static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
|
||||||
|
{.bitmap_index = 0, .adv_w = 0, .box_w = 0, .box_h = 0, .ofs_x = 0, .ofs_y = 0} /* id = 0 reserved */,
|
||||||
|
{.bitmap_index = 0, .adv_w = 384, .box_w = 22, .box_h = 23, .ofs_x = 1, .ofs_y = -3},
|
||||||
|
{.bitmap_index = 253, .adv_w = 384, .box_w = 22, .box_h = 21, .ofs_x = 1, .ofs_y = -3},
|
||||||
|
{.bitmap_index = 484, .adv_w = 384, .box_w = 20, .box_h = 22, .ofs_x = 2, .ofs_y = -2},
|
||||||
|
{.bitmap_index = 704, .adv_w = 384, .box_w = 21, .box_h = 22, .ofs_x = 2, .ofs_y = -3},
|
||||||
|
{.bitmap_index = 935, .adv_w = 384, .box_w = 23, .box_h = 23, .ofs_x = 0, .ofs_y = -3},
|
||||||
|
{.bitmap_index = 1200, .adv_w = 384, .box_w = 23, .box_h = 23, .ofs_x = 1, .ofs_y = -3},
|
||||||
|
{.bitmap_index = 1465, .adv_w = 384, .box_w = 22, .box_h = 22, .ofs_x = 1, .ofs_y = -3},
|
||||||
|
{.bitmap_index = 1707, .adv_w = 384, .box_w = 22, .box_h = 23, .ofs_x = 1, .ofs_y = -3},
|
||||||
|
{.bitmap_index = 1960, .adv_w = 384, .box_w = 23, .box_h = 23, .ofs_x = 0, .ofs_y = -3},
|
||||||
|
{.bitmap_index = 2225, .adv_w = 384, .box_w = 21, .box_h = 22, .ofs_x = 2, .ofs_y = -3},
|
||||||
|
{.bitmap_index = 2456, .adv_w = 384, .box_w = 23, .box_h = 22, .ofs_x = 1, .ofs_y = -3},
|
||||||
|
{.bitmap_index = 2709, .adv_w = 384, .box_w = 22, .box_h = 23, .ofs_x = 1, .ofs_y = -3},
|
||||||
|
{.bitmap_index = 2962, .adv_w = 384, .box_w = 23, .box_h = 24, .ofs_x = 1, .ofs_y = -4},
|
||||||
|
{.bitmap_index = 3238, .adv_w = 384, .box_w = 22, .box_h = 23, .ofs_x = 1, .ofs_y = -3},
|
||||||
|
{.bitmap_index = 3491, .adv_w = 384, .box_w = 20, .box_h = 23, .ofs_x = 2, .ofs_y = -3}
|
||||||
|
};
|
||||||
|
|
||||||
|
/*---------------------
|
||||||
|
* CHARACTER MAPPING
|
||||||
|
*--------------------*/
|
||||||
|
|
||||||
|
static const uint16_t unicode_list_0[] = {
|
||||||
|
0x0, 0x4d7, 0x4f1, 0xf07, 0xf6f, 0xf86, 0x144e, 0x1650,
|
||||||
|
0x1699, 0x16d6, 0x18e7, 0x3ca6, 0x4073, 0x465f, 0x46d4
|
||||||
|
};
|
||||||
|
|
||||||
|
/*Collect the unicode lists and glyph_id offsets*/
|
||||||
|
static const lv_font_fmt_txt_cmap_t cmaps[] =
|
||||||
|
{
|
||||||
|
{
|
||||||
|
.range_start = 20256, .range_length = 18133, .glyph_id_start = 1,
|
||||||
|
.unicode_list = unicode_list_0, .glyph_id_ofs_list = NULL, .list_length = 15, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*--------------------
|
||||||
|
* ALL CUSTOM DATA
|
||||||
|
*--------------------*/
|
||||||
|
|
||||||
|
#if LVGL_VERSION_MAJOR == 8
|
||||||
|
/*Store all the custom data of the font*/
|
||||||
|
static lv_font_fmt_txt_glyph_cache_t cache;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if LVGL_VERSION_MAJOR >= 8
|
||||||
|
static const lv_font_fmt_txt_dsc_t font_dsc = {
|
||||||
|
#else
|
||||||
|
static lv_font_fmt_txt_dsc_t font_dsc = {
|
||||||
|
#endif
|
||||||
|
.glyph_bitmap = glyph_bitmap,
|
||||||
|
.glyph_dsc = glyph_dsc,
|
||||||
|
.cmaps = cmaps,
|
||||||
|
.kern_dsc = NULL,
|
||||||
|
.kern_scale = 0,
|
||||||
|
.cmap_num = 1,
|
||||||
|
.bpp = 4,
|
||||||
|
.kern_classes = 0,
|
||||||
|
.bitmap_format = 0,
|
||||||
|
#if LVGL_VERSION_MAJOR == 8
|
||||||
|
.cache = &cache
|
||||||
|
#endif
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/*-----------------
|
||||||
|
* PUBLIC FONT
|
||||||
|
*----------------*/
|
||||||
|
|
||||||
|
/*Initialize a public general font descriptor*/
|
||||||
|
#if LVGL_VERSION_MAJOR >= 8
|
||||||
|
const lv_font_t lv_customer_font_GB2312_24 = {
|
||||||
|
#else
|
||||||
|
lv_font_t lv_customer_font_GB2312_24 = {
|
||||||
|
#endif
|
||||||
|
.get_glyph_dsc = lv_font_get_glyph_dsc_fmt_txt, /*Function pointer to get glyph's data*/
|
||||||
|
.get_glyph_bitmap = lv_font_get_bitmap_fmt_txt, /*Function pointer to get glyph's bitmap*/
|
||||||
|
.line_height = 24, /*The maximum line height required by the font*/
|
||||||
|
.base_line = 3.5999999999999996, /*Baseline measured from the bottom of the line*/
|
||||||
|
#if !(LVGL_VERSION_MAJOR == 6 && LVGL_VERSION_MINOR == 0)
|
||||||
|
.subpx = LV_FONT_SUBPX_NONE,
|
||||||
|
#endif
|
||||||
|
#if LV_VERSION_CHECK(7, 4, 0) || LVGL_VERSION_MAJOR >= 8
|
||||||
|
.underline_position = -3,
|
||||||
|
.underline_thickness = 1,
|
||||||
|
#endif
|
||||||
|
.dsc = &font_dsc, /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
|
||||||
|
#if LV_VERSION_CHECK(8, 2, 0) || LVGL_VERSION_MAJOR >= 9
|
||||||
|
.fallback = NULL,
|
||||||
|
#endif
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endif /*#if LV_CUSTOMER_FONT_GB2312_24*/
|
||||||
|
|
||||||
1
main_app/GUI-Guider/generated/guider_fonts/fonts_list.mk
Executable file
1
main_app/GUI-Guider/generated/guider_fonts/fonts_list.mk
Executable file
@ -0,0 +1 @@
|
|||||||
|
GEN_CSRCS += lv_font_GB2312_16.c lv_font_montserratMedium_16.c lv_font_montserratMedium_12.c lv_font_GB2312_12.c
|
||||||
6
main_app/GUI-Guider/generated/guider_fonts/guider_fonts.mk
Executable file
6
main_app/GUI-Guider/generated/guider_fonts/guider_fonts.mk
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
-include $(PRJ_DIR)/generated/guider_fonts/fonts_list.mk
|
||||||
|
|
||||||
|
DEPPATH += --dep-path $(PRJ_DIR)/generated/guider_fonts
|
||||||
|
VPATH += :$(PRJ_DIR)/generated/guider_fonts
|
||||||
|
|
||||||
|
CFLAGS += "-I$(PRJ_DIR)/generated/guider_fonts"
|
||||||
1412
main_app/GUI-Guider/generated/guider_fonts/lv_font_GB2312_12.c
Executable file
1412
main_app/GUI-Guider/generated/guider_fonts/lv_font_GB2312_12.c
Executable file
File diff suppressed because it is too large
Load Diff
1847
main_app/GUI-Guider/generated/guider_fonts/lv_font_GB2312_16.c
Executable file
1847
main_app/GUI-Guider/generated/guider_fonts/lv_font_GB2312_16.c
Executable file
File diff suppressed because it is too large
Load Diff
23292
main_app/GUI-Guider/generated/guider_fonts/lv_font_GB2312_72.c
Executable file
23292
main_app/GUI-Guider/generated/guider_fonts/lv_font_GB2312_72.c
Executable file
File diff suppressed because it is too large
Load Diff
1921
main_app/GUI-Guider/generated/guider_fonts/lv_font_montserratMedium_12.c
Executable file
1921
main_app/GUI-Guider/generated/guider_fonts/lv_font_montserratMedium_12.c
Executable file
File diff suppressed because it is too large
Load Diff
2465
main_app/GUI-Guider/generated/guider_fonts/lv_font_montserratMedium_16.c
Executable file
2465
main_app/GUI-Guider/generated/guider_fonts/lv_font_montserratMedium_16.c
Executable file
File diff suppressed because it is too large
Load Diff
7
main_app/GUI-Guider/generated/images/images.mk
Executable file
7
main_app/GUI-Guider/generated/images/images.mk
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
-include $(PRJ_DIR)/generated/images/images_list.mk
|
||||||
|
-include $(PRJ_DIR)/generated/images/lottie_list.mk
|
||||||
|
|
||||||
|
DEPPATH += --dep-path $(PRJ_DIR)/generated/images
|
||||||
|
VPATH += :$(PRJ_DIR)/generated/images
|
||||||
|
|
||||||
|
CFLAGS += "-I$(PRJ_DIR)/generated/images"
|
||||||
1
main_app/GUI-Guider/generated/images/images_list.mk
Executable file
1
main_app/GUI-Guider/generated/images/images_list.mk
Executable file
@ -0,0 +1 @@
|
|||||||
|
GEN_CSRCS +=
|
||||||
1
main_app/GUI-Guider/generated/images/images_md5.json
Executable file
1
main_app/GUI-Guider/generated/images/images_md5.json
Executable file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
main_app/GUI-Guider/generated/images/lottie_list.mk
Executable file
1
main_app/GUI-Guider/generated/images/lottie_list.mk
Executable file
@ -0,0 +1 @@
|
|||||||
|
GEN_CSRCS +=
|
||||||
428
main_app/GUI-Guider/generated/setup_scr_screen_home.c
Executable file
428
main_app/GUI-Guider/generated/setup_scr_screen_home.c
Executable file
@ -0,0 +1,428 @@
|
|||||||
|
/*
|
||||||
|
* 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);
|
||||||
|
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, 0, -1);
|
||||||
|
lv_obj_set_size(ui->screen_home_cont_1, 1280, 720);
|
||||||
|
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_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, 4, 104);
|
||||||
|
lv_obj_set_size(ui->screen_home_tabview_1, 943, 601);
|
||||||
|
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_12, 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_montserratMedium_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_montserratMedium_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_btn_1
|
||||||
|
ui->screen_home_btn_1 = lv_btn_create(ui->screen_home_tabview_1_tab_1);
|
||||||
|
ui->screen_home_btn_1_label = lv_label_create(ui->screen_home_btn_1);
|
||||||
|
lv_label_set_text(ui->screen_home_btn_1_label, "Button");
|
||||||
|
lv_label_set_long_mode(ui->screen_home_btn_1_label, LV_LABEL_LONG_WRAP);
|
||||||
|
lv_obj_align(ui->screen_home_btn_1_label, LV_ALIGN_CENTER, 0, 0);
|
||||||
|
lv_obj_set_style_pad_all(ui->screen_home_btn_1, 0, LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_width(ui->screen_home_btn_1_label, LV_PCT(100));
|
||||||
|
lv_obj_set_pos(ui->screen_home_btn_1, -7, 414);
|
||||||
|
lv_obj_set_size(ui->screen_home_btn_1, 100, 50);
|
||||||
|
|
||||||
|
//Write style for screen_home_btn_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||||
|
lv_obj_set_style_bg_opa(ui->screen_home_btn_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_bg_color(ui->screen_home_btn_1, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_bg_grad_dir(ui->screen_home_btn_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_border_width(ui->screen_home_btn_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_radius(ui->screen_home_btn_1, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_shadow_width(ui->screen_home_btn_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_text_color(ui->screen_home_btn_1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_text_font(ui->screen_home_btn_1, &lv_font_montserratMedium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_text_opa(ui->screen_home_btn_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_text_align(ui->screen_home_btn_1, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
|
||||||
|
//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_montserratMedium_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_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_montserratMedium_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_2
|
||||||
|
ui->screen_home_btn_2 = lv_btn_create(ui->screen_home_tabview_1_tab_2);
|
||||||
|
ui->screen_home_btn_2_label = lv_label_create(ui->screen_home_btn_2);
|
||||||
|
lv_label_set_text(ui->screen_home_btn_2_label, "Button");
|
||||||
|
lv_label_set_long_mode(ui->screen_home_btn_2_label, LV_LABEL_LONG_WRAP);
|
||||||
|
lv_obj_align(ui->screen_home_btn_2_label, LV_ALIGN_CENTER, 0, 0);
|
||||||
|
lv_obj_set_style_pad_all(ui->screen_home_btn_2, 0, LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_width(ui->screen_home_btn_2_label, LV_PCT(100));
|
||||||
|
lv_obj_set_pos(ui->screen_home_btn_2, 590, 335);
|
||||||
|
lv_obj_set_size(ui->screen_home_btn_2, 100, 50);
|
||||||
|
|
||||||
|
//Write style for screen_home_btn_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||||
|
lv_obj_set_style_bg_opa(ui->screen_home_btn_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_bg_color(ui->screen_home_btn_2, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_bg_grad_dir(ui->screen_home_btn_2, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_border_width(ui->screen_home_btn_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_radius(ui->screen_home_btn_2, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_shadow_width(ui->screen_home_btn_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_text_color(ui->screen_home_btn_2, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_text_font(ui->screen_home_btn_2, &lv_font_montserratMedium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_text_opa(ui->screen_home_btn_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_text_align(ui->screen_home_btn_2, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
|
||||||
|
//Write codes screen_home_btnm_2
|
||||||
|
ui->screen_home_btnm_2 = lv_btnmatrix_create(ui->screen_home_tabview_1_tab_2);
|
||||||
|
static const char *screen_home_btnm_2_text_map[] = {"滤波设置", "启动", "停止", "清空", "保存", "实时保存", "DBC", "",};
|
||||||
|
lv_btnmatrix_set_map(ui->screen_home_btnm_2, screen_home_btnm_2_text_map);
|
||||||
|
lv_obj_set_pos(ui->screen_home_btnm_2, -11, -12);
|
||||||
|
lv_obj_set_size(ui->screen_home_btnm_2, 645, 32);
|
||||||
|
|
||||||
|
//Write style for screen_home_btnm_2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||||
|
lv_obj_set_style_border_width(ui->screen_home_btnm_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_pad_top(ui->screen_home_btnm_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_pad_bottom(ui->screen_home_btnm_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_pad_left(ui->screen_home_btnm_2, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_pad_right(ui->screen_home_btnm_2, 10, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_pad_row(ui->screen_home_btnm_2, 8, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_pad_column(ui->screen_home_btnm_2, 8, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_radius(ui->screen_home_btnm_2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_bg_opa(ui->screen_home_btnm_2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_bg_color(ui->screen_home_btnm_2, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_bg_grad_dir(ui->screen_home_btnm_2, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
|
||||||
|
//Write style for screen_home_btnm_2, Part: LV_PART_ITEMS, State: LV_STATE_DEFAULT.
|
||||||
|
lv_obj_set_style_border_width(ui->screen_home_btnm_2, 1, LV_PART_ITEMS|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_border_opa(ui->screen_home_btnm_2, 255, LV_PART_ITEMS|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_border_color(ui->screen_home_btnm_2, lv_color_hex(0xc9c9c9), LV_PART_ITEMS|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_border_side(ui->screen_home_btnm_2, LV_BORDER_SIDE_FULL, LV_PART_ITEMS|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_text_color(ui->screen_home_btnm_2, lv_color_hex(0xffffff), LV_PART_ITEMS|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_text_font(ui->screen_home_btnm_2, &lv_font_montserratMedium_16, LV_PART_ITEMS|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_text_opa(ui->screen_home_btnm_2, 255, LV_PART_ITEMS|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_radius(ui->screen_home_btnm_2, 4, LV_PART_ITEMS|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_bg_opa(ui->screen_home_btnm_2, 255, LV_PART_ITEMS|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_bg_color(ui->screen_home_btnm_2, lv_color_hex(0x2195f6), LV_PART_ITEMS|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_bg_grad_dir(ui->screen_home_btnm_2, LV_GRAD_DIR_NONE, LV_PART_ITEMS|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_shadow_width(ui->screen_home_btnm_2, 0, LV_PART_ITEMS|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, 954, 314);
|
||||||
|
lv_obj_set_size(ui->screen_home_tabview_2, 318, 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_montserratMedium_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_ft_MHEIGB[24].font);
|
||||||
|
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_ft_MHEIGB[24].font);
|
||||||
|
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, "con1");
|
||||||
|
|
||||||
|
//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_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, 384, 216);
|
||||||
|
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, 1219, 382);
|
||||||
|
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);
|
||||||
|
}
|
||||||
104
main_app/GUI-Guider/generated/setup_scr_screen_logo.c
Executable file
104
main_app/GUI-Guider/generated/setup_scr_screen_logo.c
Executable file
@ -0,0 +1,104 @@
|
|||||||
|
/*
|
||||||
|
* 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_logo(lv_ui *ui)
|
||||||
|
{
|
||||||
|
//Write codes screen_logo
|
||||||
|
ui->screen_logo = lv_obj_create(NULL);
|
||||||
|
lv_obj_set_size(ui->screen_logo, 1280, 720);
|
||||||
|
lv_obj_set_scrollbar_mode(ui->screen_logo, LV_SCROLLBAR_MODE_OFF);
|
||||||
|
|
||||||
|
//Write style for screen_logo, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||||
|
lv_obj_set_style_bg_opa(ui->screen_logo, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
|
||||||
|
//Write codes screen_logo_cont_1
|
||||||
|
ui->screen_logo_cont_1 = lv_obj_create(ui->screen_logo);
|
||||||
|
lv_obj_set_pos(ui->screen_logo_cont_1, 0, 0);
|
||||||
|
lv_obj_set_size(ui->screen_logo_cont_1, 1280, 720);
|
||||||
|
lv_obj_set_scrollbar_mode(ui->screen_logo_cont_1, LV_SCROLLBAR_MODE_OFF);
|
||||||
|
|
||||||
|
//Write style for screen_logo_cont_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||||
|
lv_obj_set_style_border_width(ui->screen_logo_cont_1, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_border_opa(ui->screen_logo_cont_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_border_color(ui->screen_logo_cont_1, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_border_side(ui->screen_logo_cont_1, LV_BORDER_SIDE_FULL, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_radius(ui->screen_logo_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_bg_opa(ui->screen_logo_cont_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_bg_color(ui->screen_logo_cont_1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_bg_grad_dir(ui->screen_logo_cont_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_pad_top(ui->screen_logo_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_pad_bottom(ui->screen_logo_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_pad_left(ui->screen_logo_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_pad_right(ui->screen_logo_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_shadow_width(ui->screen_logo_cont_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
|
||||||
|
//Write codes screen_logo_btn_1
|
||||||
|
ui->screen_logo_btn_1 = lv_btn_create(ui->screen_logo);
|
||||||
|
ui->screen_logo_btn_1_label = lv_label_create(ui->screen_logo_btn_1);
|
||||||
|
lv_label_set_text(ui->screen_logo_btn_1_label, "GO");
|
||||||
|
lv_label_set_long_mode(ui->screen_logo_btn_1_label, LV_LABEL_LONG_WRAP);
|
||||||
|
lv_obj_align(ui->screen_logo_btn_1_label, LV_ALIGN_CENTER, 0, 0);
|
||||||
|
lv_obj_set_style_pad_all(ui->screen_logo_btn_1, 0, LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_width(ui->screen_logo_btn_1_label, LV_PCT(100));
|
||||||
|
lv_obj_set_pos(ui->screen_logo_btn_1, 1126, 633);
|
||||||
|
lv_obj_set_size(ui->screen_logo_btn_1, 138, 72);
|
||||||
|
|
||||||
|
//Write style for screen_logo_btn_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||||
|
lv_obj_set_style_bg_opa(ui->screen_logo_btn_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_bg_color(ui->screen_logo_btn_1, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_bg_grad_dir(ui->screen_logo_btn_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_border_width(ui->screen_logo_btn_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_radius(ui->screen_logo_btn_1, 5, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_shadow_width(ui->screen_logo_btn_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_text_color(ui->screen_logo_btn_1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_text_font(ui->screen_logo_btn_1, &lv_font_GB2312_16, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_text_opa(ui->screen_logo_btn_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_text_align(ui->screen_logo_btn_1, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
|
||||||
|
//Write codes screen_logo_label_1
|
||||||
|
ui->screen_logo_label_1 = lv_label_create(ui->screen_logo);
|
||||||
|
lv_label_set_text(ui->screen_logo_label_1, "Label");
|
||||||
|
lv_label_set_long_mode(ui->screen_logo_label_1, LV_LABEL_LONG_WRAP);
|
||||||
|
lv_obj_set_pos(ui->screen_logo_label_1, 590, 344);
|
||||||
|
lv_obj_set_size(ui->screen_logo_label_1, 100, 32);
|
||||||
|
|
||||||
|
//Write style for screen_logo_label_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||||
|
lv_obj_set_style_border_width(ui->screen_logo_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_radius(ui->screen_logo_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_text_color(ui->screen_logo_label_1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_text_font(ui->screen_logo_label_1, &lv_font_montserratMedium_16, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_text_opa(ui->screen_logo_label_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_text_letter_space(ui->screen_logo_label_1, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_text_line_space(ui->screen_logo_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_text_align(ui->screen_logo_label_1, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_bg_opa(ui->screen_logo_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_pad_top(ui->screen_logo_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_pad_right(ui->screen_logo_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_pad_bottom(ui->screen_logo_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_pad_left(ui->screen_logo_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
lv_obj_set_style_shadow_width(ui->screen_logo_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||||
|
|
||||||
|
//The custom code of screen_logo.
|
||||||
|
|
||||||
|
|
||||||
|
//Update current screen layout.
|
||||||
|
lv_obj_update_layout(ui->screen_logo);
|
||||||
|
|
||||||
|
//Init events for screen.
|
||||||
|
events_init_screen_logo(ui);
|
||||||
|
}
|
||||||
78
main_app/GUI-Guider/generated/widgets_init.c
Executable file
78
main_app/GUI-Guider/generated/widgets_init.c
Executable file
@ -0,0 +1,78 @@
|
|||||||
|
/*
|
||||||
|
* 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 "gui_guider.h"
|
||||||
|
#include "widgets_init.h"
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
|
||||||
|
__attribute__((unused)) void kb_event_cb (lv_event_t *e) {
|
||||||
|
lv_event_code_t code = lv_event_get_code(e);
|
||||||
|
lv_obj_t *kb = lv_event_get_target(e);
|
||||||
|
if(code == LV_EVENT_READY || code == LV_EVENT_CANCEL) {
|
||||||
|
lv_obj_add_flag(kb, LV_OBJ_FLAG_HIDDEN);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
__attribute__((unused)) void ta_event_cb (lv_event_t *e) {
|
||||||
|
lv_event_code_t code = lv_event_get_code(e);
|
||||||
|
#if LV_USE_KEYBOARD || LV_USE_ZH_KEYBOARD
|
||||||
|
lv_obj_t *ta = lv_event_get_target(e);
|
||||||
|
#endif
|
||||||
|
lv_obj_t *kb = lv_event_get_user_data(e);
|
||||||
|
if (code == LV_EVENT_FOCUSED || code == LV_EVENT_CLICKED)
|
||||||
|
{
|
||||||
|
#if LV_USE_ZH_KEYBOARD != 0
|
||||||
|
lv_zh_keyboard_set_textarea(kb, ta);
|
||||||
|
#endif
|
||||||
|
#if LV_USE_KEYBOARD != 0
|
||||||
|
lv_keyboard_set_textarea(kb, ta);
|
||||||
|
#endif
|
||||||
|
lv_obj_move_foreground(kb);
|
||||||
|
lv_obj_clear_flag(kb, LV_OBJ_FLAG_HIDDEN);
|
||||||
|
}
|
||||||
|
if (code == LV_EVENT_CANCEL || code == LV_EVENT_DEFOCUSED)
|
||||||
|
{
|
||||||
|
|
||||||
|
#if LV_USE_ZH_KEYBOARD != 0
|
||||||
|
lv_zh_keyboard_set_textarea(kb, ta);
|
||||||
|
#endif
|
||||||
|
#if LV_USE_KEYBOARD != 0
|
||||||
|
lv_keyboard_set_textarea(kb, ta);
|
||||||
|
#endif
|
||||||
|
lv_obj_move_background(kb);
|
||||||
|
lv_obj_add_flag(kb, LV_OBJ_FLAG_HIDDEN);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#if LV_USE_ANALOGCLOCK != 0
|
||||||
|
void clock_count(int *hour, int *min, int *sec)
|
||||||
|
{
|
||||||
|
(*sec)++;
|
||||||
|
if(*sec == 60)
|
||||||
|
{
|
||||||
|
*sec = 0;
|
||||||
|
(*min)++;
|
||||||
|
}
|
||||||
|
if(*min == 60)
|
||||||
|
{
|
||||||
|
*min = 0;
|
||||||
|
if(*hour < 12)
|
||||||
|
{
|
||||||
|
(*hour)++;
|
||||||
|
} else {
|
||||||
|
(*hour)++;
|
||||||
|
*hour = *hour %12;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
30
main_app/GUI-Guider/generated/widgets_init.h
Executable file
30
main_app/GUI-Guider/generated/widgets_init.h
Executable file
@ -0,0 +1,30 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef WIDGET_INIT_H
|
||||||
|
#define WIDGET_INIT_H
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "lvgl.h"
|
||||||
|
#include "gui_guider.h"
|
||||||
|
|
||||||
|
__attribute__((unused)) void kb_event_cb(lv_event_t *e);
|
||||||
|
__attribute__((unused)) void ta_event_cb(lv_event_t *e);
|
||||||
|
#if LV_USE_ANALOGCLOCK != 0
|
||||||
|
void clock_count(int *hour, int *min, int *sec);
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
16
main_app/GUI-Guider/lv_freetype.c
Normal file
16
main_app/GUI-Guider/lv_freetype.c
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
#include <ft2build.h>
|
||||||
|
#include "lvgl/lvgl.h"
|
||||||
|
|
||||||
|
lv_ft_info_t lv_ft_MHEIGB[128];
|
||||||
|
|
||||||
|
void lv_font_open_Init(uint8_t Type_size)
|
||||||
|
{
|
||||||
|
lv_ft_MHEIGB[Type_size].name = "/root/fontfile/MHEIGB181.TTF";
|
||||||
|
lv_ft_MHEIGB[Type_size].weight = Type_size;
|
||||||
|
lv_ft_MHEIGB[Type_size].style = FT_FONT_STYLE_NORMAL;
|
||||||
|
lv_ft_MHEIGB[Type_size].mem = NULL;
|
||||||
|
if(!lv_ft_font_init(&lv_ft_MHEIGB[Type_size])) {
|
||||||
|
LV_LOG_ERROR("create failed.");
|
||||||
|
}
|
||||||
|
printf("lv_font_open_Init:%d\r\n",Type_size);
|
||||||
|
}
|
||||||
@ -4,6 +4,10 @@
|
|||||||
#include "display/drm.h"
|
#include "display/drm.h"
|
||||||
#include "indev/evdev.h"
|
#include "indev/evdev.h"
|
||||||
#include "indev/keyboard.h"
|
#include "indev/keyboard.h"
|
||||||
|
#include "gui_guider.h"
|
||||||
|
#include "events_init.h"
|
||||||
|
|
||||||
|
lv_ui guider_ui;
|
||||||
|
|
||||||
pthread_t Thread_Lv_App;
|
pthread_t Thread_Lv_App;
|
||||||
|
|
||||||
@ -65,14 +69,7 @@ void *Lv_main_task(void *arg)
|
|||||||
|
|
||||||
/*LittlevGL init*/
|
/*LittlevGL init*/
|
||||||
lv_init();
|
lv_init();
|
||||||
#if USE_FBDEV
|
|
||||||
/*Linux frame buffer device init*/
|
|
||||||
fbdev_init("/dev/fb0");
|
|
||||||
fbdev_init("/dev/fb1");
|
|
||||||
#elif USE_DRM
|
|
||||||
/*Linux DRM device init*/
|
|
||||||
drm_init();
|
|
||||||
#endif
|
|
||||||
/*A small buffer for LittlevGL to draw the screen's content*/
|
/*A small buffer for LittlevGL to draw the screen's content*/
|
||||||
static lv_color_t buf1[DISP_BUF_SIZE];
|
static lv_color_t buf1[DISP_BUF_SIZE];
|
||||||
static lv_color_t buf2[DISP_BUF_SIZE];
|
static lv_color_t buf2[DISP_BUF_SIZE];
|
||||||
@ -87,16 +84,30 @@ void *Lv_main_task(void *arg)
|
|||||||
lv_disp_drv_init(&disp_drv);
|
lv_disp_drv_init(&disp_drv);
|
||||||
disp_drv.draw_buf = &disp_buf;
|
disp_drv.draw_buf = &disp_buf;
|
||||||
|
|
||||||
|
#if USE_FBDEV
|
||||||
|
/*Linux frame buffer device init*/
|
||||||
|
fbdev_init("/dev/fb0");
|
||||||
|
// fbdev_init("/dev/fb1");
|
||||||
|
#elif USE_DRM
|
||||||
|
/*Linux DRM device init*/
|
||||||
|
drm_init();
|
||||||
|
|
||||||
|
disp_drv.hor_res = 720;
|
||||||
|
disp_drv.ver_res = 1280;
|
||||||
|
disp_drv.flush_cb = drm_flush;
|
||||||
|
disp_300x240 = lv_disp_drv_register(&disp_drv);
|
||||||
|
#endif
|
||||||
|
|
||||||
#if USE_FBDEV
|
#if USE_FBDEV
|
||||||
disp_drv.flush_cb = fbdev_flush;
|
disp_drv.flush_cb = fbdev_flush;
|
||||||
// disp_drv.hor_res = 320;
|
// disp_drv.hor_res = 320;
|
||||||
// disp_drv.ver_res = 480;
|
// disp_drv.ver_res = 480;
|
||||||
disp_drv.hor_res = 240;
|
disp_drv.hor_res = 720;
|
||||||
disp_drv.ver_res = 300;
|
disp_drv.ver_res = 1280;
|
||||||
// disp_drv.hor_res = 800;
|
// disp_drv.hor_res = 800;
|
||||||
// disp_drv.ver_res = 480;
|
// disp_drv.ver_res = 480;
|
||||||
disp_drv.sw_rotate = 1; // add for rotation
|
disp_drv.sw_rotate = 1; // add for rotation
|
||||||
disp_drv.rotated = LV_DISP_ROT_90; // add for rotation
|
disp_drv.rotated = LV_DISP_ROT_270; // add for rotation
|
||||||
disp_300x240 = lv_disp_drv_register(&disp_drv);
|
disp_300x240 = lv_disp_drv_register(&disp_drv);
|
||||||
|
|
||||||
#if LV_DISP_MAX_NUM == 2
|
#if LV_DISP_MAX_NUM == 2
|
||||||
@ -158,7 +169,11 @@ void *Lv_main_task(void *arg)
|
|||||||
// printf("create thread fail\n");
|
// printf("create thread fail\n");
|
||||||
// exit(res);
|
// exit(res);
|
||||||
// }
|
// }
|
||||||
lvgl_app_start();
|
// lvgl_app_start();
|
||||||
|
custom_init(&guider_ui);
|
||||||
|
setup_ui(&guider_ui);
|
||||||
|
events_init(&guider_ui);
|
||||||
|
|
||||||
while(1) {
|
while(1) {
|
||||||
/* 互斥锁上锁 */
|
/* 互斥锁上锁 */
|
||||||
// res = pthread_mutex_lock(&mutex_disp_Refresh);
|
// res = pthread_mutex_lock(&mutex_disp_Refresh);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user