更新:

1、中英文切换功能完成;
2、曲线及其对应图例标签的颜色自定义功能完成;
3、内容界面翻页逻辑优化,提高了刷新效率;
4、eeprom存储逻辑优化,仅存储改变的内容;
This commit is contained in:
吴俊潮 2025-04-17 16:18:11 +08:00
parent 6623a0142a
commit 1b2b188e8f
19 changed files with 19734 additions and 18641 deletions

View File

@ -116,6 +116,9 @@ void io_on2off_status(void);
//恢复主界面的各项参数显示,用于界面切换(设置界面->主界面) //恢复主界面的各项参数显示,用于界面切换(设置界面->主界面)
void scr_main_recover(void); void scr_main_recover(void);
//颜色更新
void scr_main_color_update(void);
//数值闪烁数值发生变化后开始闪烁10秒无动作后闪烁停止游标移动后恢复前一时刻位置的数值 //数值闪烁数值发生变化后开始闪烁10秒无动作后闪烁停止游标移动后恢复前一时刻位置的数值
void num_twinkle(void); void num_twinkle(void);

View File

@ -76,6 +76,12 @@ extern int16_t reset_cnt;
//描点个数 //描点个数
#define PLOT_NUM 1 #define PLOT_NUM 1
//输入曲线颜色
#define INPUT_COLOR 2
//输出曲线颜色
#define OUTPUT_COLOR 3
//} //}
#define ITEMS_2 2 #define ITEMS_2 2
@ -119,6 +125,39 @@ extern int16_t reset_cnt;
//内容焦点后的底色 //内容焦点后的底色
#define COLOR_CONTENTS_FOCUSED 0X9dffb0 #define COLOR_CONTENTS_FOCUSED 0X9dffb0
//曲线颜色
//{
//淡蓝色
#define COLOR_BLUE 0
#define COLOR_BLUE_VALUE 0x00B6FF
//深蓝色
#define COLOR_DARK_BLUE 1
#define COLOR_DARK_BLUE_VALUE 0x000FFF
//黄色
#define COLOR_YELLOW 2
#define COLOR_YELLOW_VALUE 0xEAE200
//绿色
#define COLOR_GREEN 3
#define COLOR_GREEN_VALUE 0x00FF4E
//红色
#define COLOR_RED 4
#define COLOR_RED_VALUE 0xFF0027
//紫色
#define COLOR_PURPLE 5
#define COLOR_PURPLE_VALUE 0xFF00D4
//输入图例颜色值
#define COLOR_LEGEND_INPUT COLOR_YELLOW_VALUE
//输出图例颜色值
#define COLOR_LEGEND_OUTPUT COLOR_BLUE_VALUE
//}
//} //}
//设置菜单数据初始化 //设置菜单数据初始化
@ -149,7 +188,11 @@ void set_contents_color(uint8_t cursor, uint32_t color);
void scr_setting_recover(void); void scr_setting_recover(void);
//详细设置界面 //详细设置界面
void scr_setting_run(void); void scr_setting_run(void);
//设置界面语言切换主界面的语言切换在set_working_mode内
//此处用于更改标题和选项卡的语言,内容的语言切换在 set_XXX_text & set_XXX_value内
void setting_laguage_switch(uint8_t lan);
#endif #endif

View File

@ -195,6 +195,8 @@ typedef struct
//ITEMS_1 //ITEMS_1
uint16_t item1_page0_sample_interval; //采样间隔ms uint16_t item1_page0_sample_interval; //采样间隔ms
uint8_t item1_page0_plot_num; //曲线上显示的点数 uint8_t item1_page0_plot_num; //曲线上显示的点数
int8_t item1_page0_color_input; //输出曲线及其图例的颜色
int8_t item1_page0_color_output; //输出曲线及其图例的颜色
//ITEMS_2 //ITEMS_2
uint8_t item2_page0_saveflag; //[0, 1,2 ] -> [未保存,保存中,已保存] uint8_t item2_page0_saveflag; //[0, 1,2 ] -> [未保存,保存中,已保存]

View File

@ -129,8 +129,12 @@
//RTD下限tag12 //RTD下限tag12
#define RTD_LOW_ADDR (RTD_UP_ADDR + EE_INTERVAL) #define RTD_LOW_ADDR (RTD_UP_ADDR + EE_INTERVAL)
//根据需求后续在此处向后添加
//} //}
#define DATA_SAVE_ALL 0
extern uint8_t eeprom_wrt_error_flag; extern uint8_t eeprom_wrt_error_flag;
extern uint8_t eeprom_rd_error_flag; extern uint8_t eeprom_rd_error_flag;
@ -141,17 +145,29 @@ uint8_t eeprom_spi_readbyte(void);
void eeprom_writedata(int32_t addr_long, uint8_t txd); void eeprom_writedata(int32_t addr_long, uint8_t txd);
uint8_t eeprom_readdata(int32_t addr_long); uint8_t eeprom_readdata(int32_t addr_long);
//存储参数,全部
void eeprom_datasave(void);
//开机上电后读取参数 //开机上电后读取参数
void eeprom_dataread(void); void eeprom_dataread(void);
//判断EEPROM内是否已存在数据 //判断EEPROM内是否已存在数据
uint8_t eeprom_device_check(void); uint8_t eeprom_device_check(void);
//保存指定数据
void eeprom_datasave_single(uint8_t tag); void eeprom_datasave_single(uint8_t tag);
#if DATA_SAVE_ALL
//存储参数,全部
void eeprom_datasave(void);
#else
//保存修改过的数据
void eeprom_datasave_changed(void);
#endif
#endif #endif

View File

@ -15,6 +15,9 @@ void set_item2_text(uint8_t con);
//修改选项卡3的文本 //修改选项卡3的文本
void set_item3_text(uint8_t con); void set_item3_text(uint8_t con);
//修改对象颜色
void set_obj_color(lv_obj_t * obj, uint8_t color);
#endif #endif

View File

@ -18,7 +18,7 @@ void screen_data_init(void)
m5data.bar_anime_end_flag = 0; //进度条动画结束标志 m5data.bar_anime_end_flag = 0; //进度条动画结束标志
//screen_main //screen_main
main_data_init(); main_data_init();
//screen_setting //screen_setting
tab_data_init(); tab_data_init();
@ -574,6 +574,10 @@ void scr_init_run(void)
m5data.scr_init_flag = 1; //开机动画结束,只执行一次 m5data.scr_init_flag = 1; //开机动画结束,只执行一次
m5data.scr_now = SCREEN_MAIN; //开机动画结束后,默认进入主界面 m5data.scr_now = SCREEN_MAIN; //开机动画结束后,默认进入主界面
set_working_mode(SIG_VOLTAGE, VOLTAGE_V);
delay_cnt(5000);
} }
} }
@ -1209,6 +1213,26 @@ void input_value_show(void)
void io_on2off_status(void) void io_on2off_status(void)
{ {
switch (tabdata.item3_page0_language)
{
case MENU_SIMPLYFY_CHINESE:
{
lv_label_set_text(guider_ui.screen_main_label_IN, "输入:");
lv_label_set_text(guider_ui.screen_main_label_OUT, "输出:");
}
break;
case MENU_ENGLISH:
{
lv_label_set_text(guider_ui.screen_main_label_IN, "IN:");
lv_label_set_text(guider_ui.screen_main_label_OUT, "OUT:");
}
break;
default:
break;
}
switch (m5data.io_on2off) switch (m5data.io_on2off)
{ {
case IO_ON: case IO_ON:
@ -1298,6 +1322,128 @@ void scr_main_recover(void)
break; break;
} }
//设置项同步
lv_chart_set_point_count(guider_ui.screen_main_chart_1, tabdata.item1_page0_plot_num);
for(uint8_t i = 0; i < tabdata.item1_page0_plot_num; i++)
{
lv_chart_set_next_value(guider_ui.screen_main_chart_1, guider_ui.screen_main_chart_1_0, 0);
lv_chart_set_next_value(guider_ui.screen_main_chart_1, guider_ui.screen_main_chart_1_1, 0);
}
//输入/输出曲线、图例、上下限颜色更新
scr_main_color_update();
}
//颜色更新
void scr_main_color_update(void)
{
switch (tabdata.item1_page0_color_input)
{
case COLOR_BLUE:
{
guider_ui.screen_main_chart_1_1 = lv_chart_add_series(guider_ui.screen_main_chart_1, lv_color_hex(COLOR_BLUE_VALUE), LV_CHART_AXIS_PRIMARY_Y);
lv_obj_set_style_line_color(guider_ui.screen_main_line_legend_IN, lv_color_hex(COLOR_BLUE_VALUE), LV_PART_MAIN|LV_STATE_DEFAULT);
set_obj_color(guider_ui.screen_main_label_area_IN, COLOR_BLUE);
}
break;
case COLOR_DARK_BLUE:
{
guider_ui.screen_main_chart_1_1 = lv_chart_add_series(guider_ui.screen_main_chart_1, lv_color_hex(COLOR_DARK_BLUE_VALUE), LV_CHART_AXIS_PRIMARY_Y);
lv_obj_set_style_line_color(guider_ui.screen_main_line_legend_IN, lv_color_hex(COLOR_DARK_BLUE_VALUE), LV_PART_MAIN|LV_STATE_DEFAULT);
set_obj_color(guider_ui.screen_main_label_area_IN, COLOR_DARK_BLUE);
}
break;
case COLOR_YELLOW:
{
guider_ui.screen_main_chart_1_1 = lv_chart_add_series(guider_ui.screen_main_chart_1, lv_color_hex(COLOR_YELLOW_VALUE), LV_CHART_AXIS_PRIMARY_Y);
lv_obj_set_style_line_color(guider_ui.screen_main_line_legend_IN, lv_color_hex(COLOR_YELLOW_VALUE), LV_PART_MAIN|LV_STATE_DEFAULT);
set_obj_color(guider_ui.screen_main_label_area_IN, COLOR_YELLOW);
}
break;
case COLOR_GREEN:
{
guider_ui.screen_main_chart_1_1 = lv_chart_add_series(guider_ui.screen_main_chart_1, lv_color_hex(COLOR_GREEN_VALUE), LV_CHART_AXIS_PRIMARY_Y);
lv_obj_set_style_line_color(guider_ui.screen_main_line_legend_IN, lv_color_hex(COLOR_GREEN_VALUE), LV_PART_MAIN|LV_STATE_DEFAULT);
set_obj_color(guider_ui.screen_main_label_area_IN, COLOR_GREEN);
}
break;
case COLOR_RED:
{
guider_ui.screen_main_chart_1_1 = lv_chart_add_series(guider_ui.screen_main_chart_1, lv_color_hex(COLOR_RED_VALUE), LV_CHART_AXIS_PRIMARY_Y);
lv_obj_set_style_line_color(guider_ui.screen_main_line_legend_IN, lv_color_hex(COLOR_RED_VALUE), LV_PART_MAIN|LV_STATE_DEFAULT);
set_obj_color(guider_ui.screen_main_label_area_IN, COLOR_RED);
}
break;
case COLOR_PURPLE:
{
guider_ui.screen_main_chart_1_1 = lv_chart_add_series(guider_ui.screen_main_chart_1, lv_color_hex(COLOR_PURPLE_VALUE), LV_CHART_AXIS_PRIMARY_Y);
lv_obj_set_style_line_color(guider_ui.screen_main_line_legend_IN, lv_color_hex(COLOR_PURPLE_VALUE), LV_PART_MAIN|LV_STATE_DEFAULT);
set_obj_color(guider_ui.screen_main_label_area_IN, COLOR_PURPLE);
}
break;
default:
break;
}
switch (tabdata.item1_page0_color_output)
{
case COLOR_BLUE:
{
guider_ui.screen_main_chart_1_0 = lv_chart_add_series(guider_ui.screen_main_chart_1, lv_color_hex(COLOR_BLUE_VALUE), LV_CHART_AXIS_PRIMARY_Y);
lv_obj_set_style_line_color(guider_ui.screen_main_line_legend_OUT, lv_color_hex(COLOR_BLUE_VALUE), LV_PART_MAIN|LV_STATE_DEFAULT);
set_obj_color(guider_ui.screen_main_label_area_OUT, COLOR_BLUE);
}
break;
case COLOR_DARK_BLUE:
{
guider_ui.screen_main_chart_1_0 = lv_chart_add_series(guider_ui.screen_main_chart_1, lv_color_hex(COLOR_DARK_BLUE_VALUE), LV_CHART_AXIS_PRIMARY_Y);
lv_obj_set_style_line_color(guider_ui.screen_main_line_legend_OUT, lv_color_hex(COLOR_DARK_BLUE_VALUE), LV_PART_MAIN|LV_STATE_DEFAULT);
set_obj_color(guider_ui.screen_main_label_area_OUT, COLOR_DARK_BLUE);
}
break;
case COLOR_YELLOW:
{
guider_ui.screen_main_chart_1_0 = lv_chart_add_series(guider_ui.screen_main_chart_1, lv_color_hex(COLOR_YELLOW_VALUE), LV_CHART_AXIS_PRIMARY_Y);
lv_obj_set_style_line_color(guider_ui.screen_main_line_legend_OUT, lv_color_hex(COLOR_YELLOW_VALUE), LV_PART_MAIN|LV_STATE_DEFAULT);
set_obj_color(guider_ui.screen_main_label_area_OUT, COLOR_YELLOW);
}
break;
case COLOR_GREEN:
{
guider_ui.screen_main_chart_1_0 = lv_chart_add_series(guider_ui.screen_main_chart_1, lv_color_hex(COLOR_GREEN_VALUE), LV_CHART_AXIS_PRIMARY_Y);
lv_obj_set_style_line_color(guider_ui.screen_main_line_legend_OUT, lv_color_hex(COLOR_GREEN_VALUE), LV_PART_MAIN|LV_STATE_DEFAULT);
set_obj_color(guider_ui.screen_main_label_area_OUT, COLOR_GREEN);
}
break;
case COLOR_RED:
{
guider_ui.screen_main_chart_1_0 = lv_chart_add_series(guider_ui.screen_main_chart_1, lv_color_hex(COLOR_RED_VALUE), LV_CHART_AXIS_PRIMARY_Y);
lv_obj_set_style_line_color(guider_ui.screen_main_line_legend_OUT, lv_color_hex(COLOR_RED_VALUE), LV_PART_MAIN|LV_STATE_DEFAULT);
set_obj_color(guider_ui.screen_main_label_area_OUT, COLOR_RED);
}
break;
case COLOR_PURPLE:
{
guider_ui.screen_main_chart_1_0 = lv_chart_add_series(guider_ui.screen_main_chart_1, lv_color_hex(COLOR_PURPLE_VALUE), LV_CHART_AXIS_PRIMARY_Y);
lv_obj_set_style_line_color(guider_ui.screen_main_line_legend_OUT, lv_color_hex(COLOR_PURPLE_VALUE), LV_PART_MAIN|LV_STATE_DEFAULT);
set_obj_color(guider_ui.screen_main_label_area_OUT, COLOR_PURPLE);
}
break;
default:
break;
}
} }
void num_twinkle(void) //数值闪烁 void num_twinkle(void) //数值闪烁
@ -1475,7 +1621,23 @@ void set_working_mode(SIG_FUNCTIONS mode, SIG_FUNCTIONS_TYPE type)
//电压 //电压
case SIG_VOLTAGE: case SIG_VOLTAGE:
{ {
lv_label_set_text(guider_ui.screen_main_label_Mode, "Volt"); switch (tabdata.item3_page0_language)
{
case MENU_SIMPLYFY_CHINESE:
{
lv_label_set_text(guider_ui.screen_main_label_Mode, "电压");
}
break;
case MENU_ENGLISH:
{
lv_label_set_text(guider_ui.screen_main_label_Mode, "Volt");
}
break;
default:
break;
}
switch (type) switch (type)
{ {
@ -1505,7 +1667,23 @@ void set_working_mode(SIG_FUNCTIONS mode, SIG_FUNCTIONS_TYPE type)
//电流 //电流
case SIG_CURRENT: case SIG_CURRENT:
{ {
lv_label_set_text(guider_ui.screen_main_label_Mode, "Cur"); switch (tabdata.item3_page0_language)
{
case MENU_SIMPLYFY_CHINESE:
{
lv_label_set_text(guider_ui.screen_main_label_Mode, "电流");
}
break;
case MENU_ENGLISH:
{
lv_label_set_text(guider_ui.screen_main_label_Mode, "Cur");
}
break;
default:
break;
}
switch (type) switch (type)
{ {
@ -1526,7 +1704,23 @@ void set_working_mode(SIG_FUNCTIONS mode, SIG_FUNCTIONS_TYPE type)
//电阻 //电阻
case SIG_RESISTANT: case SIG_RESISTANT:
{ {
lv_label_set_text(guider_ui.screen_main_label_Mode, "Res"); switch (tabdata.item3_page0_language)
{
case MENU_SIMPLYFY_CHINESE:
{
lv_label_set_text(guider_ui.screen_main_label_Mode, "电阻");
}
break;
case MENU_ENGLISH:
{
lv_label_set_text(guider_ui.screen_main_label_Mode, "Res");
}
break;
default:
break;
}
switch (type) switch (type)
{ {
@ -1547,7 +1741,23 @@ void set_working_mode(SIG_FUNCTIONS mode, SIG_FUNCTIONS_TYPE type)
//频率 //频率
case SIG_FREQUENCE: case SIG_FREQUENCE:
{ {
lv_label_set_text(guider_ui.screen_main_label_Mode, "Fre"); switch (tabdata.item3_page0_language)
{
case MENU_SIMPLYFY_CHINESE:
{
lv_label_set_text(guider_ui.screen_main_label_Mode, "频率");
}
break;
case MENU_ENGLISH:
{
lv_label_set_text(guider_ui.screen_main_label_Mode, "Fre");
}
break;
default:
break;
}
switch (type) switch (type)
{ {
@ -1568,7 +1778,23 @@ void set_working_mode(SIG_FUNCTIONS mode, SIG_FUNCTIONS_TYPE type)
//热电偶 //热电偶
case SIG_TC: case SIG_TC:
{ {
lv_label_set_text(guider_ui.screen_main_label_Mode, "Tc"); switch (tabdata.item3_page0_language)
{
case MENU_SIMPLYFY_CHINESE:
{
lv_label_set_text(guider_ui.screen_main_label_Mode, "热电偶");
}
break;
case MENU_ENGLISH:
{
lv_label_set_text(guider_ui.screen_main_label_Mode, "Tc");
}
break;
default:
break;
}
uint8_t temp = 0; uint8_t temp = 0;
temp = (uint8_t)type; temp = (uint8_t)type;
@ -1634,7 +1860,23 @@ void set_working_mode(SIG_FUNCTIONS mode, SIG_FUNCTIONS_TYPE type)
//热电阻 //热电阻
case SIG_RTD: case SIG_RTD:
{ {
lv_label_set_text(guider_ui.screen_main_label_Mode, "RTD"); switch (tabdata.item3_page0_language)
{
case MENU_SIMPLYFY_CHINESE:
{
lv_label_set_text(guider_ui.screen_main_label_Mode, "热电阻");
}
break;
case MENU_ENGLISH:
{
lv_label_set_text(guider_ui.screen_main_label_Mode, "RTD");
}
break;
default:
break;
}
switch (type) switch (type)
{ {

View File

@ -18,8 +18,10 @@ void tab_data_init(void)
item0_data_init(); item0_data_init();
//ITEMS_1 //ITEMS_1
tabdata.item1_page0_sample_interval = 1500; //ms tabdata.item1_page0_sample_interval = 1500; //ms
tabdata.item1_page0_plot_num = 5; //曲线上同时显示的点数 tabdata.item1_page0_plot_num = 5; //曲线上同时显示的点数
tabdata.item1_page0_color_input = COLOR_YELLOW; //输入曲线颜色
tabdata.item1_page0_color_output = COLOR_BLUE; //输出曲线颜色
//ITEMS_2 //ITEMS_2
tabdata.item2_page0_saveflag = 0; //[0, 1, 2 ] -> [未保存,保存中,已保存] tabdata.item2_page0_saveflag = 0; //[0, 1, 2 ] -> [未保存,保存中,已保存]
@ -89,7 +91,8 @@ void item0_data_init(void)
//针对复位的情况追加进行保存 //针对复位的情况追加进行保存
if(tabdata.item2_page0_resetflag == 1) if(tabdata.item2_page0_resetflag == 1)
{ {
eeprom_datasave(); //eeprom_datasave();
eeprom_datasave_changed();
//保存状态更改为“已保存” //保存状态更改为“已保存”
tabdata.item2_page0_saveflag = 0; tabdata.item2_page0_saveflag = 0;
@ -121,15 +124,6 @@ void key_functions_setting(void)
//加载主界面 //加载主界面
setup_scr_screen_main(&guider_ui); setup_scr_screen_main(&guider_ui);
//设置项同步
lv_chart_set_point_count(guider_ui.screen_main_chart_1, tabdata.item1_page0_plot_num);
for(uint8_t i = 0; i < tabdata.item1_page0_plot_num; i++)
{
lv_chart_set_next_value(guider_ui.screen_main_chart_1, guider_ui.screen_main_chart_1_0, 0);
lv_chart_set_next_value(guider_ui.screen_main_chart_1, guider_ui.screen_main_chart_1_1, 0);
}
delay_cnt(500); delay_cnt(500);
lv_scr_load(guider_ui.screen_main); lv_scr_load(guider_ui.screen_main);
@ -243,7 +237,7 @@ void key_functions_setting(void)
case ITEMS_1: case ITEMS_1:
{ {
tabdata.content_cursor_prv = tabdata.content_cursor; tabdata.content_cursor_prv = tabdata.content_cursor;
tabdata.content_cursor = ( (tabdata.content_cursor - 1) < 0)?(1):(tabdata.content_cursor - 1); tabdata.content_cursor = ( (tabdata.content_cursor - 1) < 0)?(3):(tabdata.content_cursor - 1);
setting_contents_check(tabdata.content_cursor, tabdata.content_cursor_prv); setting_contents_check(tabdata.content_cursor, tabdata.content_cursor_prv);
} }
@ -313,7 +307,7 @@ void key_functions_setting(void)
case ITEMS_1: case ITEMS_1:
{ {
tabdata.content_cursor_prv = tabdata.content_cursor; tabdata.content_cursor_prv = tabdata.content_cursor;
tabdata.content_cursor = ( (tabdata.content_cursor + 1) > 1)?(0):(tabdata.content_cursor + 1); tabdata.content_cursor = ( (tabdata.content_cursor + 1) > 3)?(0):(tabdata.content_cursor + 1);
setting_contents_check(tabdata.content_cursor, tabdata.content_cursor_prv); setting_contents_check(tabdata.content_cursor, tabdata.content_cursor_prv);
} }
@ -602,120 +596,146 @@ void setting_items_check(uint8_t cursor, uint8_t cursor_prv)
//当前选项卡内容翻页隐藏当前页显示目标页page //当前选项卡内容翻页隐藏当前页显示目标页page
void setting_items_page(uint8_t ite, uint8_t page) void setting_items_page(uint8_t ite, uint8_t page)
{ {
//启用所需组件
if( lv_obj_has_flag(guider_ui.screen_setting_label_00, LV_OBJ_FLAG_HIDDEN) ) { lv_obj_clear_flag(guider_ui.screen_setting_label_00, LV_OBJ_FLAG_HIDDEN); };
if( lv_obj_has_flag(guider_ui.screen_setting_label_01, LV_OBJ_FLAG_HIDDEN) ) { lv_obj_clear_flag(guider_ui.screen_setting_label_01, LV_OBJ_FLAG_HIDDEN); };
if( lv_obj_has_flag(guider_ui.screen_setting_label_10, LV_OBJ_FLAG_HIDDEN) ) { lv_obj_clear_flag(guider_ui.screen_setting_label_10, LV_OBJ_FLAG_HIDDEN); };
if( lv_obj_has_flag(guider_ui.screen_setting_label_11, LV_OBJ_FLAG_HIDDEN) ) { lv_obj_clear_flag(guider_ui.screen_setting_label_11, LV_OBJ_FLAG_HIDDEN); };
if( lv_obj_has_flag(guider_ui.screen_setting_label_20, LV_OBJ_FLAG_HIDDEN) ) { lv_obj_clear_flag(guider_ui.screen_setting_label_20, LV_OBJ_FLAG_HIDDEN); };
if( lv_obj_has_flag(guider_ui.screen_setting_label_21, LV_OBJ_FLAG_HIDDEN) ) { lv_obj_clear_flag(guider_ui.screen_setting_label_21, LV_OBJ_FLAG_HIDDEN); };
if( lv_obj_has_flag(guider_ui.screen_setting_label_30, LV_OBJ_FLAG_HIDDEN) ) { lv_obj_clear_flag(guider_ui.screen_setting_label_30, LV_OBJ_FLAG_HIDDEN); };
if( lv_obj_has_flag(guider_ui.screen_setting_label_31, LV_OBJ_FLAG_HIDDEN) ) { lv_obj_clear_flag(guider_ui.screen_setting_label_31, LV_OBJ_FLAG_HIDDEN); };
if( lv_obj_has_flag(guider_ui.screen_setting_label_40, LV_OBJ_FLAG_HIDDEN) ) { lv_obj_clear_flag(guider_ui.screen_setting_label_40, LV_OBJ_FLAG_HIDDEN); };
if( lv_obj_has_flag(guider_ui.screen_setting_label_41, LV_OBJ_FLAG_HIDDEN) ) { lv_obj_clear_flag(guider_ui.screen_setting_label_41, LV_OBJ_FLAG_HIDDEN); };
if( lv_obj_has_flag(guider_ui.screen_setting_label_50, LV_OBJ_FLAG_HIDDEN) ) { lv_obj_clear_flag(guider_ui.screen_setting_label_50, LV_OBJ_FLAG_HIDDEN); };
if( lv_obj_has_flag(guider_ui.screen_setting_label_51, LV_OBJ_FLAG_HIDDEN) ) { lv_obj_clear_flag(guider_ui.screen_setting_label_51, LV_OBJ_FLAG_HIDDEN); };
//特殊处理,避免其他选项卡也被染上颜色
if(ite != ITEMS_1)
{
set_obj_color(guider_ui.screen_setting_label_21, 99);
set_obj_color(guider_ui.screen_setting_label_31, 99);
}
switch (ite) switch (ite)
{ {
case ITEMS_0: case ITEMS_0:
{ {
//隐藏前一页
lv_obj_add_flag(guider_ui.screen_setting_label_00, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_01, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_10, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_11, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_20, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_21, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_30, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_31, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_40, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_41, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_50, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_51, LV_OBJ_FLAG_HIDDEN);
//显示目标页 //显示目标页
switch (page) switch (page)
{ {
case 1: case 1:
{ {
lv_label_set_text(guider_ui.screen_setting_label_00, "电压单位"); switch (tabdata.item3_page0_language)
lv_obj_clear_flag(guider_ui.screen_setting_label_00, LV_OBJ_FLAG_HIDDEN); {
case MENU_SIMPLYFY_CHINESE:
{
lv_label_set_text(guider_ui.screen_setting_label_00, "电压单位");
lv_label_set_text(guider_ui.screen_setting_label_10, "电压上限");
lv_label_set_text(guider_ui.screen_setting_label_20, "电压下限");
lv_label_set_text(guider_ui.screen_setting_label_30, "电流上限");
lv_label_set_text(guider_ui.screen_setting_label_40, "电流下限");
lv_label_set_text(guider_ui.screen_setting_label_50, "电阻上限");
}
break;
case MENU_ENGLISH:
{
lv_label_set_text(guider_ui.screen_setting_label_00, "Voltage unit");
lv_label_set_text(guider_ui.screen_setting_label_10, "Voltage max");
lv_label_set_text(guider_ui.screen_setting_label_20, "Voltage min");
lv_label_set_text(guider_ui.screen_setting_label_30, "Current max");
lv_label_set_text(guider_ui.screen_setting_label_40, "Current min");
lv_label_set_text(guider_ui.screen_setting_label_50, "Res max");
}
break;
default:
break;
}
set_item0_text(VOL_UNIT_SET); set_item0_text(VOL_UNIT_SET);
lv_obj_clear_flag(guider_ui.screen_setting_label_01, LV_OBJ_FLAG_HIDDEN);
lv_label_set_text(guider_ui.screen_setting_label_10, "电压上限");
lv_obj_clear_flag(guider_ui.screen_setting_label_10, LV_OBJ_FLAG_HIDDEN);
set_item0_text(VOL_UP_SET); set_item0_text(VOL_UP_SET);
lv_obj_clear_flag(guider_ui.screen_setting_label_11, LV_OBJ_FLAG_HIDDEN);
lv_label_set_text(guider_ui.screen_setting_label_20, "电压下限");
lv_obj_clear_flag(guider_ui.screen_setting_label_20, LV_OBJ_FLAG_HIDDEN);
set_item0_text(VOL_LOW_SET); set_item0_text(VOL_LOW_SET);
lv_obj_clear_flag(guider_ui.screen_setting_label_21, LV_OBJ_FLAG_HIDDEN);
lv_label_set_text(guider_ui.screen_setting_label_30, "电流上限");
lv_obj_clear_flag(guider_ui.screen_setting_label_30, LV_OBJ_FLAG_HIDDEN);
set_item0_text(CURRENT_UP_SET); set_item0_text(CURRENT_UP_SET);
lv_obj_clear_flag(guider_ui.screen_setting_label_31, LV_OBJ_FLAG_HIDDEN);
lv_label_set_text(guider_ui.screen_setting_label_40, "电流下限");
lv_obj_clear_flag(guider_ui.screen_setting_label_40, LV_OBJ_FLAG_HIDDEN);
set_item0_text(CURRENT_LOW_SET); set_item0_text(CURRENT_LOW_SET);
lv_obj_clear_flag(guider_ui.screen_setting_label_41, LV_OBJ_FLAG_HIDDEN);
lv_label_set_text(guider_ui.screen_setting_label_50, "电阻上限");
lv_obj_clear_flag(guider_ui.screen_setting_label_50, LV_OBJ_FLAG_HIDDEN);
set_item0_text(RES_UP_SET); set_item0_text(RES_UP_SET);
lv_obj_clear_flag(guider_ui.screen_setting_label_51, LV_OBJ_FLAG_HIDDEN);
} }
break; break;
case 2: case 2:
{ {
lv_label_set_text(guider_ui.screen_setting_label_00, "电阻下限"); switch (tabdata.item3_page0_language)
lv_obj_clear_flag(guider_ui.screen_setting_label_00, LV_OBJ_FLAG_HIDDEN); {
case MENU_SIMPLYFY_CHINESE:
{
lv_label_set_text(guider_ui.screen_setting_label_00, "电阻下限");
lv_label_set_text(guider_ui.screen_setting_label_10, "频率上限");
lv_label_set_text(guider_ui.screen_setting_label_20, "频率下限");
lv_label_set_text(guider_ui.screen_setting_label_30, "热电偶类型");
lv_label_set_text(guider_ui.screen_setting_label_40, "热电偶上限");
lv_label_set_text(guider_ui.screen_setting_label_50, "热电偶下限");
}
break;
set_item0_text(RES_LOW_SET); case MENU_ENGLISH:
lv_obj_clear_flag(guider_ui.screen_setting_label_01, LV_OBJ_FLAG_HIDDEN); {
lv_label_set_text(guider_ui.screen_setting_label_00, "Res min");
lv_label_set_text(guider_ui.screen_setting_label_10, "频率上限"); lv_label_set_text(guider_ui.screen_setting_label_10, "Freq max");
lv_obj_clear_flag(guider_ui.screen_setting_label_10, LV_OBJ_FLAG_HIDDEN); lv_label_set_text(guider_ui.screen_setting_label_20, "Freq min");
lv_label_set_text(guider_ui.screen_setting_label_30, "TC type");
set_item0_text(FRE_UP_SET); lv_label_set_text(guider_ui.screen_setting_label_40, "TC min");
lv_obj_clear_flag(guider_ui.screen_setting_label_11, LV_OBJ_FLAG_HIDDEN); lv_label_set_text(guider_ui.screen_setting_label_50, "TC max");
}
lv_label_set_text(guider_ui.screen_setting_label_20, "频率下限"); break;
lv_obj_clear_flag(guider_ui.screen_setting_label_20, LV_OBJ_FLAG_HIDDEN);
default:
set_item0_text(FRE_LOW_SET); break;
lv_obj_clear_flag(guider_ui.screen_setting_label_21, LV_OBJ_FLAG_HIDDEN); }
lv_label_set_text(guider_ui.screen_setting_label_30, "TC类型");
lv_obj_clear_flag(guider_ui.screen_setting_label_30, LV_OBJ_FLAG_HIDDEN);
set_item0_text(TC_TYPE_SET);
lv_obj_clear_flag(guider_ui.screen_setting_label_31, LV_OBJ_FLAG_HIDDEN);
lv_label_set_text(guider_ui.screen_setting_label_40, "TC上限");
lv_obj_clear_flag(guider_ui.screen_setting_label_40, LV_OBJ_FLAG_HIDDEN);
set_item0_text(TC_UP_SET);
lv_obj_clear_flag(guider_ui.screen_setting_label_41, LV_OBJ_FLAG_HIDDEN);
lv_label_set_text(guider_ui.screen_setting_label_50, "TC下限");
lv_obj_clear_flag(guider_ui.screen_setting_label_50, LV_OBJ_FLAG_HIDDEN);
set_item0_text(TC_LOW_SET); set_item0_text(TC_LOW_SET);
lv_obj_clear_flag(guider_ui.screen_setting_label_51, LV_OBJ_FLAG_HIDDEN); set_item0_text(TC_UP_SET);
set_item0_text(TC_TYPE_SET);
set_item0_text(FRE_LOW_SET);
set_item0_text(FRE_UP_SET);
set_item0_text(RES_LOW_SET);
} }
break; break;
case 3: case 3:
{ {
lv_label_set_text(guider_ui.screen_setting_label_00, "RTD上限"); switch (tabdata.item3_page0_language)
lv_obj_clear_flag(guider_ui.screen_setting_label_00, LV_OBJ_FLAG_HIDDEN); {
case MENU_SIMPLYFY_CHINESE:
{
lv_label_set_text(guider_ui.screen_setting_label_00, "热电阻上限");
lv_label_set_text(guider_ui.screen_setting_label_10, "热电阻下限");
}
break;
case MENU_ENGLISH:
{
lv_label_set_text(guider_ui.screen_setting_label_00, "RTD min");
lv_label_set_text(guider_ui.screen_setting_label_10, "RTD max");
}
break;
default:
break;
}
set_item0_text(RTD_UP_SET); set_item0_text(RTD_UP_SET);
lv_obj_clear_flag(guider_ui.screen_setting_label_01, LV_OBJ_FLAG_HIDDEN);
lv_label_set_text(guider_ui.screen_setting_label_10, "RTD下限");
lv_obj_clear_flag(guider_ui.screen_setting_label_10, LV_OBJ_FLAG_HIDDEN);
set_item0_text(RTD_LOW_SET); set_item0_text(RTD_LOW_SET);
lv_obj_clear_flag(guider_ui.screen_setting_label_11, LV_OBJ_FLAG_HIDDEN);
//隐藏多余组件
lv_obj_add_flag(guider_ui.screen_setting_label_20, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_21, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_30, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_31, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_40, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_41, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_50, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_51, LV_OBJ_FLAG_HIDDEN);
} }
break; break;
@ -730,36 +750,45 @@ void setting_items_page(uint8_t ite, uint8_t page)
case ITEMS_1: case ITEMS_1:
{ {
//隐藏前一页
lv_obj_add_flag(guider_ui.screen_setting_label_00, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_01, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_10, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_11, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_20, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_21, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_30, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_31, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_40, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_41, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_50, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_51, LV_OBJ_FLAG_HIDDEN);
//显示目标页 //显示目标页
switch (page) switch (page)
{ {
case 1: case 1:
{ {
lv_label_set_text(guider_ui.screen_setting_label_00, "采样间隔"); switch (tabdata.item3_page0_language)
lv_obj_clear_flag(guider_ui.screen_setting_label_00, LV_OBJ_FLAG_HIDDEN); {
case MENU_SIMPLYFY_CHINESE:
{
lv_label_set_text(guider_ui.screen_setting_label_00, "采样间隔");
lv_label_set_text(guider_ui.screen_setting_label_10, "描点数量");
lv_label_set_text(guider_ui.screen_setting_label_20, "颜色-输入");
lv_label_set_text(guider_ui.screen_setting_label_30, "颜色-输出");
}
break;
case MENU_ENGLISH:
{
lv_label_set_text(guider_ui.screen_setting_label_00, "Plot gap");
lv_label_set_text(guider_ui.screen_setting_label_10, "Plot count");
lv_label_set_text(guider_ui.screen_setting_label_20, "Color-input");
lv_label_set_text(guider_ui.screen_setting_label_30, "Color-output");
}
break;
default:
break;
}
set_item1_text(SAMPLE_INTERVAL); set_item1_text(SAMPLE_INTERVAL);
lv_obj_clear_flag(guider_ui.screen_setting_label_01, LV_OBJ_FLAG_HIDDEN);
lv_label_set_text(guider_ui.screen_setting_label_10, "描点数量");
lv_obj_clear_flag(guider_ui.screen_setting_label_10, LV_OBJ_FLAG_HIDDEN);
set_item1_text(PLOT_NUM); set_item1_text(PLOT_NUM);
lv_obj_clear_flag(guider_ui.screen_setting_label_11, LV_OBJ_FLAG_HIDDEN); set_item1_text(INPUT_COLOR);
set_item1_text(OUTPUT_COLOR);
//隐藏多余组件
lv_obj_add_flag(guider_ui.screen_setting_label_40, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_41, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_50, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_51, LV_OBJ_FLAG_HIDDEN);
} }
break; break;
@ -775,48 +804,45 @@ void setting_items_page(uint8_t ite, uint8_t page)
case ITEMS_2: case ITEMS_2:
{ {
//隐藏前一页
lv_obj_add_flag(guider_ui.screen_setting_label_00, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_01, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_10, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_11, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_20, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_21, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_30, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_31, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_40, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_41, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_50, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_51, LV_OBJ_FLAG_HIDDEN);
//显示目标页 //显示目标页
switch (page) switch (page)
{ {
case 1: case 1:
{ {
lv_label_set_text(guider_ui.screen_setting_label_00, "参数保存"); switch (tabdata.item3_page0_language)
lv_obj_clear_flag(guider_ui.screen_setting_label_00, LV_OBJ_FLAG_HIDDEN); {
case MENU_SIMPLYFY_CHINESE:
{
lv_label_set_text(guider_ui.screen_setting_label_00, "参数保存");
lv_label_set_text(guider_ui.screen_setting_label_10, "输入记录");
lv_label_set_text(guider_ui.screen_setting_label_20, "输出记录");
lv_label_set_text(guider_ui.screen_setting_label_30, "参数复位");
}
break;
case MENU_ENGLISH:
{
lv_label_set_text(guider_ui.screen_setting_label_00, "Para save");
lv_label_set_text(guider_ui.screen_setting_label_10, "Input log");
lv_label_set_text(guider_ui.screen_setting_label_20, "Output log");
lv_label_set_text(guider_ui.screen_setting_label_30, "Para reset");
}
break;
default:
break;
}
set_item2_text(DATA_SAVE); set_item2_text(DATA_SAVE);
lv_obj_clear_flag(guider_ui.screen_setting_label_01, LV_OBJ_FLAG_HIDDEN);
lv_label_set_text(guider_ui.screen_setting_label_10, "输入记录");
lv_obj_clear_flag(guider_ui.screen_setting_label_10, LV_OBJ_FLAG_HIDDEN);
set_item2_text(INPUT_LOG); set_item2_text(INPUT_LOG);
lv_obj_clear_flag(guider_ui.screen_setting_label_11, LV_OBJ_FLAG_HIDDEN);
lv_label_set_text(guider_ui.screen_setting_label_20, "输出记录");
lv_obj_clear_flag(guider_ui.screen_setting_label_20, LV_OBJ_FLAG_HIDDEN);
set_item2_text(OUTPUT_LOG); set_item2_text(OUTPUT_LOG);
lv_obj_clear_flag(guider_ui.screen_setting_label_21, LV_OBJ_FLAG_HIDDEN);
lv_label_set_text(guider_ui.screen_setting_label_30, "参数复位");
lv_obj_clear_flag(guider_ui.screen_setting_label_30, LV_OBJ_FLAG_HIDDEN);
set_item2_text(DATA_RESET); set_item2_text(DATA_RESET);
lv_obj_clear_flag(guider_ui.screen_setting_label_31, LV_OBJ_FLAG_HIDDEN);
//隐藏多余组件
lv_obj_add_flag(guider_ui.screen_setting_label_40, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_41, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_50, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_51, LV_OBJ_FLAG_HIDDEN);
} }
break; break;
@ -828,36 +854,43 @@ void setting_items_page(uint8_t ite, uint8_t page)
case ITEMS_3: case ITEMS_3:
{ {
//隐藏前一页
lv_obj_add_flag(guider_ui.screen_setting_label_00, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_01, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_10, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_11, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_20, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_21, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_30, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_31, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_40, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_41, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_50, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_51, LV_OBJ_FLAG_HIDDEN);
//显示目标页 //显示目标页
switch (page) switch (page)
{ {
case 1: case 1:
{ {
lv_label_set_text(guider_ui.screen_setting_label_00, "照明"); switch (tabdata.item3_page0_language)
lv_obj_clear_flag(guider_ui.screen_setting_label_00, LV_OBJ_FLAG_HIDDEN); {
case MENU_SIMPLYFY_CHINESE:
{
lv_label_set_text(guider_ui.screen_setting_label_00, "照明");
lv_label_set_text(guider_ui.screen_setting_label_10, "语言");
}
break;
case MENU_ENGLISH:
{
lv_label_set_text(guider_ui.screen_setting_label_00, "Lighting");
lv_label_set_text(guider_ui.screen_setting_label_10, "Language");
}
break;
default:
break;
}
set_item3_text(LIGHT_STATUS); set_item3_text(LIGHT_STATUS);
lv_obj_clear_flag(guider_ui.screen_setting_label_01, LV_OBJ_FLAG_HIDDEN);
lv_label_set_text(guider_ui.screen_setting_label_10, "语言");
lv_obj_clear_flag(guider_ui.screen_setting_label_10, LV_OBJ_FLAG_HIDDEN);
set_item3_text(LANGUAGE_SELECT); set_item3_text(LANGUAGE_SELECT);
lv_obj_clear_flag(guider_ui.screen_setting_label_11, LV_OBJ_FLAG_HIDDEN);
//隐藏多余组件
lv_obj_add_flag(guider_ui.screen_setting_label_20, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_21, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_30, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_31, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_40, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_41, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_50, LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(guider_ui.screen_setting_label_51, LV_OBJ_FLAG_HIDDEN);
} }
break; break;
@ -989,13 +1022,9 @@ void scr_setting_recover(void)
tabdata.item_page = 1; tabdata.item_page = 1;
//在这里恢复选项卡0第1页的显示内容 //在这里恢复选项卡0第1页的显示内容
//ITEMS_0 //ITEMS_0
set_item0_text(VOL_UNIT_SET); setting_laguage_switch(tabdata.item3_page0_language);
set_item0_text(VOL_UP_SET); setting_items_page(ITEMS_0 ,tabdata.item_page);
set_item0_text(VOL_LOW_SET);
set_item0_text(CURRENT_UP_SET);
set_item0_text(CURRENT_LOW_SET);
set_item0_text(RES_UP_SET);
set_item0_text(PAGE_PV);
} }
// uint8_t eep_test_flag = 0; // uint8_t eep_test_flag = 0;
@ -1052,4 +1081,37 @@ void scr_setting_run(void) //详细设置界面
// } // }
} }
//设置界面语言切换主界面的语言切换在set_working_mode内
//此处用于更改标题和选项卡的语言,内容的语言切换在 set_XXX_text & set_XXX_value内
void setting_laguage_switch(uint8_t lan)
{
switch (lan)
{
case MENU_SIMPLYFY_CHINESE:
{
lv_label_set_text(guider_ui.screen_setting_label_title, "详细设置");
lv_label_set_text(guider_ui.screen_setting_label_s0, "量程设置");
lv_label_set_text(guider_ui.screen_setting_label_s1, "曲线设置");
lv_label_set_text(guider_ui.screen_setting_label_s2, "数据存储");
lv_label_set_text(guider_ui.screen_setting_label_s3, "系统设置");
}
break;
case MENU_ENGLISH:
{
lv_label_set_text(guider_ui.screen_setting_label_title, "Detailed Settings");
lv_label_set_text(guider_ui.screen_setting_label_s0, "Range");
lv_label_set_text(guider_ui.screen_setting_label_s1, "Chart");
lv_label_set_text(guider_ui.screen_setting_label_s2, "Storage");
lv_label_set_text(guider_ui.screen_setting_label_s3, "System");
}
break;
default:
break;
}
}

View File

@ -221,8 +221,8 @@ uint8_t eeprom_readdata(int32_t addr_long)
return rxd; return rxd;
} }
#if DATA_SAVE_ALL
//存储参数 //存储参数,全部
void eeprom_datasave(void) void eeprom_datasave(void)
{ {
uint8_t temp_h = 0, temp_l = 0; uint8_t temp_h = 0, temp_l = 0;
@ -385,6 +385,72 @@ void eeprom_datasave(void)
eeprom_writedata(RTD_LOW_ADDR + 8, temp_l); eeprom_writedata(RTD_LOW_ADDR + 8, temp_l);
} }
#else
//保存修改过的数据
void eeprom_datasave_changed(void)
{
TABVIEW_DATA tab_temp;
memcpy(&tab_temp, &tabdata, sizeof(TABVIEW_DATA));
eeprom_dataread();
if( (tab_temp.item0_page0_vup[0] != tabdata.item0_page0_vup[0])||(tab_temp.item0_page0_vlow[0] != tabdata.item0_page0_vlow[0])||\
(tab_temp.item0_page0_vup[1] != tabdata.item0_page0_vup[1])||(tab_temp.item0_page0_vlow[1] != tabdata.item0_page0_vlow[1]) )
{
tabdata.item0_page0_vup[0] = tab_temp.item0_page0_vup[0];
tabdata.item0_page0_vlow[0] = tab_temp.item0_page0_vlow[0];
tabdata.item0_page0_vup[1] = tab_temp.item0_page0_vup[1];
tabdata.item0_page0_vlow[1] = tab_temp.item0_page0_vlow[1];
eeprom_datasave_single(0);
}
if( (tab_temp.item0_page0_cup != tabdata.item0_page0_cup)||(tab_temp.item0_page0_clow != tabdata.item0_page0_clow) )
{
tabdata.item0_page0_cup = tab_temp.item0_page0_cup;
tabdata.item0_page0_clow = tab_temp.item0_page0_clow;
eeprom_datasave_single(1);
}
if( (tab_temp.item0_page0_rup != tabdata.item0_page0_rup)||(tab_temp.item0_page1_rlow != tabdata.item0_page1_rlow) )
{
tabdata.item0_page0_rup = tab_temp.item0_page0_rup;
tabdata.item0_page1_rlow = tab_temp.item0_page1_rlow;
eeprom_datasave_single(2);
}
if( (tab_temp.item0_page1_fup != tabdata.item0_page1_fup)||(tab_temp.item0_page1_flow != tabdata.item0_page1_flow) )
{
tabdata.item0_page1_fup = tab_temp.item0_page1_fup;
tabdata.item0_page1_flow = tab_temp.item0_page1_flow;
eeprom_datasave_single(3);
}
for(uint8_t i = 0 ; i < 8; i++)
{
if( (tab_temp.item0_page1_TCup[i] != tabdata.item0_page1_TCup[i])||(tab_temp.item0_page1_TClow[i] != tabdata.item0_page1_TClow[i]) )
{
tabdata.item0_page1_TCup[i] = tab_temp.item0_page1_TCup[i];
tabdata.item0_page1_TClow[i] = tab_temp.item0_page1_TClow[i];
eeprom_datasave_single( i + 4 );
}
}
if( (tab_temp.item0_page2_RTDup != tabdata.item0_page2_RTDup)||(tab_temp.item0_page2_RTDlow != tabdata.item0_page2_RTDlow) )
{
tabdata.item0_page2_RTDup = tab_temp.item0_page2_RTDup;
tabdata.item0_page2_RTDlow = tab_temp.item0_page2_RTDlow;
eeprom_datasave_single(12);
}
}
#endif
void eeprom_datasave_single(uint8_t tag) void eeprom_datasave_single(uint8_t tag)
{ {
@ -779,7 +845,8 @@ uint8_t eeprom_device_check(void)
tabdata.item0_page2_RTDup = RTD.up; //RTD上限 tabdata.item0_page2_RTDup = RTD.up; //RTD上限
tabdata.item0_page2_RTDlow = RTD.low; //RTD下限 tabdata.item0_page2_RTDlow = RTD.low; //RTD下限
eeprom_datasave(); //eeprom_datasave();
eeprom_datasave_changed();
eeprom_writedata(DEVICE_CHECK, 0xAA); eeprom_writedata(DEVICE_CHECK, 0xAA);
eeprom_writedata(DEVICE_CHECK + 8, 0xAA); eeprom_writedata(DEVICE_CHECK + 8, 0xAA);
@ -793,3 +860,5 @@ uint8_t eeprom_device_check(void)
} }

View File

@ -413,6 +413,37 @@ void set_item1_text(uint8_t con)
} }
break; break;
case INPUT_COLOR:
{
if(tabdata.content_focus == 0)
{
lv_label_set_text(guider_ui.screen_setting_label_21, "===");
}
else
{
lv_label_set_text(guider_ui.screen_setting_label_21, "<===>");
set_contents_color(2, 0x000000);
}
set_obj_color(guider_ui.screen_setting_label_21, tabdata.item1_page0_color_input);
}
break;
case OUTPUT_COLOR:
{
if(tabdata.content_focus == 0)
{
lv_label_set_text(guider_ui.screen_setting_label_31, "===");
}
else
{
lv_label_set_text(guider_ui.screen_setting_label_31, "<===>");
set_contents_color(3, 0x000000);
}
set_obj_color(guider_ui.screen_setting_label_31, tabdata.item1_page0_color_output);
}
break;
case PAGE_PV: case PAGE_PV:
{ {
sprintf(str_temp,"< %d / %d >",tabdata.item_page, I1_PAGE_MAX); sprintf(str_temp,"< %d / %d >",tabdata.item_page, I1_PAGE_MAX);
@ -436,54 +467,124 @@ void set_item2_text(uint8_t con)
{ {
if(tabdata.content_focus == 0) if(tabdata.content_focus == 0)
{ {
switch (tabdata.item2_page0_saveflag) switch (tabdata.item3_page0_language)
{ {
case 0: case MENU_SIMPLYFY_CHINESE:
{ {
lv_label_set_text(guider_ui.screen_setting_label_01, "未保存"); switch (tabdata.item2_page0_saveflag)
{
case 0:
{
lv_label_set_text(guider_ui.screen_setting_label_01, "未保存");
}
break;
case 1:
{
lv_label_set_text(guider_ui.screen_setting_label_01, "保存中");
}
break;
case 2:
{
lv_label_set_text(guider_ui.screen_setting_label_01, "已保存");
}
break;
default:
break;
}
} }
break; break;
case 1: case MENU_ENGLISH:
{ {
lv_label_set_text(guider_ui.screen_setting_label_01, "保存中"); switch (tabdata.item2_page0_saveflag)
} {
break; case 0:
{
lv_label_set_text(guider_ui.screen_setting_label_01, "not saved");
}
break;
case 2: case 1:
{ {
lv_label_set_text(guider_ui.screen_setting_label_01, "已保存"); lv_label_set_text(guider_ui.screen_setting_label_01, "saving");
}
break;
case 2:
{
lv_label_set_text(guider_ui.screen_setting_label_01, "saved");
}
break;
default:
break;
}
} }
break; break;
default:
break;
} }
} }
else else
{ {
switch (tabdata.item2_page0_saveflag) switch (tabdata.item3_page0_language)
{ {
case 0: case MENU_SIMPLYFY_CHINESE:
{ {
lv_label_set_text(guider_ui.screen_setting_label_01, "< 未保存 >"); switch (tabdata.item2_page0_saveflag)
{
case 0:
{
lv_label_set_text(guider_ui.screen_setting_label_01, "< 未保存 >");
}
break;
case 1:
{
lv_label_set_text(guider_ui.screen_setting_label_01, "< 保存中 >");
}
break;
case 2:
{
lv_label_set_text(guider_ui.screen_setting_label_01, "< 已保存 >");
}
break;
default:
break;
}
} }
break; break;
case 1: case MENU_ENGLISH:
{ {
lv_label_set_text(guider_ui.screen_setting_label_01, "< 保存中 >"); switch (tabdata.item2_page0_saveflag)
} {
break; case 0:
{
lv_label_set_text(guider_ui.screen_setting_label_01, "< Not save >");
}
break;
case 2: case 1:
{ {
lv_label_set_text(guider_ui.screen_setting_label_01, "< 已保存 >"); lv_label_set_text(guider_ui.screen_setting_label_01, "< saving >");
}
break;
case 2:
{
lv_label_set_text(guider_ui.screen_setting_label_01, "< Finished >");
}
break;
default:
break;
}
} }
break; break;
default:
break;
} }
} }
} }
@ -493,54 +594,124 @@ void set_item2_text(uint8_t con)
{ {
if(tabdata.content_focus == 0) if(tabdata.content_focus == 0)
{ {
switch (tabdata.item2_page0_resetflag) switch (tabdata.item3_page0_language)
{ {
case 0: case MENU_SIMPLYFY_CHINESE:
{ {
lv_label_set_text(guider_ui.screen_setting_label_31, "未复位"); switch (tabdata.item2_page0_resetflag)
{
case 0:
{
lv_label_set_text(guider_ui.screen_setting_label_31, "未复位");
}
break;
case 1:
{
lv_label_set_text(guider_ui.screen_setting_label_31, "复位中");
}
break;
case 2:
{
lv_label_set_text(guider_ui.screen_setting_label_31, "已复位");
}
break;
default:
break;
}
} }
break; break;
case 1: case MENU_ENGLISH:
{ {
lv_label_set_text(guider_ui.screen_setting_label_31, "复位中"); switch (tabdata.item2_page0_resetflag)
} {
break; case 0:
{
lv_label_set_text(guider_ui.screen_setting_label_31, "No reset");
}
break;
case 2: case 1:
{ {
lv_label_set_text(guider_ui.screen_setting_label_31, "已复位"); lv_label_set_text(guider_ui.screen_setting_label_31, "resetting");
}
break;
case 2:
{
lv_label_set_text(guider_ui.screen_setting_label_31, "Finished");
}
break;
default:
break;
}
} }
break; break;
default:
break;
} }
} }
else else
{ {
switch (tabdata.item2_page0_resetflag) switch (tabdata.item3_page0_language)
{ {
case 0: case MENU_SIMPLYFY_CHINESE:
{ {
lv_label_set_text(guider_ui.screen_setting_label_31, "< 未复位 >"); switch (tabdata.item2_page0_resetflag)
{
case 0:
{
lv_label_set_text(guider_ui.screen_setting_label_31, "< 未复位 >");
}
break;
case 1:
{
lv_label_set_text(guider_ui.screen_setting_label_31, "< 复位中 >");
}
break;
case 2:
{
lv_label_set_text(guider_ui.screen_setting_label_31, "< 已复位 >");
}
break;
default:
break;
}
} }
break; break;
case 1: case MENU_ENGLISH:
{ {
lv_label_set_text(guider_ui.screen_setting_label_31, "< 复位中 >"); switch (tabdata.item2_page0_resetflag)
} {
break; case 0:
{
lv_label_set_text(guider_ui.screen_setting_label_31, "< No reset >");
}
break;
case 2: case 1:
{ {
lv_label_set_text(guider_ui.screen_setting_label_31, "< 已复位 >"); lv_label_set_text(guider_ui.screen_setting_label_31, "< resetting >");
}
break;
case 2:
{
lv_label_set_text(guider_ui.screen_setting_label_31, "< Finished >");
}
break;
default:
break;
}
} }
break; break;
default:
break;
} }
} }
} }
@ -581,24 +752,64 @@ void set_item3_text(uint8_t con)
{ {
if(tabdata.content_focus == 0) if(tabdata.content_focus == 0)
{ {
if(tabdata.item3_page0_lightflag) switch (tabdata.item3_page0_language)
{ {
lv_label_set_text(guider_ui.screen_setting_label_01, ""); case MENU_SIMPLYFY_CHINESE:
} {
else if(tabdata.item3_page0_lightflag)
{ {
lv_label_set_text(guider_ui.screen_setting_label_01, ""); lv_label_set_text(guider_ui.screen_setting_label_01, "");
}
else
{
lv_label_set_text(guider_ui.screen_setting_label_01, "");
}
}
break;
case MENU_ENGLISH:
{
if(tabdata.item3_page0_lightflag)
{
lv_label_set_text(guider_ui.screen_setting_label_01, "ON");
}
else
{
lv_label_set_text(guider_ui.screen_setting_label_01, "OFF");
}
}
break;
} }
} }
else else
{ {
if(tabdata.item3_page0_lightflag) switch (tabdata.item3_page0_language)
{ {
lv_label_set_text(guider_ui.screen_setting_label_01, "< 开 >"); case MENU_SIMPLYFY_CHINESE:
} {
else if(tabdata.item3_page0_lightflag)
{ {
lv_label_set_text(guider_ui.screen_setting_label_01, "< 关 >"); lv_label_set_text(guider_ui.screen_setting_label_01, "< 开 >");
}
else
{
lv_label_set_text(guider_ui.screen_setting_label_01, "< 关 >");
}
}
break;
case MENU_ENGLISH:
{
if(tabdata.item3_page0_lightflag)
{
lv_label_set_text(guider_ui.screen_setting_label_01, "< ON >");
}
else
{
lv_label_set_text(guider_ui.screen_setting_label_01, "< OFF >");
}
}
break;
} }
} }
} }
@ -633,12 +844,39 @@ void set_item3_text(uint8_t con)
case MENU_SIMPLYFY_CHINESE: case MENU_SIMPLYFY_CHINESE:
{ {
lv_label_set_text(guider_ui.screen_setting_label_11, "< 简体中文 >"); lv_label_set_text(guider_ui.screen_setting_label_11, "< 简体中文 >");
//切换语言后,更新本页的其他文本
lv_label_set_text(guider_ui.screen_setting_label_00, "照明");
if(tabdata.item3_page0_lightflag)
{
lv_label_set_text(guider_ui.screen_setting_label_01, "");
}
else
{
lv_label_set_text(guider_ui.screen_setting_label_01, "");
}
lv_label_set_text(guider_ui.screen_setting_label_10, "语言");
} }
break; break;
case MENU_ENGLISH: case MENU_ENGLISH:
{ {
lv_label_set_text(guider_ui.screen_setting_label_11, "< English >"); lv_label_set_text(guider_ui.screen_setting_label_11, "< English >");
//切换语言后,更新本页的其他文本
lv_label_set_text(guider_ui.screen_setting_label_00, "Lighting");
if(tabdata.item3_page0_lightflag)
{
lv_label_set_text(guider_ui.screen_setting_label_01, "ON");
}
else
{
lv_label_set_text(guider_ui.screen_setting_label_01, "OFF");
}
lv_label_set_text(guider_ui.screen_setting_label_10, "Language");
} }
break; break;
@ -661,3 +899,53 @@ void set_item3_text(uint8_t con)
} }
} }
//修改对象颜色
void set_obj_color(lv_obj_t * obj, uint8_t color)
{
switch (color)
{
case COLOR_BLUE:
{
lv_obj_set_style_text_color(obj, lv_color_hex(COLOR_BLUE_VALUE), LV_PART_MAIN|LV_STATE_DEFAULT);
}
break;
case COLOR_DARK_BLUE:
{
lv_obj_set_style_text_color(obj, lv_color_hex(COLOR_DARK_BLUE_VALUE), LV_PART_MAIN|LV_STATE_DEFAULT);
}
break;
case COLOR_YELLOW:
{
lv_obj_set_style_text_color(obj, lv_color_hex(COLOR_YELLOW_VALUE), LV_PART_MAIN|LV_STATE_DEFAULT);
}
break;
case COLOR_GREEN:
{
lv_obj_set_style_text_color(obj, lv_color_hex(COLOR_GREEN_VALUE), LV_PART_MAIN|LV_STATE_DEFAULT);
}
break;
case COLOR_RED:
{
lv_obj_set_style_text_color(obj, lv_color_hex(COLOR_RED_VALUE), LV_PART_MAIN|LV_STATE_DEFAULT);
}
break;
case COLOR_PURPLE:
{
lv_obj_set_style_text_color(obj, lv_color_hex(COLOR_PURPLE_VALUE), LV_PART_MAIN|LV_STATE_DEFAULT);
}
break;
default:
{
lv_obj_set_style_text_color(obj, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
}
break;
}
}

View File

@ -257,7 +257,24 @@ void set_item1_value(uint8_t con, int8_t step)
if( tabdata.item1_page0_plot_num > 20 ) tabdata.item1_page0_plot_num = 20; if( tabdata.item1_page0_plot_num > 20 ) tabdata.item1_page0_plot_num = 20;
if( tabdata.item1_page0_plot_num < 3 ) tabdata.item1_page0_plot_num = 3; if( tabdata.item1_page0_plot_num < 3 ) tabdata.item1_page0_plot_num = 3;
}
break;
case INPUT_COLOR:
{
tabdata.item1_page0_color_input += step;
if( tabdata.item1_page0_color_input > 5 ) tabdata.item1_page0_color_input = 0;
if( tabdata.item1_page0_color_input < 0 ) tabdata.item1_page0_color_input = 5;
}
break;
case OUTPUT_COLOR:
{
tabdata.item1_page0_color_output += step;
if( tabdata.item1_page0_color_output > 5 ) tabdata.item1_page0_color_output = 0;
if( tabdata.item1_page0_color_output < 0 ) tabdata.item1_page0_color_output = 5;
} }
break; break;
@ -277,9 +294,12 @@ void set_item2_value(uint8_t con, int8_t step)
{ {
tabdata.item2_page0_saveflag = 1; tabdata.item2_page0_saveflag = 1;
set_item2_text(DATA_SAVE);
//执行保存 //执行保存
set_item1_text(DATA_SAVE); //eeprom_datasave();
eeprom_datasave(); eeprom_datasave_changed();
save_cnt = 0; save_cnt = 0;
} }
} }
@ -291,8 +311,11 @@ void set_item2_value(uint8_t con, int8_t step)
{ {
tabdata.item2_page0_resetflag = 1; tabdata.item2_page0_resetflag = 1;
set_item2_text(DATA_RESET);
//执行复位 //执行复位
item0_data_init(); item0_data_init();
reset_cnt = 0; reset_cnt = 0;
} }
} }
@ -323,6 +346,9 @@ void set_item3_value(uint8_t con, int8_t step)
case LANGUAGE_SELECT: case LANGUAGE_SELECT:
{ {
tabdata.item3_page0_language = (tabdata.item3_page0_language > 0)?(0):(tabdata.item3_page0_language + 1); tabdata.item3_page0_language = (tabdata.item3_page0_language > 0)?(0):(tabdata.item3_page0_language + 1);
//修改语言选项后,随即更改标题、选项卡、当前页面的语言
setting_laguage_switch(tabdata.item3_page0_language);
} }
break; break;

View File

@ -65,11 +65,6 @@ typedef struct
lv_obj_t *screen_main_line_legend_OUT; lv_obj_t *screen_main_line_legend_OUT;
lv_obj_t *screen_setting; lv_obj_t *screen_setting;
bool screen_setting_del; bool screen_setting_del;
lv_obj_t *screen_setting_label_title;
lv_obj_t *screen_setting_label_s0;
lv_obj_t *screen_setting_label_s1;
lv_obj_t *screen_setting_label_s2;
lv_obj_t *screen_setting_label_s3;
lv_obj_t *screen_setting_label_01; lv_obj_t *screen_setting_label_01;
lv_obj_t *screen_setting_label_00; lv_obj_t *screen_setting_label_00;
lv_obj_t *screen_setting_label_10; lv_obj_t *screen_setting_label_10;
@ -83,9 +78,15 @@ typedef struct
lv_obj_t *screen_setting_label_50; lv_obj_t *screen_setting_label_50;
lv_obj_t *screen_setting_label_51; lv_obj_t *screen_setting_label_51;
lv_obj_t *screen_setting_label_page; lv_obj_t *screen_setting_label_page;
lv_obj_t *screen_setting_label_title;
lv_obj_t *screen_setting_label_s0;
lv_obj_t *screen_setting_label_s1;
lv_obj_t *screen_setting_label_s2;
lv_obj_t *screen_setting_label_s3;
lv_obj_t *screen_hidden; lv_obj_t *screen_hidden;
bool screen_hidden_del; bool screen_hidden_del;
lv_obj_t *screen_hidden_label_1; lv_obj_t *screen_hidden_label_size14;
lv_obj_t *screen_hidden_label_size16;
}lv_ui; }lv_ui;
typedef void (*ui_setup_scr_t)(lv_ui * ui); typedef void (*ui_setup_scr_t)(lv_ui * ui);

View File

@ -1345,6 +1345,20 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x0, 0xd2, 0x60, 0x26, 0x68, 0x66, 0x66, 0x0, 0x0, 0xd2, 0x60, 0x26, 0x68, 0x66, 0x66,
0x66, 0x87, 0x81, 0x66, 0x87, 0x81,
/* U+8272 "色" */
0x0, 0x0, 0x82, 0x0, 0x0, 0x0, 0x0, 0x0,
0x7, 0xc0, 0x1, 0x40, 0x0, 0x0, 0x0, 0x1e,
0x66, 0x6c, 0xa0, 0x0, 0x0, 0x0, 0x95, 0x0,
0x29, 0x0, 0x0, 0x0, 0x5, 0xf6, 0x66, 0xc6,
0x66, 0xd6, 0x0, 0x44, 0xd1, 0x0, 0xe0, 0x0,
0xc2, 0x0, 0x0, 0xd1, 0x0, 0xe0, 0x0, 0xc2,
0x0, 0x0, 0xd7, 0x66, 0xe6, 0x66, 0xd2, 0x0,
0x0, 0xd1, 0x0, 0x0, 0x0, 0xc2, 0x0, 0x0,
0xd1, 0x0, 0x0, 0x0, 0x20, 0x10, 0x0, 0xd1,
0x0, 0x0, 0x0, 0x0, 0x60, 0x0, 0xc2, 0x0,
0x0, 0x0, 0x5, 0x80, 0x0, 0x5d, 0xdd, 0xdd,
0xdd, 0xde, 0xc0,
/* U+8A00 "言" */ /* U+8A00 "言" */
0x0, 0x0, 0x2, 0x70, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0x70, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x96, 0x0, 0x0, 0x10, 0x26, 0x66, 0x0, 0x0, 0x96, 0x0, 0x0, 0x10, 0x26, 0x66,
@ -1515,6 +1529,22 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0xb2, 0x0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0xb2, 0x0, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0,
/* U+989C "颜" */
0x0, 0x8, 0x20, 0x0, 0x0, 0x2, 0x10, 0x0,
0x0, 0x29, 0x25, 0x66, 0xa7, 0x9a, 0x0, 0x16,
0x86, 0x6b, 0x70, 0xc, 0x0, 0x0, 0x0, 0x9,
0x33, 0x90, 0x74, 0xa4, 0x83, 0x0, 0x3, 0x25,
0x63, 0x4d, 0x23, 0x2b, 0x30, 0x0, 0xc6, 0x68,
0x75, 0xd0, 0xb2, 0xa2, 0x0, 0xc, 0x1, 0xc3,
0xd, 0xb, 0xa, 0x20, 0x0, 0xc3, 0x92, 0x81,
0xd0, 0xb0, 0xa2, 0x0, 0xc, 0x0, 0xa6, 0xd,
0xc, 0xa, 0x20, 0x0, 0xc1, 0x94, 0x75, 0xb1,
0xa1, 0x71, 0x0, 0xa, 0x20, 0x6b, 0x0, 0x85,
0x59, 0x0, 0x3, 0x60, 0x79, 0x0, 0x49, 0x0,
0x6c, 0x0, 0x63, 0x72, 0x1, 0x65, 0x0, 0x0,
0xa2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0,
/* U+F001 "" */ /* U+F001 "" */
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x2, 0x7b, 0xfb, 0x0, 0x0, 0x0, 0x0, 0x0, 0x2, 0x7b, 0xfb, 0x0,
@ -2474,76 +2504,78 @@ static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
{.bitmap_index = 7719, .adv_w = 224, .box_w = 14, .box_h = 13, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 7719, .adv_w = 224, .box_w = 14, .box_h = 13, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 7810, .adv_w = 224, .box_w = 14, .box_h = 13, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 7810, .adv_w = 224, .box_w = 14, .box_h = 13, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 7901, .adv_w = 224, .box_w = 14, .box_h = 13, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 7901, .adv_w = 224, .box_w = 14, .box_h = 13, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 7992, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 7992, .adv_w = 224, .box_w = 14, .box_h = 13, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 8090, .adv_w = 224, .box_w = 14, .box_h = 13, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 8083, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 8181, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 8181, .adv_w = 224, .box_w = 14, .box_h = 13, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 8279, .adv_w = 224, .box_w = 14, .box_h = 13, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 8272, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 8370, .adv_w = 224, .box_w = 14, .box_h = 13, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 8370, .adv_w = 224, .box_w = 14, .box_h = 13, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 8461, .adv_w = 224, .box_w = 13, .box_h = 13, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 8461, .adv_w = 224, .box_w = 14, .box_h = 13, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 8546, .adv_w = 224, .box_w = 13, .box_h = 13, .ofs_x = 1, .ofs_y = -1}, {.bitmap_index = 8552, .adv_w = 224, .box_w = 13, .box_h = 13, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 8631, .adv_w = 224, .box_w = 13, .box_h = 14, .ofs_x = 1, .ofs_y = -2}, {.bitmap_index = 8637, .adv_w = 224, .box_w = 13, .box_h = 13, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 8722, .adv_w = 224, .box_w = 13, .box_h = 14, .ofs_x = 1, .ofs_y = -2}, {.bitmap_index = 8722, .adv_w = 224, .box_w = 13, .box_h = 14, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 8813, .adv_w = 224, .box_w = 15, .box_h = 14, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 8813, .adv_w = 224, .box_w = 13, .box_h = 14, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 8918, .adv_w = 224, .box_w = 15, .box_h = 15, .ofs_x = -1, .ofs_y = -2}, {.bitmap_index = 8904, .adv_w = 224, .box_w = 15, .box_h = 14, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 9031, .adv_w = 224, .box_w = 14, .box_h = 11, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 9009, .adv_w = 224, .box_w = 15, .box_h = 14, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 9108, .adv_w = 224, .box_w = 14, .box_h = 13, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 9114, .adv_w = 224, .box_w = 15, .box_h = 15, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 9199, .adv_w = 224, .box_w = 14, .box_h = 11, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 9227, .adv_w = 224, .box_w = 14, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 9276, .adv_w = 154, .box_w = 10, .box_h = 11, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 9304, .adv_w = 224, .box_w = 14, .box_h = 13, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 9331, .adv_w = 224, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 9395, .adv_w = 224, .box_w = 14, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 9436, .adv_w = 224, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 9472, .adv_w = 154, .box_w = 10, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 9541, .adv_w = 252, .box_w = 16, .box_h = 13, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 9527, .adv_w = 224, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 9645, .adv_w = 224, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 9632, .adv_w = 224, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 9750, .adv_w = 252, .box_w = 16, .box_h = 11, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 9737, .adv_w = 252, .box_w = 16, .box_h = 13, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 9838, .adv_w = 224, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 9841, .adv_w = 224, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 9943, .adv_w = 112, .box_w = 7, .box_h = 12, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 9946, .adv_w = 252, .box_w = 16, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 9985, .adv_w = 168, .box_w = 11, .box_h = 12, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 10034, .adv_w = 224, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 10051, .adv_w = 252, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 10139, .adv_w = 112, .box_w = 7, .box_h = 12, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 10163, .adv_w = 224, .box_w = 14, .box_h = 11, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 10181, .adv_w = 168, .box_w = 11, .box_h = 12, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 10240, .adv_w = 154, .box_w = 10, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 10247, .adv_w = 252, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 10315, .adv_w = 196, .box_w = 10, .box_h = 14, .ofs_x = 1, .ofs_y = -2}, {.bitmap_index = 10359, .adv_w = 224, .box_w = 14, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 10385, .adv_w = 196, .box_w = 13, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 10436, .adv_w = 154, .box_w = 10, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 10483, .adv_w = 196, .box_w = 13, .box_h = 13, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 10511, .adv_w = 196, .box_w = 10, .box_h = 14, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 10568, .adv_w = 196, .box_w = 13, .box_h = 13, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 10581, .adv_w = 196, .box_w = 13, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 10653, .adv_w = 196, .box_w = 10, .box_h = 14, .ofs_x = 1, .ofs_y = -2}, {.bitmap_index = 10679, .adv_w = 196, .box_w = 13, .box_h = 13, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 10723, .adv_w = 196, .box_w = 14, .box_h = 13, .ofs_x = -1, .ofs_y = -1}, {.bitmap_index = 10764, .adv_w = 196, .box_w = 13, .box_h = 13, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 10814, .adv_w = 140, .box_w = 9, .box_h = 13, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 10849, .adv_w = 196, .box_w = 10, .box_h = 14, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 10873, .adv_w = 140, .box_w = 9, .box_h = 13, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 10919, .adv_w = 196, .box_w = 14, .box_h = 13, .ofs_x = -1, .ofs_y = -1},
{.bitmap_index = 10932, .adv_w = 196, .box_w = 13, .box_h = 13, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 11010, .adv_w = 140, .box_w = 9, .box_h = 13, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 11017, .adv_w = 196, .box_w = 13, .box_h = 4, .ofs_x = 0, .ofs_y = 3}, {.bitmap_index = 11069, .adv_w = 140, .box_w = 9, .box_h = 13, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 11043, .adv_w = 252, .box_w = 16, .box_h = 11, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 11128, .adv_w = 196, .box_w = 13, .box_h = 13, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 11131, .adv_w = 280, .box_w = 18, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 11213, .adv_w = 196, .box_w = 13, .box_h = 4, .ofs_x = 0, .ofs_y = 3},
{.bitmap_index = 11266, .adv_w = 252, .box_w = 17, .box_h = 15, .ofs_x = -1, .ofs_y = -2}, {.bitmap_index = 11239, .adv_w = 252, .box_w = 16, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 11394, .adv_w = 224, .box_w = 14, .box_h = 13, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 11327, .adv_w = 280, .box_w = 18, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 11485, .adv_w = 196, .box_w = 13, .box_h = 8, .ofs_x = 0, .ofs_y = 1}, {.bitmap_index = 11462, .adv_w = 252, .box_w = 17, .box_h = 15, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 11537, .adv_w = 196, .box_w = 13, .box_h = 8, .ofs_x = 0, .ofs_y = 1}, {.bitmap_index = 11590, .adv_w = 224, .box_w = 14, .box_h = 13, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 11589, .adv_w = 280, .box_w = 18, .box_h = 11, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 11681, .adv_w = 196, .box_w = 13, .box_h = 8, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 11688, .adv_w = 224, .box_w = 14, .box_h = 11, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 11733, .adv_w = 196, .box_w = 13, .box_h = 8, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 11765, .adv_w = 224, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 11785, .adv_w = 280, .box_w = 18, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 11870, .adv_w = 224, .box_w = 15, .box_h = 15, .ofs_x = -1, .ofs_y = -2}, {.bitmap_index = 11884, .adv_w = 224, .box_w = 14, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 11983, .adv_w = 196, .box_w = 13, .box_h = 13, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 11961, .adv_w = 224, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 12068, .adv_w = 196, .box_w = 13, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 12066, .adv_w = 224, .box_w = 15, .box_h = 15, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 12166, .adv_w = 196, .box_w = 13, .box_h = 13, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 12179, .adv_w = 196, .box_w = 13, .box_h = 13, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 12251, .adv_w = 196, .box_w = 13, .box_h = 12, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 12264, .adv_w = 196, .box_w = 13, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 12329, .adv_w = 224, .box_w = 14, .box_h = 11, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 12362, .adv_w = 196, .box_w = 13, .box_h = 13, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 12406, .adv_w = 140, .box_w = 10, .box_h = 15, .ofs_x = -1, .ofs_y = -2}, {.bitmap_index = 12447, .adv_w = 196, .box_w = 13, .box_h = 12, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 12481, .adv_w = 196, .box_w = 13, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 12525, .adv_w = 224, .box_w = 14, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 12579, .adv_w = 196, .box_w = 13, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 12602, .adv_w = 140, .box_w = 10, .box_h = 15, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 12677, .adv_w = 252, .box_w = 16, .box_h = 11, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 12677, .adv_w = 196, .box_w = 13, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 12765, .adv_w = 224, .box_w = 16, .box_h = 15, .ofs_x = -1, .ofs_y = -2}, {.bitmap_index = 12775, .adv_w = 196, .box_w = 13, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 12885, .adv_w = 168, .box_w = 11, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 12873, .adv_w = 252, .box_w = 16, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 12968, .adv_w = 280, .box_w = 18, .box_h = 13, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 12961, .adv_w = 224, .box_w = 16, .box_h = 15, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 13085, .adv_w = 280, .box_w = 18, .box_h = 10, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 13081, .adv_w = 168, .box_w = 11, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 13175, .adv_w = 280, .box_w = 18, .box_h = 10, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 13164, .adv_w = 280, .box_w = 18, .box_h = 13, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 13265, .adv_w = 280, .box_w = 18, .box_h = 10, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 13281, .adv_w = 280, .box_w = 18, .box_h = 10, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 13355, .adv_w = 280, .box_w = 18, .box_h = 10, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 13371, .adv_w = 280, .box_w = 18, .box_h = 10, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 13445, .adv_w = 280, .box_w = 18, .box_h = 10, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 13461, .adv_w = 280, .box_w = 18, .box_h = 10, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 13535, .adv_w = 280, .box_w = 18, .box_h = 12, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 13551, .adv_w = 280, .box_w = 18, .box_h = 10, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 13643, .adv_w = 196, .box_w = 12, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 13641, .adv_w = 280, .box_w = 18, .box_h = 10, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 13733, .adv_w = 196, .box_w = 13, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 13731, .adv_w = 280, .box_w = 18, .box_h = 12, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 13831, .adv_w = 224, .box_w = 15, .box_h = 15, .ofs_x = -1, .ofs_y = -2}, {.bitmap_index = 13839, .adv_w = 196, .box_w = 12, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 13944, .adv_w = 280, .box_w = 18, .box_h = 11, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 13929, .adv_w = 196, .box_w = 13, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 14043, .adv_w = 168, .box_w = 11, .box_h = 15, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 14027, .adv_w = 224, .box_w = 15, .box_h = 15, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 14126, .adv_w = 225, .box_w = 15, .box_h = 10, .ofs_x = 0, .ofs_y = 0} {.bitmap_index = 14140, .adv_w = 280, .box_w = 18, .box_h = 11, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 14239, .adv_w = 168, .box_w = 11, .box_h = 15, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 14322, .adv_w = 225, .box_w = 15, .box_h = 10, .ofs_x = 0, .ofs_y = 0}
}; };
/*--------------------- /*---------------------
@ -2556,16 +2588,16 @@ static const uint16_t unicode_list_2[] = {
0x53e2, 0x5564, 0x57af, 0x5a49, 0x5b57, 0x5bac, 0x5fc5, 0x6026, 0x53e2, 0x5564, 0x57af, 0x5a49, 0x5b57, 0x5bac, 0x5fc5, 0x6026,
0x61c7, 0x61de, 0x6265, 0x6349, 0x6381, 0x648e, 0x6998, 0x6d10, 0x61c7, 0x61de, 0x6265, 0x6349, 0x6381, 0x648e, 0x6998, 0x6d10,
0x6d44, 0x6dbe, 0x6fde, 0x718c, 0x7662, 0x77d7, 0x78d2, 0x7952, 0x6d44, 0x6dbe, 0x6fde, 0x718c, 0x7662, 0x77d7, 0x78d2, 0x7952,
0x7b16, 0x7b36, 0x7bc5, 0x8657, 0x8807, 0x8815, 0x8844, 0x8bea, 0x7b16, 0x7b36, 0x7bc5, 0x7ec9, 0x8657, 0x8807, 0x8815, 0x8844,
0x8e1e, 0x8e26, 0x924b, 0x9292, 0x92a7, 0x92eb, 0x94e8, 0xec58, 0x8bea, 0x8e1e, 0x8e26, 0x924b, 0x9292, 0x92a7, 0x92eb, 0x94e8,
0xec5f, 0xec62, 0xec63, 0xec64, 0xec68, 0xec6a, 0xec6c, 0xec70, 0x94f3, 0xec58, 0xec5f, 0xec62, 0xec63, 0xec64, 0xec68, 0xec6a,
0xec73, 0xec78, 0xec7d, 0xec7e, 0xec7f, 0xec95, 0xec9a, 0xec9f, 0xec6c, 0xec70, 0xec73, 0xec78, 0xec7d, 0xec7e, 0xec7f, 0xec95,
0xeca2, 0xeca3, 0xeca4, 0xeca8, 0xeca9, 0xecaa, 0xecab, 0xecbe, 0xec9a, 0xec9f, 0xeca2, 0xeca3, 0xeca4, 0xeca8, 0xeca9, 0xecaa,
0xecbf, 0xecc5, 0xecc7, 0xecc8, 0xeccb, 0xecce, 0xeccf, 0xecd0, 0xecab, 0xecbe, 0xecbf, 0xecc5, 0xecc7, 0xecc8, 0xeccb, 0xecce,
0xecd2, 0xecea, 0xecec, 0xed1b, 0xed1c, 0xed1e, 0xed20, 0xed37, 0xeccf, 0xecd0, 0xecd2, 0xecea, 0xecec, 0xed1b, 0xed1c, 0xed1e,
0xed3e, 0xed41, 0xed4a, 0xed73, 0xed7b, 0xedb2, 0xee42, 0xee97, 0xed20, 0xed37, 0xed3e, 0xed41, 0xed4a, 0xed73, 0xed7b, 0xedb2,
0xee98, 0xee99, 0xee9a, 0xee9b, 0xeede, 0xeeea, 0xef44, 0xef5b, 0xee42, 0xee97, 0xee98, 0xee99, 0xee9a, 0xee9b, 0xeede, 0xeeea,
0xf1b1, 0xf419, 0xf4f9 0xef44, 0xef5b, 0xf1b1, 0xf419, 0xf4f9
}; };
/*Collect the unicode lists and glyph_id offsets*/ /*Collect the unicode lists and glyph_id offsets*/
@ -2581,7 +2613,7 @@ static const lv_font_fmt_txt_cmap_t cmaps[] =
}, },
{ {
.range_start = 937, .range_length = 62714, .glyph_id_start = 95, .range_start = 937, .range_length = 62714, .glyph_id_start = 95,
.unicode_list = unicode_list_2, .glyph_id_ofs_list = NULL, .list_length = 115, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY .unicode_list = unicode_list_2, .glyph_id_ofs_list = NULL, .list_length = 117, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY
} }
}; };
@ -2619,7 +2651,7 @@ static const uint8_t kern_left_class_mapping[] =
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0 0, 0, 0, 0
}; };
/*Map glyph_ids to kern right classes*/ /*Map glyph_ids to kern right classes*/
@ -2651,7 +2683,7 @@ static const uint8_t kern_right_class_mapping[] =
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0 0, 0, 0, 0
}; };
/*Kern values between classes*/ /*Kern values between classes*/

View File

@ -852,6 +852,40 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x3, 0xbb, 0x20, 0x3, 0x40, 0xb1, 0x1b, 0x40, 0x3, 0xbb, 0x20, 0x3, 0x40, 0xb1, 0x1b, 0x40,
0x92, 0x7, 0x0, 0x9, 0xb6, 0x0, 0x92, 0x7, 0x0, 0x9, 0xb6, 0x0,
/* U+5165 "入" */
0x0, 0x0, 0x3, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0xb, 0xc2, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x2a, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x8, 0x50, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0xc, 0x90, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0xf, 0xd0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x5d, 0xa2, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0xb7, 0x59, 0x0, 0x0, 0x0,
0x0, 0x0, 0x3, 0xf1, 0xe, 0x10, 0x0, 0x0,
0x0, 0x0, 0xa, 0x60, 0x8, 0x90, 0x0, 0x0,
0x0, 0x0, 0x4c, 0x0, 0x0, 0xe5, 0x0, 0x0,
0x0, 0x1, 0xd2, 0x0, 0x0, 0x6f, 0x30, 0x0,
0x0, 0xa, 0x30, 0x0, 0x0, 0xa, 0xe4, 0x0,
0x0, 0x93, 0x0, 0x0, 0x0, 0x0, 0xcf, 0x90,
0x7, 0x10, 0x0, 0x0, 0x0, 0x0, 0xa, 0xd4,
0x10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
/* U+51FA "出" */
0x0, 0x0, 0x0, 0x54, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0xc4, 0x0, 0x0, 0x0, 0x4, 0xc0,
0x0, 0xc4, 0x0, 0xd, 0x50, 0x4, 0xa0, 0x0,
0xc4, 0x0, 0xd, 0x20, 0x4, 0xa0, 0x0, 0xc4,
0x0, 0xd, 0x20, 0x4, 0xa0, 0x0, 0xc4, 0x0,
0xd, 0x20, 0x7, 0xd7, 0x77, 0xea, 0x77, 0x7e,
0x20, 0x1, 0x40, 0x0, 0xc4, 0x0, 0xb, 0x10,
0x9, 0x20, 0x0, 0xc4, 0x0, 0x0, 0x82, 0x1e,
0x0, 0x0, 0xc4, 0x0, 0x1, 0xf0, 0x1e, 0x0,
0x0, 0xc4, 0x0, 0x1, 0xe0, 0x1e, 0x0, 0x0,
0xc4, 0x0, 0x1, 0xe0, 0x1e, 0x0, 0x0, 0xc4,
0x0, 0x1, 0xe0, 0x3f, 0x77, 0x77, 0xc9, 0x77,
0x78, 0xe0, 0x3, 0x0, 0x0, 0x0, 0x0, 0x1,
0xd0,
/* U+7EC6 "细" */ /* U+7EC6 "细" */
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x99, 0x0, 0x30, 0x0, 0x0, 0x51, 0x0, 0x0, 0x99, 0x0, 0x30, 0x0, 0x0, 0x51, 0x0,
@ -922,6 +956,24 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x5b, 0x0, 0x0, 0x1, 0xe0, 0x0, 0x0, 0x0, 0x5b, 0x0, 0x0, 0x1, 0xe0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x1, 0xd0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0xd0, 0x0, 0x0,
/* U+8F93 "输" */
0x0, 0x12, 0x0, 0x0, 0x4, 0x10, 0x0, 0x0,
0x0, 0x6b, 0x0, 0x0, 0x2f, 0xa0, 0x0, 0x0,
0x0, 0x96, 0x2, 0x0, 0xb8, 0x46, 0x0, 0x0,
0x27, 0xe9, 0x9d, 0x15, 0xb0, 0x7, 0x90, 0x0,
0x1, 0xe0, 0x0, 0x3b, 0x0, 0x18, 0x9e, 0x60,
0x5, 0xac, 0x33, 0x62, 0x77, 0x77, 0x25, 0xc1,
0x9, 0x5c, 0x12, 0x30, 0x5, 0x0, 0x5, 0x30,
0x2e, 0x4d, 0x86, 0xd8, 0x7f, 0x4b, 0x2c, 0x20,
0x18, 0x4e, 0x43, 0xd0, 0xe, 0xd, 0xc, 0x20,
0x0, 0xd, 0x10, 0xd8, 0x7f, 0xd, 0xc, 0x20,
0x0, 0xe, 0x74, 0xd0, 0xe, 0xd, 0xc, 0x20,
0x1a, 0xef, 0x20, 0xd7, 0x7f, 0xd, 0xc, 0x20,
0x8, 0x1d, 0x10, 0xd0, 0xe, 0x8, 0xc, 0x20,
0x0, 0xd, 0x10, 0xd1, 0x3e, 0x1, 0x1d, 0x20,
0x0, 0xd, 0x0, 0xc0, 0x59, 0x1, 0x9c, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
/* U+F001 "" */ /* U+F001 "" */
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x49, 0xdc, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x49, 0xdc,
@ -1966,70 +2018,73 @@ static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
{.bitmap_index = 4708, .adv_w = 81, .box_w = 1, .box_h = 19, .ofs_x = 2, .ofs_y = -4}, {.bitmap_index = 4708, .adv_w = 81, .box_w = 1, .box_h = 19, .ofs_x = 2, .ofs_y = -4},
{.bitmap_index = 4718, .adv_w = 96, .box_w = 6, .box_h = 16, .ofs_x = 0, .ofs_y = -3}, {.bitmap_index = 4718, .adv_w = 96, .box_w = 6, .box_h = 16, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 4766, .adv_w = 148, .box_w = 9, .box_h = 3, .ofs_x = 0, .ofs_y = 5}, {.bitmap_index = 4766, .adv_w = 148, .box_w = 9, .box_h = 3, .ofs_x = 0, .ofs_y = 5},
{.bitmap_index = 4780, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 4780, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 4893, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 4908, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 5006, .adv_w = 256, .box_w = 17, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 5013, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 5142, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 5126, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 5262, .adv_w = 256, .box_w = 16, .box_h = 17, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 5239, .adv_w = 256, .box_w = 17, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 5398, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 5375, .adv_w = 256, .box_w = 16, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 5494, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 5495, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 5606, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 5623, .adv_w = 256, .box_w = 16, .box_h = 17, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 5702, .adv_w = 176, .box_w = 11, .box_h = 12, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 5759, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 5768, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 5855, .adv_w = 256, .box_w = 16, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 5896, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 5967, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 6024, .adv_w = 288, .box_w = 18, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 6063, .adv_w = 176, .box_w = 11, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 6150, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 6129, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 6278, .adv_w = 288, .box_w = 18, .box_h = 12, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 6257, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 6386, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 6385, .adv_w = 288, .box_w = 18, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 6514, .adv_w = 128, .box_w = 8, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 6511, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 6570, .adv_w = 192, .box_w = 12, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 6639, .adv_w = 288, .box_w = 18, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 6654, .adv_w = 288, .box_w = 18, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 6747, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 6798, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 6875, .adv_w = 128, .box_w = 8, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 6894, .adv_w = 176, .box_w = 11, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 6931, .adv_w = 192, .box_w = 12, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 6982, .adv_w = 224, .box_w = 10, .box_h = 16, .ofs_x = 2, .ofs_y = -2}, {.bitmap_index = 7015, .adv_w = 288, .box_w = 18, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 7062, .adv_w = 224, .box_w = 14, .box_h = 18, .ofs_x = 0, .ofs_y = -3}, {.bitmap_index = 7159, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 7188, .adv_w = 224, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 7255, .adv_w = 176, .box_w = 11, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 7293, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 7343, .adv_w = 224, .box_w = 10, .box_h = 16, .ofs_x = 2, .ofs_y = -2},
{.bitmap_index = 7391, .adv_w = 224, .box_w = 10, .box_h = 16, .ofs_x = 2, .ofs_y = -2}, {.bitmap_index = 7423, .adv_w = 224, .box_w = 14, .box_h = 18, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 7471, .adv_w = 224, .box_w = 16, .box_h = 14, .ofs_x = -1, .ofs_y = -1}, {.bitmap_index = 7549, .adv_w = 224, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 7583, .adv_w = 160, .box_w = 10, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 7654, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 7653, .adv_w = 160, .box_w = 10, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 7752, .adv_w = 224, .box_w = 10, .box_h = 16, .ofs_x = 2, .ofs_y = -2},
{.bitmap_index = 7723, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 7832, .adv_w = 224, .box_w = 16, .box_h = 14, .ofs_x = -1, .ofs_y = -1},
{.bitmap_index = 7821, .adv_w = 224, .box_w = 14, .box_h = 4, .ofs_x = 0, .ofs_y = 4}, {.bitmap_index = 7944, .adv_w = 160, .box_w = 10, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 7849, .adv_w = 288, .box_w = 18, .box_h = 12, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 8014, .adv_w = 160, .box_w = 10, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 7957, .adv_w = 320, .box_w = 20, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 8084, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 8117, .adv_w = 288, .box_w = 20, .box_h = 16, .ofs_x = -1, .ofs_y = -2}, {.bitmap_index = 8182, .adv_w = 224, .box_w = 14, .box_h = 4, .ofs_x = 0, .ofs_y = 4},
{.bitmap_index = 8277, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 8210, .adv_w = 288, .box_w = 18, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 8405, .adv_w = 224, .box_w = 14, .box_h = 10, .ofs_x = 0, .ofs_y = 1}, {.bitmap_index = 8318, .adv_w = 320, .box_w = 20, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 8475, .adv_w = 224, .box_w = 14, .box_h = 10, .ofs_x = 0, .ofs_y = 1}, {.bitmap_index = 8478, .adv_w = 288, .box_w = 20, .box_h = 16, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 8545, .adv_w = 320, .box_w = 20, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 8638, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 8685, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 8766, .adv_w = 224, .box_w = 14, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 8781, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 8836, .adv_w = 224, .box_w = 14, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 8909, .adv_w = 256, .box_w = 17, .box_h = 17, .ofs_x = -1, .ofs_y = -2}, {.bitmap_index = 8906, .adv_w = 320, .box_w = 20, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 9054, .adv_w = 224, .box_w = 15, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 9046, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 9159, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 9142, .adv_w = 256, .box_w = 16, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 9271, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 9270, .adv_w = 256, .box_w = 17, .box_h = 17, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 9369, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 9415, .adv_w = 224, .box_w = 15, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 9467, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 9520, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 9563, .adv_w = 160, .box_w = 12, .box_h = 16, .ofs_x = -1, .ofs_y = -2}, {.bitmap_index = 9632, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 9659, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 9730, .adv_w = 224, .box_w = 14, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 9771, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 9828, .adv_w = 256, .box_w = 16, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 9883, .adv_w = 288, .box_w = 18, .box_h = 12, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 9924, .adv_w = 160, .box_w = 12, .box_h = 16, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 9991, .adv_w = 256, .box_w = 18, .box_h = 18, .ofs_x = -1, .ofs_y = -3}, {.bitmap_index = 10020, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 10153, .adv_w = 192, .box_w = 12, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 10132, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 10249, .adv_w = 320, .box_w = 20, .box_h = 15, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 10244, .adv_w = 288, .box_w = 18, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 10399, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1}, {.bitmap_index = 10352, .adv_w = 256, .box_w = 18, .box_h = 18, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 10499, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1}, {.bitmap_index = 10514, .adv_w = 192, .box_w = 12, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 10599, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1}, {.bitmap_index = 10610, .adv_w = 320, .box_w = 20, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 10699, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1}, {.bitmap_index = 10760, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 10799, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1}, {.bitmap_index = 10860, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 10899, .adv_w = 320, .box_w = 21, .box_h = 14, .ofs_x = 0, .ofs_y = -1}, {.bitmap_index = 10960, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 11046, .adv_w = 224, .box_w = 12, .box_h = 16, .ofs_x = 1, .ofs_y = -2}, {.bitmap_index = 11060, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 11142, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 11160, .adv_w = 320, .box_w = 20, .box_h = 10, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 11254, .adv_w = 256, .box_w = 17, .box_h = 17, .ofs_x = -1, .ofs_y = -3}, {.bitmap_index = 11260, .adv_w = 320, .box_w = 21, .box_h = 14, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 11399, .adv_w = 320, .box_w = 20, .box_h = 12, .ofs_x = 0, .ofs_y = 0}, {.bitmap_index = 11407, .adv_w = 224, .box_w = 12, .box_h = 16, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 11519, .adv_w = 192, .box_w = 12, .box_h = 16, .ofs_x = 0, .ofs_y = -2}, {.bitmap_index = 11503, .adv_w = 224, .box_w = 14, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 11615, .adv_w = 258, .box_w = 17, .box_h = 11, .ofs_x = 0, .ofs_y = 1} {.bitmap_index = 11615, .adv_w = 256, .box_w = 17, .box_h = 17, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 11760, .adv_w = 320, .box_w = 20, .box_h = 12, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 11880, .adv_w = 192, .box_w = 12, .box_h = 16, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 11976, .adv_w = 258, .box_w = 17, .box_h = 11, .ofs_x = 0, .ofs_y = 1}
}; };
/*--------------------- /*---------------------
@ -2037,14 +2092,15 @@ static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
*--------------------*/ *--------------------*/
static const uint16_t unicode_list_2[] = { static const uint16_t unicode_list_2[] = {
0x0, 0xa8, 0xcf8, 0xd20, 0x713b, 0x7142, 0x7145, 0x7146, 0x0, 0x95, 0x2d61, 0x2e09, 0x3a59, 0x3a81, 0x3e2e, 0x9e9c,
0x7147, 0x714b, 0x714d, 0x714f, 0x7153, 0x7156, 0x715b, 0x7160, 0x9ea3, 0x9ea6, 0x9ea7, 0x9ea8, 0x9eac, 0x9eae, 0x9eb0, 0x9eb4,
0x7161, 0x7162, 0x7178, 0x717d, 0x7182, 0x7185, 0x7186, 0x7187, 0x9eb7, 0x9ebc, 0x9ec1, 0x9ec2, 0x9ec3, 0x9ed9, 0x9ede, 0x9ee3,
0x718b, 0x718c, 0x718d, 0x718e, 0x71a1, 0x71a2, 0x71a8, 0x71aa, 0x9ee6, 0x9ee7, 0x9ee8, 0x9eec, 0x9eed, 0x9eee, 0x9eef, 0x9f02,
0x71ab, 0x71ae, 0x71b1, 0x71b2, 0x71b3, 0x71b5, 0x71cd, 0x71cf, 0x9f03, 0x9f09, 0x9f0b, 0x9f0c, 0x9f0f, 0x9f12, 0x9f13, 0x9f14,
0x71fe, 0x71ff, 0x7201, 0x7203, 0x721a, 0x7221, 0x7224, 0x722d, 0x9f16, 0x9f2e, 0x9f30, 0x9f5f, 0x9f60, 0x9f62, 0x9f64, 0x9f7b,
0x7256, 0x725e, 0x7295, 0x7325, 0x737a, 0x737b, 0x737c, 0x737d, 0x9f82, 0x9f85, 0x9f8e, 0x9fb7, 0x9fbf, 0x9ff6, 0xa086, 0xa0db,
0x737e, 0x73c1, 0x73cd, 0x7427, 0x743e, 0x7694, 0x78fc, 0x79dc 0xa0dc, 0xa0dd, 0xa0de, 0xa0df, 0xa122, 0xa12e, 0xa188, 0xa19f,
0xa3f5, 0xa65d, 0xa73d
}; };
/*Collect the unicode lists and glyph_id offsets*/ /*Collect the unicode lists and glyph_id offsets*/
@ -2059,8 +2115,8 @@ static const lv_font_fmt_txt_cmap_t cmaps[] =
.unicode_list = NULL, .glyph_id_ofs_list = NULL, .list_length = 0, .type = LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY .unicode_list = NULL, .glyph_id_ofs_list = NULL, .list_length = 0, .type = LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY
}, },
{ {
.range_start = 32454, .range_length = 31197, .glyph_id_start = 95, .range_start = 20837, .range_length = 42814, .glyph_id_start = 95,
.unicode_list = unicode_list_2, .glyph_id_ofs_list = NULL, .list_length = 64, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY .unicode_list = unicode_list_2, .glyph_id_ofs_list = NULL, .list_length = 67, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY
} }
}; };
@ -2091,7 +2147,8 @@ static const uint8_t kern_left_class_mapping[] =
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0 0, 0, 0, 0, 0, 0, 0, 0,
0, 0
}; };
/*Map glyph_ids to kern right classes*/ /*Map glyph_ids to kern right classes*/
@ -2116,7 +2173,8 @@ static const uint8_t kern_right_class_mapping[] =
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0 0, 0, 0, 0, 0, 0, 0, 0,
0, 0
}; };
/*Kern values between classes*/ /*Kern values between classes*/

View File

@ -28,28 +28,51 @@ void setup_scr_screen_hidden(lv_ui *ui)
lv_obj_set_style_bg_color(ui->screen_hidden, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_hidden, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_hidden, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_hidden, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_hidden_label_1 //Write codes screen_hidden_label_size14
ui->screen_hidden_label_1 = lv_label_create(ui->screen_hidden); ui->screen_hidden_label_size14 = lv_label_create(ui->screen_hidden);
lv_label_set_text(ui->screen_hidden_label_1, "热 电 偶 阻 ℃ Ω 类 型 频 率\n参 数 复 位 保 存 未 中 已 输 入 出 记 录 \n照 明 语 言 简 体 文 开 关"); lv_label_set_text(ui->screen_hidden_label_size14, "热 电 偶 阻 ℃ Ω 类 型 频 率\n参 数 复 位 保 存 未 中 已 输 入 出 记 录 \n采 样 间 隔 描 点\n照 明 语 言 简 体 文 开 关");
lv_label_set_long_mode(ui->screen_hidden_label_1, LV_LABEL_LONG_WRAP); lv_label_set_long_mode(ui->screen_hidden_label_size14, LV_LABEL_LONG_WRAP);
lv_obj_set_pos(ui->screen_hidden_label_1, 2, 0); lv_obj_set_pos(ui->screen_hidden_label_size14, 0, 0);
lv_obj_set_size(ui->screen_hidden_label_1, 320, 240); lv_obj_set_size(ui->screen_hidden_label_size14, 320, 120);
//Write style for screen_hidden_label_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. //Write style for screen_hidden_label_size14, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_hidden_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_hidden_label_size14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_hidden_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_hidden_label_size14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_hidden_label_1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_hidden_label_size14, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_hidden_label_1, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_hidden_label_size14, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_hidden_label_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_hidden_label_size14, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_hidden_label_1, 2, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_hidden_label_size14, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_hidden_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_hidden_label_size14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_hidden_label_1, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_hidden_label_size14, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_hidden_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_hidden_label_size14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_hidden_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_hidden_label_size14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_hidden_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_hidden_label_size14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_hidden_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_bottom(ui->screen_hidden_label_size14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_hidden_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_hidden_label_size14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_hidden_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_hidden_label_size14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_hidden_label_size16
ui->screen_hidden_label_size16 = lv_label_create(ui->screen_hidden);
lv_label_set_text(ui->screen_hidden_label_size16, "");
lv_label_set_long_mode(ui->screen_hidden_label_size16, LV_LABEL_LONG_WRAP);
lv_obj_set_pos(ui->screen_hidden_label_size16, 0, 120);
lv_obj_set_size(ui->screen_hidden_label_size16, 320, 120);
//Write style for screen_hidden_label_size16, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_hidden_label_size16, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_hidden_label_size16, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_hidden_label_size16, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_hidden_label_size16, &lv_font_SourceHanSerifSC_Regular_16, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_hidden_label_size16, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_hidden_label_size16, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_hidden_label_size16, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_hidden_label_size16, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_hidden_label_size16, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_hidden_label_size16, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_hidden_label_size16, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_hidden_label_size16, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_hidden_label_size16, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_hidden_label_size16, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//The custom code of screen_hidden. //The custom code of screen_hidden.

View File

@ -46,7 +46,7 @@ void setup_scr_screen_main(lv_ui *ui)
lv_chart_set_next_value(ui->screen_main_chart_1, ui->screen_main_chart_1_0, 0); lv_chart_set_next_value(ui->screen_main_chart_1, ui->screen_main_chart_1_0, 0);
lv_chart_set_next_value(ui->screen_main_chart_1, ui->screen_main_chart_1_0, 0); lv_chart_set_next_value(ui->screen_main_chart_1, ui->screen_main_chart_1_0, 0);
#endif #endif
ui->screen_main_chart_1_1 = lv_chart_add_series(ui->screen_main_chart_1, lv_color_hex(0xf9ff00), LV_CHART_AXIS_PRIMARY_Y); ui->screen_main_chart_1_1 = lv_chart_add_series(ui->screen_main_chart_1, lv_color_hex(0xeae200), LV_CHART_AXIS_PRIMARY_Y);
#if LV_USE_FREEMASTER == 0 #if LV_USE_FREEMASTER == 0
lv_chart_set_next_value(ui->screen_main_chart_1, ui->screen_main_chart_1_1, 0); lv_chart_set_next_value(ui->screen_main_chart_1, ui->screen_main_chart_1_1, 0);
lv_chart_set_next_value(ui->screen_main_chart_1, ui->screen_main_chart_1_1, 0); lv_chart_set_next_value(ui->screen_main_chart_1, ui->screen_main_chart_1_1, 0);
@ -351,7 +351,7 @@ void setup_scr_screen_main(lv_ui *ui)
//Write codes screen_main_label_IN //Write codes screen_main_label_IN
ui->screen_main_label_IN = lv_label_create(ui->screen_main); ui->screen_main_label_IN = lv_label_create(ui->screen_main);
lv_label_set_text(ui->screen_main_label_IN, "IN:"); lv_label_set_text(ui->screen_main_label_IN, "输入:");
lv_label_set_long_mode(ui->screen_main_label_IN, LV_LABEL_LONG_WRAP); lv_label_set_long_mode(ui->screen_main_label_IN, LV_LABEL_LONG_WRAP);
lv_obj_set_pos(ui->screen_main_label_IN, 63, 175); lv_obj_set_pos(ui->screen_main_label_IN, 63, 175);
lv_obj_set_size(ui->screen_main_label_IN, 45, 15); lv_obj_set_size(ui->screen_main_label_IN, 45, 15);
@ -374,9 +374,9 @@ void setup_scr_screen_main(lv_ui *ui)
//Write codes screen_main_label_OUT //Write codes screen_main_label_OUT
ui->screen_main_label_OUT = lv_label_create(ui->screen_main); ui->screen_main_label_OUT = lv_label_create(ui->screen_main);
lv_label_set_text(ui->screen_main_label_OUT, "OUT:"); lv_label_set_text(ui->screen_main_label_OUT, "输出:");
lv_label_set_long_mode(ui->screen_main_label_OUT, LV_LABEL_LONG_WRAP); lv_label_set_long_mode(ui->screen_main_label_OUT, LV_LABEL_LONG_WRAP);
lv_obj_set_pos(ui->screen_main_label_OUT, 63, 220); lv_obj_set_pos(ui->screen_main_label_OUT, 61, 220);
lv_obj_set_size(ui->screen_main_label_OUT, 45, 15); lv_obj_set_size(ui->screen_main_label_OUT, 45, 15);
//Write style for screen_main_label_OUT, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. //Write style for screen_main_label_OUT, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
@ -387,7 +387,7 @@ void setup_scr_screen_main(lv_ui *ui)
lv_obj_set_style_text_opa(ui->screen_main_label_OUT, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_main_label_OUT, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_main_label_OUT, 1, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_main_label_OUT, 1, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_main_label_OUT, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_line_space(ui->screen_main_label_OUT, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_main_label_OUT, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_align(ui->screen_main_label_OUT, LV_TEXT_ALIGN_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_main_label_OUT, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_opa(ui->screen_main_label_OUT, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_main_label_OUT, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_top(ui->screen_main_label_OUT, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_main_label_OUT, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_right(ui->screen_main_label_OUT, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -443,10 +443,10 @@ void setup_scr_screen_main(lv_ui *ui)
//Write codes screen_main_label_Mode //Write codes screen_main_label_Mode
ui->screen_main_label_Mode = lv_label_create(ui->screen_main); ui->screen_main_label_Mode = lv_label_create(ui->screen_main);
lv_label_set_text(ui->screen_main_label_Mode, "Volt"); lv_label_set_text(ui->screen_main_label_Mode, "电压");
lv_label_set_long_mode(ui->screen_main_label_Mode, LV_LABEL_LONG_WRAP); lv_label_set_long_mode(ui->screen_main_label_Mode, LV_LABEL_LONG_WRAP);
lv_obj_set_pos(ui->screen_main_label_Mode, 120, 3); lv_obj_set_pos(ui->screen_main_label_Mode, 100, 3);
lv_obj_set_size(ui->screen_main_label_Mode, 40, 14); lv_obj_set_size(ui->screen_main_label_Mode, 60, 14);
//Write style for screen_main_label_Mode, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. //Write style for screen_main_label_Mode, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_main_label_Mode, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_main_label_Mode, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -510,7 +510,7 @@ void setup_scr_screen_main(lv_ui *ui)
//Write style for screen_main_label_area_IN, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. //Write style for screen_main_label_area_IN, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_main_label_area_IN, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_border_width(ui->screen_main_label_area_IN, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_main_label_area_IN, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_radius(ui->screen_main_label_area_IN, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_main_label_area_IN, lv_color_hex(0xf9ff00), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_color(ui->screen_main_label_area_IN, lv_color_hex(0xeae200), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_main_label_area_IN, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_font(ui->screen_main_label_area_IN, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_main_label_area_IN, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_opa(ui->screen_main_label_area_IN, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_main_label_area_IN, 1, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_text_letter_space(ui->screen_main_label_area_IN, 1, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -555,7 +555,7 @@ void setup_scr_screen_main(lv_ui *ui)
//Write style for screen_main_line_legend_IN, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT. //Write style for screen_main_line_legend_IN, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_line_width(ui->screen_main_line_legend_IN, 2, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_line_width(ui->screen_main_line_legend_IN, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_line_color(ui->screen_main_line_legend_IN, lv_color_hex(0xF9FF00), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_line_color(ui->screen_main_line_legend_IN, lv_color_hex(0xeae200), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_line_opa(ui->screen_main_line_legend_IN, 255, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_line_opa(ui->screen_main_line_legend_IN, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_main_line_legend_OUT //Write codes screen_main_line_legend_OUT

View File

@ -28,146 +28,6 @@ void setup_scr_screen_setting(lv_ui *ui)
lv_obj_set_style_bg_color(ui->screen_setting, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_color(ui->screen_setting, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_setting, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_bg_grad_dir(ui->screen_setting, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_setting_label_title
ui->screen_setting_label_title = lv_label_create(ui->screen_setting);
lv_label_set_text(ui->screen_setting_label_title, "详细设置");
lv_label_set_long_mode(ui->screen_setting_label_title, LV_LABEL_LONG_WRAP);
lv_obj_set_pos(ui->screen_setting_label_title, 0, -1);
lv_obj_set_size(ui->screen_setting_label_title, 320, 40);
//Write style for screen_setting_label_title, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_setting_label_title, 1, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_setting_label_title, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_setting_label_title, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_setting_label_title, LV_BORDER_SIDE_FULL | LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_setting_label_title, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_setting_label_title, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_setting_label_title, &lv_font_SourceHanSerifSC_Regular_16, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_setting_label_title, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_setting_label_title, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_setting_label_title, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_setting_label_title, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_setting_label_title, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_setting_label_title, lv_color_hex(0x75d4ff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_setting_label_title, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_setting_label_title, 12, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_setting_label_title, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_setting_label_title, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_setting_label_title, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_setting_label_title, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_setting_label_s0
ui->screen_setting_label_s0 = lv_label_create(ui->screen_setting);
lv_label_set_text(ui->screen_setting_label_s0, "量程设置");
lv_label_set_long_mode(ui->screen_setting_label_s0, LV_LABEL_LONG_WRAP);
lv_obj_set_pos(ui->screen_setting_label_s0, 0, 40);
lv_obj_set_size(ui->screen_setting_label_s0, 80, 50);
//Write style for screen_setting_label_s0, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_setting_label_s0, 1, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_setting_label_s0, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_setting_label_s0, lv_color_hex(0x00b6ff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_setting_label_s0, LV_BORDER_SIDE_RIGHT | LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_setting_label_s0, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_setting_label_s0, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_setting_label_s0, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_setting_label_s0, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_setting_label_s0, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_setting_label_s0, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_setting_label_s0, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_setting_label_s0, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_setting_label_s0, lv_color_hex(0xcbefff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_setting_label_s0, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_setting_label_s0, 17, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_setting_label_s0, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_setting_label_s0, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_setting_label_s0, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_setting_label_s0, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_setting_label_s1
ui->screen_setting_label_s1 = lv_label_create(ui->screen_setting);
lv_label_set_text(ui->screen_setting_label_s1, "曲线设置");
lv_label_set_long_mode(ui->screen_setting_label_s1, LV_LABEL_LONG_WRAP);
lv_obj_set_pos(ui->screen_setting_label_s1, 0, 90);
lv_obj_set_size(ui->screen_setting_label_s1, 80, 50);
//Write style for screen_setting_label_s1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_setting_label_s1, 1, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_setting_label_s1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_setting_label_s1, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_setting_label_s1, LV_BORDER_SIDE_RIGHT | LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_setting_label_s1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_setting_label_s1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_setting_label_s1, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_setting_label_s1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_setting_label_s1, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_setting_label_s1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_setting_label_s1, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_setting_label_s1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_setting_label_s1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_setting_label_s1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_setting_label_s1, 17, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_setting_label_s1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_setting_label_s1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_setting_label_s1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_setting_label_s1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_setting_label_s2
ui->screen_setting_label_s2 = lv_label_create(ui->screen_setting);
lv_label_set_text(ui->screen_setting_label_s2, "数据存储");
lv_label_set_long_mode(ui->screen_setting_label_s2, LV_LABEL_LONG_WRAP);
lv_obj_set_pos(ui->screen_setting_label_s2, 0, 140);
lv_obj_set_size(ui->screen_setting_label_s2, 80, 50);
//Write style for screen_setting_label_s2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_setting_label_s2, 1, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_setting_label_s2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_setting_label_s2, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_setting_label_s2, LV_BORDER_SIDE_RIGHT | LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_setting_label_s2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_setting_label_s2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_setting_label_s2, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_setting_label_s2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_setting_label_s2, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_setting_label_s2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_setting_label_s2, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_setting_label_s2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_setting_label_s2, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_setting_label_s2, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_setting_label_s2, 17, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_setting_label_s2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_setting_label_s2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_setting_label_s2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_setting_label_s2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_setting_label_s3
ui->screen_setting_label_s3 = lv_label_create(ui->screen_setting);
lv_label_set_text(ui->screen_setting_label_s3, "系统设置");
lv_label_set_long_mode(ui->screen_setting_label_s3, LV_LABEL_LONG_WRAP);
lv_obj_set_pos(ui->screen_setting_label_s3, 0, 190);
lv_obj_set_size(ui->screen_setting_label_s3, 80, 50);
//Write style for screen_setting_label_s3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_setting_label_s3, 1, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_setting_label_s3, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_setting_label_s3, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_setting_label_s3, LV_BORDER_SIDE_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_setting_label_s3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_setting_label_s3, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_setting_label_s3, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_setting_label_s3, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_setting_label_s3, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_setting_label_s3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_setting_label_s3, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_setting_label_s3, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_setting_label_s3, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_setting_label_s3, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_setting_label_s3, 17, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_setting_label_s3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_setting_label_s3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_setting_label_s3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_setting_label_s3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_setting_label_01 //Write codes screen_setting_label_01
ui->screen_setting_label_01 = lv_label_create(ui->screen_setting); ui->screen_setting_label_01 = lv_label_create(ui->screen_setting);
lv_label_set_text(ui->screen_setting_label_01, "V"); lv_label_set_text(ui->screen_setting_label_01, "V");
@ -479,6 +339,151 @@ void setup_scr_screen_setting(lv_ui *ui)
lv_obj_set_style_pad_left(ui->screen_setting_label_page, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_pad_left(ui->screen_setting_label_page, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_setting_label_page, 0, LV_PART_MAIN|LV_STATE_DEFAULT); lv_obj_set_style_shadow_width(ui->screen_setting_label_page, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_setting_label_title
ui->screen_setting_label_title = lv_label_create(ui->screen_setting);
lv_label_set_text(ui->screen_setting_label_title, "详细设置");
lv_label_set_long_mode(ui->screen_setting_label_title, LV_LABEL_LONG_WRAP);
lv_obj_set_pos(ui->screen_setting_label_title, 0, -3);
lv_obj_set_size(ui->screen_setting_label_title, 320, 40);
//Write style for screen_setting_label_title, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_setting_label_title, 1, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_setting_label_title, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_setting_label_title, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_setting_label_title, LV_BORDER_SIDE_FULL | LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_setting_label_title, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_setting_label_title, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_setting_label_title, &lv_font_SourceHanSerifSC_Regular_16, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_setting_label_title, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_setting_label_title, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_setting_label_title, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_setting_label_title, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_setting_label_title, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_setting_label_title, lv_color_hex(0x75d4ff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_setting_label_title, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_setting_label_title, 12, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_setting_label_title, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_setting_label_title, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_setting_label_title, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_setting_label_title, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_color(ui->screen_setting_label_title, lv_color_hex(0x1d83d8), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_opa(ui->screen_setting_label_title, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_spread(ui->screen_setting_label_title, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_ofs_x(ui->screen_setting_label_title, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_ofs_y(ui->screen_setting_label_title, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_setting_label_s0
ui->screen_setting_label_s0 = lv_label_create(ui->screen_setting);
lv_label_set_text(ui->screen_setting_label_s0, "量程设置");
lv_label_set_long_mode(ui->screen_setting_label_s0, LV_LABEL_LONG_WRAP);
lv_obj_set_pos(ui->screen_setting_label_s0, 0, 40);
lv_obj_set_size(ui->screen_setting_label_s0, 80, 50);
//Write style for screen_setting_label_s0, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_setting_label_s0, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_setting_label_s0, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_setting_label_s0, lv_color_hex(0x00b6ff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_setting_label_s0, LV_BORDER_SIDE_RIGHT | LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_setting_label_s0, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_setting_label_s0, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_setting_label_s0, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_setting_label_s0, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_setting_label_s0, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_setting_label_s0, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_setting_label_s0, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_setting_label_s0, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_setting_label_s0, lv_color_hex(0xcbefff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_setting_label_s0, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_setting_label_s0, 17, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_setting_label_s0, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_setting_label_s0, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_setting_label_s0, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_setting_label_s0, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_setting_label_s1
ui->screen_setting_label_s1 = lv_label_create(ui->screen_setting);
lv_label_set_text(ui->screen_setting_label_s1, "曲线设置");
lv_label_set_long_mode(ui->screen_setting_label_s1, LV_LABEL_LONG_WRAP);
lv_obj_set_pos(ui->screen_setting_label_s1, 0, 90);
lv_obj_set_size(ui->screen_setting_label_s1, 80, 50);
//Write style for screen_setting_label_s1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_setting_label_s1, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_setting_label_s1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_setting_label_s1, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_setting_label_s1, LV_BORDER_SIDE_RIGHT | LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_setting_label_s1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_setting_label_s1, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_setting_label_s1, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_setting_label_s1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_setting_label_s1, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_setting_label_s1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_setting_label_s1, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_setting_label_s1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_setting_label_s1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_setting_label_s1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_setting_label_s1, 17, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_setting_label_s1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_setting_label_s1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_setting_label_s1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_setting_label_s1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_setting_label_s2
ui->screen_setting_label_s2 = lv_label_create(ui->screen_setting);
lv_label_set_text(ui->screen_setting_label_s2, "数据存储");
lv_label_set_long_mode(ui->screen_setting_label_s2, LV_LABEL_LONG_WRAP);
lv_obj_set_pos(ui->screen_setting_label_s2, 0, 140);
lv_obj_set_size(ui->screen_setting_label_s2, 80, 50);
//Write style for screen_setting_label_s2, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_setting_label_s2, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_setting_label_s2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_setting_label_s2, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_setting_label_s2, LV_BORDER_SIDE_RIGHT | LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_setting_label_s2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_setting_label_s2, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_setting_label_s2, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_setting_label_s2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_setting_label_s2, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_setting_label_s2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_setting_label_s2, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_setting_label_s2, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_setting_label_s2, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_setting_label_s2, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_setting_label_s2, 17, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_setting_label_s2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_setting_label_s2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_setting_label_s2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_setting_label_s2, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_setting_label_s3
ui->screen_setting_label_s3 = lv_label_create(ui->screen_setting);
lv_label_set_text(ui->screen_setting_label_s3, "系统设置");
lv_label_set_long_mode(ui->screen_setting_label_s3, LV_LABEL_LONG_WRAP);
lv_obj_set_pos(ui->screen_setting_label_s3, 0, 190);
lv_obj_set_size(ui->screen_setting_label_s3, 80, 50);
//Write style for screen_setting_label_s3, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_setting_label_s3, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_setting_label_s3, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_setting_label_s3, lv_color_hex(0x2195f6), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_setting_label_s3, LV_BORDER_SIDE_RIGHT, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_setting_label_s3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_setting_label_s3, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_setting_label_s3, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_setting_label_s3, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_setting_label_s3, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_setting_label_s3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_setting_label_s3, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_setting_label_s3, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_setting_label_s3, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_setting_label_s3, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_setting_label_s3, 17, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_setting_label_s3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_setting_label_s3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_setting_label_s3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_setting_label_s3, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//The custom code of screen_setting. //The custom code of screen_setting.

View File

@ -390,7 +390,7 @@
<Group> <Group>
<GroupName>Application/User/Core</GroupName> <GroupName>Application/User/Core</GroupName>
<tvExp>0</tvExp> <tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel> <cbSel>0</cbSel>
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
@ -3810,7 +3810,7 @@
<Group> <Group>
<GroupName>LVGL_myGUI</GroupName> <GroupName>LVGL_myGUI</GroupName>
<tvExp>1</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel> <cbSel>0</cbSel>
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
@ -3989,270 +3989,6 @@
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2> <bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\_logo_alpha_141x60.c</PathWithFileName>
<FilenameWithoutPath>_logo_alpha_141x60.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>292</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\_triangle_alpha_14x8.c</PathWithFileName>
<FilenameWithoutPath>_triangle_alpha_14x8.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>293</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\_W_MOK_dot_alpha_8x30.c</PathWithFileName>
<FilenameWithoutPath>_W_MOK_dot_alpha_8x30.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>294</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_6W_MOK_0.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_6W_MOK_0.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>295</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_6W_MOK_1.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_6W_MOK_1.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>296</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_6W_MOK_2.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_6W_MOK_2.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>297</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_6W_MOK_3.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_6W_MOK_3.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>298</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_6W_MOK_4.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_6W_MOK_4.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>299</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_6W_MOK_5.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_6W_MOK_5.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>300</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_6W_MOK_6.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_6W_MOK_6.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>301</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_6W_MOK_7.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_6W_MOK_7.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>302</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_6W_MOK_8.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_6W_MOK_8.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>303</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_6W_MOK_9.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_6W_MOK_9.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>304</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_6W_MOK_null.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_6W_MOK_null.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>305</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_signW_MOK_minus.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_signW_MOK_minus.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>306</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_signW_MOK_plus.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_signW_MOK_plus.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>307</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_animimg_batterybt0.c</PathWithFileName>
<FilenameWithoutPath>screen_main_animimg_batterybt0.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>308</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_animimg_batterybt20.c</PathWithFileName>
<FilenameWithoutPath>screen_main_animimg_batterybt20.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>309</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_animimg_batterybt40.c</PathWithFileName>
<FilenameWithoutPath>screen_main_animimg_batterybt40.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>310</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_animimg_batterybt60.c</PathWithFileName>
<FilenameWithoutPath>screen_main_animimg_batterybt60.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>311</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_animimg_batterybt80.c</PathWithFileName>
<FilenameWithoutPath>screen_main_animimg_batterybt80.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>312</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_animimg_batterybt100.c</PathWithFileName>
<FilenameWithoutPath>screen_main_animimg_batterybt100.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>313</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\guider_fonts\lv_font_SourceHanSerifSC_Regular_12.c</PathWithFileName> <PathWithFileName>..\LVGL\myGUI\generated\guider_fonts\lv_font_SourceHanSerifSC_Regular_12.c</PathWithFileName>
<FilenameWithoutPath>lv_font_SourceHanSerifSC_Regular_12.c</FilenameWithoutPath> <FilenameWithoutPath>lv_font_SourceHanSerifSC_Regular_12.c</FilenameWithoutPath>
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
@ -4260,7 +3996,7 @@
</File> </File>
<File> <File>
<GroupNumber>17</GroupNumber> <GroupNumber>17</GroupNumber>
<FileNumber>314</FileNumber> <FileNumber>292</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -4272,7 +4008,7 @@
</File> </File>
<File> <File>
<GroupNumber>17</GroupNumber> <GroupNumber>17</GroupNumber>
<FileNumber>315</FileNumber> <FileNumber>293</FileNumber>
<FileType>1</FileType> <FileType>1</FileType>
<tvExp>0</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
@ -4282,6 +4018,270 @@
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
<bShared>0</bShared> <bShared>0</bShared>
</File> </File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>294</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\_logo_alpha_141x60.c</PathWithFileName>
<FilenameWithoutPath>_logo_alpha_141x60.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>295</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\_triangle_alpha_14x8.c</PathWithFileName>
<FilenameWithoutPath>_triangle_alpha_14x8.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>296</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\_W_MOK_dot_alpha_8x30.c</PathWithFileName>
<FilenameWithoutPath>_W_MOK_dot_alpha_8x30.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>297</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_6W_MOK_0.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_6W_MOK_0.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>298</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_6W_MOK_1.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_6W_MOK_1.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>299</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_6W_MOK_2.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_6W_MOK_2.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>300</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_6W_MOK_3.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_6W_MOK_3.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>301</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_6W_MOK_4.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_6W_MOK_4.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>302</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_6W_MOK_5.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_6W_MOK_5.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>303</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_6W_MOK_6.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_6W_MOK_6.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>304</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_6W_MOK_7.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_6W_MOK_7.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>305</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_6W_MOK_8.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_6W_MOK_8.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>306</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_6W_MOK_9.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_6W_MOK_9.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>307</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_6W_MOK_null.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_6W_MOK_null.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>308</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_signW_MOK_minus.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_signW_MOK_minus.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>309</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_ani_in_signW_MOK_plus.c</PathWithFileName>
<FilenameWithoutPath>screen_main_ani_in_signW_MOK_plus.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>310</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_animimg_batterybt0.c</PathWithFileName>
<FilenameWithoutPath>screen_main_animimg_batterybt0.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>311</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_animimg_batterybt20.c</PathWithFileName>
<FilenameWithoutPath>screen_main_animimg_batterybt20.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>312</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_animimg_batterybt40.c</PathWithFileName>
<FilenameWithoutPath>screen_main_animimg_batterybt40.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>313</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_animimg_batterybt60.c</PathWithFileName>
<FilenameWithoutPath>screen_main_animimg_batterybt60.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>314</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_animimg_batterybt80.c</PathWithFileName>
<FilenameWithoutPath>screen_main_animimg_batterybt80.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>17</GroupNumber>
<FileNumber>315</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>..\LVGL\myGUI\generated\images\screen_main_animimg_batterybt100.c</PathWithFileName>
<FilenameWithoutPath>screen_main_animimg_batterybt100.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
</Group> </Group>
<Group> <Group>

View File

@ -2578,6 +2578,21 @@
<FileType>5</FileType> <FileType>5</FileType>
<FilePath>..\LVGL\myGUI\generated\guider_customer_fonts\guider_customer_fonts.h</FilePath> <FilePath>..\LVGL\myGUI\generated\guider_customer_fonts\guider_customer_fonts.h</FilePath>
</File> </File>
<File>
<FileName>lv_font_SourceHanSerifSC_Regular_12.c</FileName>
<FileType>1</FileType>
<FilePath>..\LVGL\myGUI\generated\guider_fonts\lv_font_SourceHanSerifSC_Regular_12.c</FilePath>
</File>
<File>
<FileName>lv_font_SourceHanSerifSC_Regular_14.c</FileName>
<FileType>1</FileType>
<FilePath>..\LVGL\myGUI\generated\guider_fonts\lv_font_SourceHanSerifSC_Regular_14.c</FilePath>
</File>
<File>
<FileName>lv_font_SourceHanSerifSC_Regular_16.c</FileName>
<FileType>1</FileType>
<FilePath>..\LVGL\myGUI\generated\guider_fonts\lv_font_SourceHanSerifSC_Regular_16.c</FilePath>
</File>
<File> <File>
<FileName>_logo_alpha_141x60.c</FileName> <FileName>_logo_alpha_141x60.c</FileName>
<FileType>1</FileType> <FileType>1</FileType>
@ -2688,21 +2703,6 @@
<FileType>1</FileType> <FileType>1</FileType>
<FilePath>..\LVGL\myGUI\generated\images\screen_main_animimg_batterybt100.c</FilePath> <FilePath>..\LVGL\myGUI\generated\images\screen_main_animimg_batterybt100.c</FilePath>
</File> </File>
<File>
<FileName>lv_font_SourceHanSerifSC_Regular_12.c</FileName>
<FileType>1</FileType>
<FilePath>..\LVGL\myGUI\generated\guider_fonts\lv_font_SourceHanSerifSC_Regular_12.c</FilePath>
</File>
<File>
<FileName>lv_font_SourceHanSerifSC_Regular_14.c</FileName>
<FileType>1</FileType>
<FilePath>..\LVGL\myGUI\generated\guider_fonts\lv_font_SourceHanSerifSC_Regular_14.c</FilePath>
</File>
<File>
<FileName>lv_font_SourceHanSerifSC_Regular_16.c</FileName>
<FileType>1</FileType>
<FilePath>..\LVGL\myGUI\generated\guider_fonts\lv_font_SourceHanSerifSC_Regular_16.c</FilePath>
</File>
</Files> </Files>
</Group> </Group>
<Group> <Group>

File diff suppressed because it is too large Load Diff