存档,设置界面的选项卡更改为标签组件
This commit is contained in:
parent
32bec4e3f3
commit
b48cf51e16
|
@ -144,7 +144,9 @@ void plot_drawing(void); //实时曲线绘制
|
|||
void scr_main_recover(void); //恢复主界面的各项参数显示,用于界面切换(设置界面返回主界面)
|
||||
void input_value_show(void); //显示当前测量值
|
||||
void io_on2off_status(void); //输入输出、ON&OFF状态指示
|
||||
void setting_items_check(uint8_t cursor, uint8_t cursor_prv); //设置界面,选项卡内容选中。点亮cursor熄灭cursor_prv
|
||||
|
||||
//设置界面:点亮cursor;熄灭cursor_prv;tab_cont = 0 选项卡,tab_cont = 1 内容。
|
||||
void setting_items_check(uint8_t cursor, uint8_t cursor_prv, uint8_t tab_cont);
|
||||
|
||||
typedef enum
|
||||
{
|
||||
|
@ -231,6 +233,7 @@ typedef struct
|
|||
typedef struct
|
||||
{
|
||||
uint8_t tab_cursor; //选项卡游标,后续根据实际需求进行宏定义
|
||||
uint8_t tab_cursor_prv; //前一时刻的选项卡游标
|
||||
uint8_t tab_cursor_inner; //选项内部的游标, 99代表未选中。
|
||||
uint8_t tab_cursor_inner_prv; //前一时刻的内部游标
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
* @Author: wujunchao wujunchao@wuxismart.com
|
||||
* @Date: 2024-12-27 11:50:56
|
||||
* @LastEditors: wujunchao wujunchao@wuxismart.com
|
||||
* @LastEditTime: 2025-02-24 16:20:30
|
||||
* @LastEditTime: 2025-02-25 10:41:55
|
||||
* @FilePath: \signal_generator\App\APP_WU\Src\apps_gather.c
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
*/
|
||||
|
@ -69,6 +69,7 @@ void menu_data_init(void)
|
|||
|
||||
//screen_setting
|
||||
tabdata.tab_cursor = 0;
|
||||
tabdata.tab_cursor_prv = 0;
|
||||
tabdata.tab_cursor_inner = 99;
|
||||
tabdata.tab_cursor_inner_prv = 99;
|
||||
}
|
||||
|
@ -1171,9 +1172,8 @@ void key_functions_setting(void) //按键功能,详细设置菜单界面
|
|||
{
|
||||
case ITEMS_0:
|
||||
{
|
||||
setting_items_check(99, tabdata.tab_cursor_inner);
|
||||
setting_items_check(99, tabdata.tab_cursor_inner, 1); //熄灭当前内容
|
||||
|
||||
tabdata.tab_cursor = 0;
|
||||
tabdata.tab_cursor_inner = 99;
|
||||
tabdata.tab_cursor_inner_prv = 99;
|
||||
}
|
||||
|
@ -1202,9 +1202,10 @@ void key_functions_setting(void) //按键功能,详细设置菜单界面
|
|||
|
||||
if(tabdata.tab_cursor_inner == 99)
|
||||
{
|
||||
tabdata.tab_cursor_prv = tabdata.tab_cursor;
|
||||
tabdata.tab_cursor = (tabdata.tab_cursor <= 0)?(2):(tabdata.tab_cursor - 1);
|
||||
|
||||
lv_tabview_set_act(guider_ui.screen_setting_tabview_1 ,tabdata.tab_cursor,LV_ANIM_ON);
|
||||
|
||||
setting_items_check(tabdata.tab_cursor, tabdata.tab_cursor_prv, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1238,9 +1239,10 @@ void key_functions_setting(void) //按键功能,详细设置菜单界面
|
|||
|
||||
if(tabdata.tab_cursor_inner == 99)
|
||||
{
|
||||
tabdata.tab_cursor_prv = tabdata.tab_cursor;
|
||||
tabdata.tab_cursor = (tabdata.tab_cursor >= 2)?(0):(tabdata.tab_cursor + 1);
|
||||
|
||||
lv_tabview_set_act(guider_ui.screen_setting_tabview_1 ,tabdata.tab_cursor,LV_ANIM_ON);
|
||||
setting_items_check(tabdata.tab_cursor, tabdata.tab_cursor_prv, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1280,9 +1282,8 @@ void key_functions_setting(void) //按键功能,详细设置菜单界面
|
|||
{
|
||||
tabdata.tab_cursor_inner = 0;
|
||||
tabdata.tab_cursor_inner_prv = 0;
|
||||
//lv_style_set_bg_color(&style_screen_setting_spangroup_volt_unit_main_main_default, lv_color_hex(0x99c2e5));
|
||||
|
||||
lv_style_set_text_color(&guider_ui.screen_setting_spangroup_volt_unit_span->style, lv_color_hex(0xffffff));
|
||||
setting_items_check(tabdata.tab_cursor_inner, 99, 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1319,7 +1320,8 @@ void key_functions_setting(void) //按键功能,详细设置菜单界面
|
|||
{
|
||||
tabdata.tab_cursor_inner_prv = tabdata.tab_cursor_inner;
|
||||
tabdata.tab_cursor_inner = (tabdata.tab_cursor_inner <= 0)?(2):(tabdata.tab_cursor_inner - 1);
|
||||
setting_items_check(tabdata.tab_cursor_inner, tabdata.tab_cursor_inner_prv);
|
||||
|
||||
setting_items_check(tabdata.tab_cursor_inner, tabdata.tab_cursor_inner_prv, 1);
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -1348,7 +1350,8 @@ void key_functions_setting(void) //按键功能,详细设置菜单界面
|
|||
{
|
||||
tabdata.tab_cursor_inner_prv = tabdata.tab_cursor_inner;
|
||||
tabdata.tab_cursor_inner = (tabdata.tab_cursor_inner >= 2)?(0):(tabdata.tab_cursor_inner + 1);
|
||||
setting_items_check(tabdata.tab_cursor_inner, tabdata.tab_cursor_inner_prv);
|
||||
|
||||
setting_items_check(tabdata.tab_cursor_inner, tabdata.tab_cursor_inner_prv, 1);
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -1374,89 +1377,81 @@ void key_functions_setting(void) //按键功能,详细设置菜单界面
|
|||
}
|
||||
}
|
||||
|
||||
void setting_items_check(uint8_t cursor, uint8_t cursor_prv) //设置界面,选项卡内容选中。点亮cursor熄灭cursor_prv
|
||||
void setting_items_check(uint8_t cursor, uint8_t cursor_prv, uint8_t tab_cont) //设置界面,选项卡内容选中。点亮cursor熄灭cursor_prv
|
||||
{
|
||||
switch (tabdata.tab_cursor)
|
||||
{
|
||||
case ITEMS_0:
|
||||
if(tab_cont) //内容点亮和熄灭
|
||||
{
|
||||
switch (tabdata.tab_cursor)
|
||||
{
|
||||
//如果cusor超出当前选项卡的内容数量,在此处立即return
|
||||
|
||||
switch (cursor) //点亮当前选中目标
|
||||
case ITEMS_0:
|
||||
{
|
||||
case 0:
|
||||
//如果cusor超出当前选项卡的内容数量,在此处立即return
|
||||
|
||||
switch (cursor) //点亮当前选中目标
|
||||
{
|
||||
//lv_style_set_bg_color(&style_screen_setting_spangroup_volt_unit_main_main_default, lv_color_hex(0x99c2e5));
|
||||
case 0:
|
||||
{
|
||||
|
||||
lv_style_set_text_color(&guider_ui.screen_setting_spangroup_volt_unit_span->style, lv_color_hex(0xefffff));
|
||||
}
|
||||
break;
|
||||
|
||||
case 1:
|
||||
{
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
case 2:
|
||||
{
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
case 1:
|
||||
switch (cursor_prv) //熄灭前一时刻的目标
|
||||
{
|
||||
//lv_style_set_bg_color(&style_screen_setting_spangroup_volt_high_main_main_default, lv_color_hex(0x99c2e5));
|
||||
case 0:
|
||||
{
|
||||
|
||||
lv_style_set_text_color(&guider_ui.screen_setting_spangroup_volt_high_span->style, lv_color_hex(0xefffff));
|
||||
}
|
||||
break;
|
||||
|
||||
case 1:
|
||||
{
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
case 2:
|
||||
{
|
||||
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
case 2:
|
||||
{
|
||||
//lv_style_set_bg_color(&style_screen_setting_spangroup_volt_low_main_main_default, lv_color_hex(0x99c2e5));
|
||||
|
||||
lv_style_set_text_color(&guider_ui.screen_setting_spangroup_volt_low_span->style, lv_color_hex(0xefffff));
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
switch (cursor_prv) //熄灭前一时刻的目标
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
//lv_style_set_bg_color(&style_screen_setting_spangroup_volt_unit_main_main_default, lv_color_hex(0xffffff));
|
||||
case ITEMS_1:
|
||||
{}
|
||||
break;
|
||||
|
||||
lv_style_set_text_color(&guider_ui.screen_setting_spangroup_volt_unit_span->style, lv_color_hex(0x00aefe));
|
||||
}
|
||||
break;
|
||||
|
||||
case 1:
|
||||
{
|
||||
//lv_style_set_bg_color(&style_screen_setting_spangroup_volt_high_main_main_default, lv_color_hex(0xffffff));
|
||||
|
||||
lv_style_set_text_color(&guider_ui.screen_setting_spangroup_volt_high_span->style, lv_color_hex(0x00aefe));
|
||||
}
|
||||
break;
|
||||
|
||||
case 2:
|
||||
{
|
||||
//lv_style_set_bg_color(&style_screen_setting_spangroup_volt_low_main_main_default, lv_color_hex(0xffffff));
|
||||
|
||||
lv_style_set_text_color(&guider_ui.screen_setting_spangroup_volt_low_span->style, lv_color_hex(0x00aefe));
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
case ITEMS_2:
|
||||
{}
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
case ITEMS_1:
|
||||
{}
|
||||
break;
|
||||
|
||||
case ITEMS_2:
|
||||
{}
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
else //标签点亮和熄灭
|
||||
{}
|
||||
|
||||
lv_obj_update_layout(guider_ui.screen_setting);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -61,23 +61,23 @@ typedef struct
|
|||
lv_obj_t *screen_main_img_3;
|
||||
lv_obj_t *screen_setting;
|
||||
bool screen_setting_del;
|
||||
lv_obj_t *screen_setting_tabview_1;
|
||||
lv_obj_t *screen_setting_tabview_1_tab_1;
|
||||
lv_obj_t *screen_setting_tabview_1_tab_2;
|
||||
lv_obj_t *screen_setting_tabview_1_tab_3;
|
||||
lv_obj_t *screen_setting_spangroup_volt_unit;
|
||||
lv_span_t *screen_setting_spangroup_volt_unit_span;
|
||||
lv_obj_t *screen_setting_spangroup_volt_low;
|
||||
lv_span_t *screen_setting_spangroup_volt_low_span;
|
||||
lv_obj_t *screen_setting_spangroup_volt_high;
|
||||
lv_span_t *screen_setting_spangroup_volt_high_span;
|
||||
lv_obj_t *screen_setting_spangroup_current_unit;
|
||||
lv_span_t *screen_setting_spangroup_current_unit_span;
|
||||
lv_obj_t *screen_setting_spangroup_current_high;
|
||||
lv_span_t *screen_setting_spangroup_current_high_span;
|
||||
lv_obj_t *screen_setting_spangroup_current_low;
|
||||
lv_span_t *screen_setting_spangroup_current_low_span;
|
||||
lv_obj_t *screen_setting_label_1;
|
||||
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_15;
|
||||
lv_obj_t *screen_setting_label_14;
|
||||
lv_obj_t *screen_setting_label_13;
|
||||
lv_obj_t *screen_setting_label_12;
|
||||
lv_obj_t *screen_setting_label_11;
|
||||
lv_obj_t *screen_setting_label_10;
|
||||
lv_obj_t *screen_setting_label_05;
|
||||
lv_obj_t *screen_setting_label_04;
|
||||
lv_obj_t *screen_setting_label_03;
|
||||
lv_obj_t *screen_setting_label_02;
|
||||
lv_obj_t *screen_setting_label_01;
|
||||
lv_obj_t *screen_setting_label_00;
|
||||
lv_obj_t *screen_hidden;
|
||||
bool screen_hidden_del;
|
||||
lv_obj_t *screen_hidden_spangroup_1;
|
||||
|
@ -274,7 +274,6 @@ LV_FONT_DECLARE(lv_font_montserratMedium_12)
|
|||
LV_FONT_DECLARE(lv_font_montserratMedium_16)
|
||||
LV_FONT_DECLARE(lv_font_montserratMedium_14)
|
||||
LV_FONT_DECLARE(lv_font_montserratMedium_20)
|
||||
LV_FONT_DECLARE(lv_font_SourceHanSerifSC_Regular_16)
|
||||
LV_FONT_DECLARE(lv_font_SourceHanSerifSC_Regular_14)
|
||||
LV_FONT_DECLARE(lv_font_SourceHanSerifSC_Regular_12)
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -13,7 +13,7 @@
|
|||
#include "events_init.h"
|
||||
#include "widgets_init.h"
|
||||
#include "custom.h"
|
||||
#include "apps_gather.h"
|
||||
|
||||
|
||||
|
||||
void setup_scr_screen_setting(lv_ui *ui)
|
||||
|
@ -24,282 +24,429 @@ void setup_scr_screen_setting(lv_ui *ui)
|
|||
lv_obj_set_scrollbar_mode(ui->screen_setting, LV_SCROLLBAR_MODE_OFF);
|
||||
|
||||
//Write style for screen_setting, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||
lv_obj_set_style_bg_opa(ui->screen_setting, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui->screen_setting, 255, 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);
|
||||
|
||||
//Write codes screen_setting_tabview_1
|
||||
ui->screen_setting_tabview_1 = lv_tabview_create(ui->screen_setting, LV_DIR_LEFT, 80);
|
||||
lv_obj_set_pos(ui->screen_setting_tabview_1, 0, 40);
|
||||
lv_obj_set_size(ui->screen_setting_tabview_1, 320, 200);
|
||||
lv_obj_set_scrollbar_mode(ui->screen_setting_tabview_1, LV_SCROLLBAR_MODE_OFF);
|
||||
//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, 0);
|
||||
lv_obj_set_size(ui->screen_setting_label_title, 320, 40);
|
||||
|
||||
//Write style for screen_setting_tabview_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||
lv_obj_set_style_bg_opa(ui->screen_setting_tabview_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui->screen_setting_tabview_1, lv_color_hex(0xeaeff3), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_grad_dir(ui->screen_setting_tabview_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_color(ui->screen_setting_tabview_1, lv_color_hex(0x4d4d4d), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui->screen_setting_tabview_1, &lv_font_SourceHanSerifSC_Regular_16, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui->screen_setting_tabview_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_letter_space(ui->screen_setting_tabview_1, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_line_space(ui->screen_setting_tabview_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_width(ui->screen_setting_tabview_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_radius(ui->screen_setting_tabview_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_shadow_width(ui->screen_setting_tabview_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
//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_14, 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 style state: LV_STATE_DEFAULT for &style_screen_setting_tabview_1_extra_btnm_main_default
|
||||
static lv_style_t style_screen_setting_tabview_1_extra_btnm_main_default;
|
||||
ui_init_style(&style_screen_setting_tabview_1_extra_btnm_main_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, "设置项0");
|
||||
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);
|
||||
|
||||
lv_style_set_bg_opa(&style_screen_setting_tabview_1_extra_btnm_main_default, 255);
|
||||
lv_style_set_bg_color(&style_screen_setting_tabview_1_extra_btnm_main_default, lv_color_hex(0xffffff));
|
||||
lv_style_set_bg_grad_dir(&style_screen_setting_tabview_1_extra_btnm_main_default, LV_GRAD_DIR_NONE);
|
||||
lv_style_set_border_width(&style_screen_setting_tabview_1_extra_btnm_main_default, 0);
|
||||
lv_style_set_radius(&style_screen_setting_tabview_1_extra_btnm_main_default, 0);
|
||||
lv_obj_add_style(lv_tabview_get_tab_btns(ui->screen_setting_tabview_1), &style_screen_setting_tabview_1_extra_btnm_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
//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 style state: LV_STATE_DEFAULT for &style_screen_setting_tabview_1_extra_btnm_items_default
|
||||
static lv_style_t style_screen_setting_tabview_1_extra_btnm_items_default;
|
||||
ui_init_style(&style_screen_setting_tabview_1_extra_btnm_items_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, "设置项1");
|
||||
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);
|
||||
|
||||
lv_style_set_text_color(&style_screen_setting_tabview_1_extra_btnm_items_default, lv_color_hex(0x4d4d4d));
|
||||
lv_style_set_text_font(&style_screen_setting_tabview_1_extra_btnm_items_default, &lv_font_SourceHanSerifSC_Regular_14);
|
||||
lv_style_set_text_opa(&style_screen_setting_tabview_1_extra_btnm_items_default, 255);
|
||||
lv_obj_add_style(lv_tabview_get_tab_btns(ui->screen_setting_tabview_1), &style_screen_setting_tabview_1_extra_btnm_items_default, LV_PART_ITEMS|LV_STATE_DEFAULT);
|
||||
//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 style state: LV_STATE_CHECKED for &style_screen_setting_tabview_1_extra_btnm_items_checked
|
||||
static lv_style_t style_screen_setting_tabview_1_extra_btnm_items_checked;
|
||||
ui_init_style(&style_screen_setting_tabview_1_extra_btnm_items_checked);
|
||||
//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, "设置项2");
|
||||
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);
|
||||
|
||||
lv_style_set_text_color(&style_screen_setting_tabview_1_extra_btnm_items_checked, lv_color_hex(0x2195f6));
|
||||
lv_style_set_text_font(&style_screen_setting_tabview_1_extra_btnm_items_checked, &lv_font_SourceHanSerifSC_Regular_14);
|
||||
lv_style_set_text_opa(&style_screen_setting_tabview_1_extra_btnm_items_checked, 255);
|
||||
lv_style_set_border_width(&style_screen_setting_tabview_1_extra_btnm_items_checked, 4);
|
||||
lv_style_set_border_opa(&style_screen_setting_tabview_1_extra_btnm_items_checked, 255);
|
||||
lv_style_set_border_color(&style_screen_setting_tabview_1_extra_btnm_items_checked, lv_color_hex(0x2195f6));
|
||||
lv_style_set_border_side(&style_screen_setting_tabview_1_extra_btnm_items_checked, LV_BORDER_SIDE_NONE);
|
||||
lv_style_set_radius(&style_screen_setting_tabview_1_extra_btnm_items_checked, 0);
|
||||
lv_style_set_bg_opa(&style_screen_setting_tabview_1_extra_btnm_items_checked, 60);
|
||||
lv_style_set_bg_color(&style_screen_setting_tabview_1_extra_btnm_items_checked, lv_color_hex(0x2195f6));
|
||||
lv_style_set_bg_grad_dir(&style_screen_setting_tabview_1_extra_btnm_items_checked, LV_GRAD_DIR_NONE);
|
||||
lv_obj_add_style(lv_tabview_get_tab_btns(ui->screen_setting_tabview_1), &style_screen_setting_tabview_1_extra_btnm_items_checked, LV_PART_ITEMS|LV_STATE_CHECKED);
|
||||
//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 曲线设置
|
||||
ui->screen_setting_tabview_1_tab_1 = lv_tabview_add_tab(ui->screen_setting_tabview_1,"曲线设置");
|
||||
lv_obj_t * screen_setting_tabview_1_tab_1_label = lv_label_create(ui->screen_setting_tabview_1_tab_1);
|
||||
lv_label_set_text(screen_setting_tabview_1_tab_1_label, "电压 上限 下限\n \n电流 上限 下限");
|
||||
//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, "设置项3");
|
||||
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 codes screen_setting_spangroup_volt_unit
|
||||
ui->screen_setting_spangroup_volt_unit = lv_spangroup_create(ui->screen_setting_tabview_1_tab_1);
|
||||
lv_spangroup_set_align(ui->screen_setting_spangroup_volt_unit, LV_TEXT_ALIGN_LEFT);
|
||||
lv_spangroup_set_overflow(ui->screen_setting_spangroup_volt_unit, LV_SPAN_OVERFLOW_CLIP);
|
||||
lv_spangroup_set_mode(ui->screen_setting_spangroup_volt_unit, LV_SPAN_MODE_BREAK);
|
||||
//create span
|
||||
ui->screen_setting_spangroup_volt_unit_span = lv_spangroup_new_span(ui->screen_setting_spangroup_volt_unit);
|
||||
lv_span_set_text(ui->screen_setting_spangroup_volt_unit_span, "V");
|
||||
lv_style_set_text_color(&ui->screen_setting_spangroup_volt_unit_span->style, lv_color_hex(0x000000));
|
||||
lv_style_set_text_decor(&ui->screen_setting_spangroup_volt_unit_span->style, LV_TEXT_DECOR_NONE);
|
||||
lv_style_set_text_font(&ui->screen_setting_spangroup_volt_unit_span->style, &lv_font_montserratMedium_12);
|
||||
lv_obj_set_pos(ui->screen_setting_spangroup_volt_unit, 40, 2);
|
||||
lv_obj_set_size(ui->screen_setting_spangroup_volt_unit, 26, 14);
|
||||
//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 style state: LV_STATE_DEFAULT for &style_screen_setting_spangroup_volt_unit_main_main_default
|
||||
static lv_style_t style_screen_setting_spangroup_volt_unit_main_main_default;
|
||||
ui_init_style(&style_screen_setting_spangroup_volt_unit_main_main_default);
|
||||
//Write codes screen_setting_label_15
|
||||
ui->screen_setting_label_15 = lv_label_create(ui->screen_setting);
|
||||
lv_label_set_text(ui->screen_setting_label_15, "4");
|
||||
lv_label_set_long_mode(ui->screen_setting_label_15, LV_LABEL_LONG_WRAP);
|
||||
lv_obj_set_pos(ui->screen_setting_label_15, 265, 72);
|
||||
lv_obj_set_size(ui->screen_setting_label_15, 35, 25);
|
||||
|
||||
lv_style_set_border_width(&style_screen_setting_spangroup_volt_unit_main_main_default, 0);
|
||||
lv_style_set_radius(&style_screen_setting_spangroup_volt_unit_main_main_default, 0);
|
||||
lv_style_set_bg_opa(&style_screen_setting_spangroup_volt_unit_main_main_default, 255);
|
||||
lv_style_set_bg_color(&style_screen_setting_spangroup_volt_unit_main_main_default, lv_color_hex(0x99c2e5));
|
||||
lv_style_set_bg_grad_dir(&style_screen_setting_spangroup_volt_unit_main_main_default, LV_GRAD_DIR_NONE);
|
||||
lv_style_set_pad_top(&style_screen_setting_spangroup_volt_unit_main_main_default, 0);
|
||||
lv_style_set_pad_right(&style_screen_setting_spangroup_volt_unit_main_main_default, 0);
|
||||
lv_style_set_pad_bottom(&style_screen_setting_spangroup_volt_unit_main_main_default, 0);
|
||||
lv_style_set_pad_left(&style_screen_setting_spangroup_volt_unit_main_main_default, 0);
|
||||
lv_style_set_shadow_width(&style_screen_setting_spangroup_volt_unit_main_main_default, 0);
|
||||
lv_obj_add_style(ui->screen_setting_spangroup_volt_unit, &style_screen_setting_spangroup_volt_unit_main_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_spangroup_refr_mode(ui->screen_setting_spangroup_volt_unit);
|
||||
//Write style for screen_setting_label_15, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||
lv_obj_set_style_border_width(ui->screen_setting_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_radius(ui->screen_setting_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_color(ui->screen_setting_label_15, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui->screen_setting_label_15, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui->screen_setting_label_15, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_letter_space(ui->screen_setting_label_15, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_line_space(ui->screen_setting_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_align(ui->screen_setting_label_15, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui->screen_setting_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_top(ui->screen_setting_label_15, 8, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_right(ui->screen_setting_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_bottom(ui->screen_setting_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_left(ui->screen_setting_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_shadow_width(ui->screen_setting_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
|
||||
//Write codes screen_setting_spangroup_volt_low
|
||||
ui->screen_setting_spangroup_volt_low = lv_spangroup_create(ui->screen_setting_tabview_1_tab_1);
|
||||
lv_spangroup_set_align(ui->screen_setting_spangroup_volt_low, LV_TEXT_ALIGN_LEFT);
|
||||
lv_spangroup_set_overflow(ui->screen_setting_spangroup_volt_low, LV_SPAN_OVERFLOW_CLIP);
|
||||
lv_spangroup_set_mode(ui->screen_setting_spangroup_volt_low, LV_SPAN_MODE_BREAK);
|
||||
//create span
|
||||
ui->screen_setting_spangroup_volt_low_span = lv_spangroup_new_span(ui->screen_setting_spangroup_volt_low);
|
||||
lv_span_set_text(ui->screen_setting_spangroup_volt_low_span, "0");
|
||||
lv_style_set_text_color(&ui->screen_setting_spangroup_volt_low_span->style, lv_color_hex(0x000000));
|
||||
lv_style_set_text_decor(&ui->screen_setting_spangroup_volt_low_span->style, LV_TEXT_DECOR_NONE);
|
||||
lv_style_set_text_font(&ui->screen_setting_spangroup_volt_low_span->style, &lv_font_montserratMedium_12);
|
||||
lv_obj_set_pos(ui->screen_setting_spangroup_volt_low, 181, 2);
|
||||
lv_obj_set_size(ui->screen_setting_spangroup_volt_low, 26, 14);
|
||||
//Write codes screen_setting_label_14
|
||||
ui->screen_setting_label_14 = lv_label_create(ui->screen_setting);
|
||||
lv_label_set_text(ui->screen_setting_label_14, "下限");
|
||||
lv_label_set_long_mode(ui->screen_setting_label_14, LV_LABEL_LONG_WRAP);
|
||||
lv_obj_set_pos(ui->screen_setting_label_14, 230, 72);
|
||||
lv_obj_set_size(ui->screen_setting_label_14, 35, 25);
|
||||
|
||||
//Write style state: LV_STATE_DEFAULT for &style_screen_setting_spangroup_volt_low_main_main_default
|
||||
static lv_style_t style_screen_setting_spangroup_volt_low_main_main_default;
|
||||
ui_init_style(&style_screen_setting_spangroup_volt_low_main_main_default);
|
||||
//Write style for screen_setting_label_14, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||
lv_obj_set_style_border_width(ui->screen_setting_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_radius(ui->screen_setting_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_color(ui->screen_setting_label_14, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui->screen_setting_label_14, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui->screen_setting_label_14, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_letter_space(ui->screen_setting_label_14, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_line_space(ui->screen_setting_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_align(ui->screen_setting_label_14, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui->screen_setting_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_top(ui->screen_setting_label_14, 8, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_right(ui->screen_setting_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_bottom(ui->screen_setting_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_left(ui->screen_setting_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_shadow_width(ui->screen_setting_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
|
||||
lv_style_set_border_width(&style_screen_setting_spangroup_volt_low_main_main_default, 0);
|
||||
lv_style_set_radius(&style_screen_setting_spangroup_volt_low_main_main_default, 0);
|
||||
lv_style_set_bg_opa(&style_screen_setting_spangroup_volt_low_main_main_default, 0);
|
||||
lv_style_set_pad_top(&style_screen_setting_spangroup_volt_low_main_main_default, 0);
|
||||
lv_style_set_pad_right(&style_screen_setting_spangroup_volt_low_main_main_default, 0);
|
||||
lv_style_set_pad_bottom(&style_screen_setting_spangroup_volt_low_main_main_default, 0);
|
||||
lv_style_set_pad_left(&style_screen_setting_spangroup_volt_low_main_main_default, 0);
|
||||
lv_style_set_shadow_width(&style_screen_setting_spangroup_volt_low_main_main_default, 0);
|
||||
lv_obj_add_style(ui->screen_setting_spangroup_volt_low, &style_screen_setting_spangroup_volt_low_main_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_spangroup_refr_mode(ui->screen_setting_spangroup_volt_low);
|
||||
//Write codes screen_setting_label_13
|
||||
ui->screen_setting_label_13 = lv_label_create(ui->screen_setting);
|
||||
lv_label_set_text(ui->screen_setting_label_13, "20");
|
||||
lv_label_set_long_mode(ui->screen_setting_label_13, LV_LABEL_LONG_WRAP);
|
||||
lv_obj_set_pos(ui->screen_setting_label_13, 195, 72);
|
||||
lv_obj_set_size(ui->screen_setting_label_13, 35, 25);
|
||||
|
||||
//Write codes screen_setting_spangroup_volt_high
|
||||
ui->screen_setting_spangroup_volt_high = lv_spangroup_create(ui->screen_setting_tabview_1_tab_1);
|
||||
lv_spangroup_set_align(ui->screen_setting_spangroup_volt_high, LV_TEXT_ALIGN_LEFT);
|
||||
lv_spangroup_set_overflow(ui->screen_setting_spangroup_volt_high, LV_SPAN_OVERFLOW_CLIP);
|
||||
lv_spangroup_set_mode(ui->screen_setting_spangroup_volt_high, LV_SPAN_MODE_BREAK);
|
||||
//create span
|
||||
ui->screen_setting_spangroup_volt_high_span = lv_spangroup_new_span(ui->screen_setting_spangroup_volt_high);
|
||||
lv_span_set_text(ui->screen_setting_spangroup_volt_high_span, "30");
|
||||
lv_style_set_text_color(&ui->screen_setting_spangroup_volt_high_span->style, lv_color_hex(0x000000));
|
||||
lv_style_set_text_decor(&ui->screen_setting_spangroup_volt_high_span->style, LV_TEXT_DECOR_NONE);
|
||||
lv_style_set_text_font(&ui->screen_setting_spangroup_volt_high_span->style, &lv_font_montserratMedium_12);
|
||||
lv_obj_set_pos(ui->screen_setting_spangroup_volt_high, 107, 2);
|
||||
lv_obj_set_size(ui->screen_setting_spangroup_volt_high, 26, 14);
|
||||
//Write style for screen_setting_label_13, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||
lv_obj_set_style_border_width(ui->screen_setting_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_radius(ui->screen_setting_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_color(ui->screen_setting_label_13, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui->screen_setting_label_13, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui->screen_setting_label_13, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_letter_space(ui->screen_setting_label_13, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_line_space(ui->screen_setting_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_align(ui->screen_setting_label_13, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui->screen_setting_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_top(ui->screen_setting_label_13, 8, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_right(ui->screen_setting_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_bottom(ui->screen_setting_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_left(ui->screen_setting_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_shadow_width(ui->screen_setting_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
|
||||
//Write style state: LV_STATE_DEFAULT for &style_screen_setting_spangroup_volt_high_main_main_default
|
||||
static lv_style_t style_screen_setting_spangroup_volt_high_main_main_default;
|
||||
ui_init_style(&style_screen_setting_spangroup_volt_high_main_main_default);
|
||||
//Write codes screen_setting_label_12
|
||||
ui->screen_setting_label_12 = lv_label_create(ui->screen_setting);
|
||||
lv_label_set_text(ui->screen_setting_label_12, "上限");
|
||||
lv_label_set_long_mode(ui->screen_setting_label_12, LV_LABEL_LONG_WRAP);
|
||||
lv_obj_set_pos(ui->screen_setting_label_12, 160, 72);
|
||||
lv_obj_set_size(ui->screen_setting_label_12, 35, 25);
|
||||
|
||||
lv_style_set_border_width(&style_screen_setting_spangroup_volt_high_main_main_default, 0);
|
||||
lv_style_set_radius(&style_screen_setting_spangroup_volt_high_main_main_default, 0);
|
||||
lv_style_set_bg_opa(&style_screen_setting_spangroup_volt_high_main_main_default, 0);
|
||||
lv_style_set_pad_top(&style_screen_setting_spangroup_volt_high_main_main_default, 0);
|
||||
lv_style_set_pad_right(&style_screen_setting_spangroup_volt_high_main_main_default, 0);
|
||||
lv_style_set_pad_bottom(&style_screen_setting_spangroup_volt_high_main_main_default, 0);
|
||||
lv_style_set_pad_left(&style_screen_setting_spangroup_volt_high_main_main_default, 0);
|
||||
lv_style_set_shadow_width(&style_screen_setting_spangroup_volt_high_main_main_default, 0);
|
||||
lv_obj_add_style(ui->screen_setting_spangroup_volt_high, &style_screen_setting_spangroup_volt_high_main_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_spangroup_refr_mode(ui->screen_setting_spangroup_volt_high);
|
||||
//Write style for screen_setting_label_12, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||
lv_obj_set_style_border_width(ui->screen_setting_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_radius(ui->screen_setting_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_color(ui->screen_setting_label_12, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui->screen_setting_label_12, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui->screen_setting_label_12, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_letter_space(ui->screen_setting_label_12, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_line_space(ui->screen_setting_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_align(ui->screen_setting_label_12, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui->screen_setting_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_top(ui->screen_setting_label_12, 8, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_right(ui->screen_setting_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_bottom(ui->screen_setting_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_left(ui->screen_setting_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_shadow_width(ui->screen_setting_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
|
||||
//Write codes screen_setting_spangroup_current_unit
|
||||
ui->screen_setting_spangroup_current_unit = lv_spangroup_create(ui->screen_setting_tabview_1_tab_1);
|
||||
lv_spangroup_set_align(ui->screen_setting_spangroup_current_unit, LV_TEXT_ALIGN_LEFT);
|
||||
lv_spangroup_set_overflow(ui->screen_setting_spangroup_current_unit, LV_SPAN_OVERFLOW_CLIP);
|
||||
lv_spangroup_set_mode(ui->screen_setting_spangroup_current_unit, LV_SPAN_MODE_BREAK);
|
||||
//create span
|
||||
ui->screen_setting_spangroup_current_unit_span = lv_spangroup_new_span(ui->screen_setting_spangroup_current_unit);
|
||||
lv_span_set_text(ui->screen_setting_spangroup_current_unit_span, "mA");
|
||||
lv_style_set_text_color(&ui->screen_setting_spangroup_current_unit_span->style, lv_color_hex(0x000000));
|
||||
lv_style_set_text_decor(&ui->screen_setting_spangroup_current_unit_span->style, LV_TEXT_DECOR_NONE);
|
||||
lv_style_set_text_font(&ui->screen_setting_spangroup_current_unit_span->style, &lv_font_montserratMedium_12);
|
||||
lv_obj_set_pos(ui->screen_setting_spangroup_current_unit, 40, 34);
|
||||
lv_obj_set_size(ui->screen_setting_spangroup_current_unit, 26, 14);
|
||||
//Write codes screen_setting_label_11
|
||||
ui->screen_setting_label_11 = lv_label_create(ui->screen_setting);
|
||||
lv_label_set_text(ui->screen_setting_label_11, "mA");
|
||||
lv_label_set_long_mode(ui->screen_setting_label_11, LV_LABEL_LONG_WRAP);
|
||||
lv_obj_set_pos(ui->screen_setting_label_11, 125, 72);
|
||||
lv_obj_set_size(ui->screen_setting_label_11, 35, 25);
|
||||
|
||||
//Write style state: LV_STATE_DEFAULT for &style_screen_setting_spangroup_current_unit_main_main_default
|
||||
static lv_style_t style_screen_setting_spangroup_current_unit_main_main_default;
|
||||
ui_init_style(&style_screen_setting_spangroup_current_unit_main_main_default);
|
||||
//Write style for screen_setting_label_11, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||
lv_obj_set_style_border_width(ui->screen_setting_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_radius(ui->screen_setting_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_color(ui->screen_setting_label_11, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui->screen_setting_label_11, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui->screen_setting_label_11, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_letter_space(ui->screen_setting_label_11, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_line_space(ui->screen_setting_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_align(ui->screen_setting_label_11, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui->screen_setting_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_top(ui->screen_setting_label_11, 8, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_right(ui->screen_setting_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_bottom(ui->screen_setting_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_left(ui->screen_setting_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_shadow_width(ui->screen_setting_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
|
||||
lv_style_set_border_width(&style_screen_setting_spangroup_current_unit_main_main_default, 0);
|
||||
lv_style_set_radius(&style_screen_setting_spangroup_current_unit_main_main_default, 0);
|
||||
lv_style_set_bg_opa(&style_screen_setting_spangroup_current_unit_main_main_default, 0);
|
||||
lv_style_set_pad_top(&style_screen_setting_spangroup_current_unit_main_main_default, 0);
|
||||
lv_style_set_pad_right(&style_screen_setting_spangroup_current_unit_main_main_default, 0);
|
||||
lv_style_set_pad_bottom(&style_screen_setting_spangroup_current_unit_main_main_default, 0);
|
||||
lv_style_set_pad_left(&style_screen_setting_spangroup_current_unit_main_main_default, 0);
|
||||
lv_style_set_shadow_width(&style_screen_setting_spangroup_current_unit_main_main_default, 0);
|
||||
lv_obj_add_style(ui->screen_setting_spangroup_current_unit, &style_screen_setting_spangroup_current_unit_main_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_spangroup_refr_mode(ui->screen_setting_spangroup_current_unit);
|
||||
//Write codes screen_setting_label_10
|
||||
ui->screen_setting_label_10 = lv_label_create(ui->screen_setting);
|
||||
lv_label_set_text(ui->screen_setting_label_10, "电流");
|
||||
lv_label_set_long_mode(ui->screen_setting_label_10, LV_LABEL_LONG_WRAP);
|
||||
lv_obj_set_pos(ui->screen_setting_label_10, 90, 72);
|
||||
lv_obj_set_size(ui->screen_setting_label_10, 35, 25);
|
||||
|
||||
//Write codes screen_setting_spangroup_current_high
|
||||
ui->screen_setting_spangroup_current_high = lv_spangroup_create(ui->screen_setting_tabview_1_tab_1);
|
||||
lv_spangroup_set_align(ui->screen_setting_spangroup_current_high, LV_TEXT_ALIGN_LEFT);
|
||||
lv_spangroup_set_overflow(ui->screen_setting_spangroup_current_high, LV_SPAN_OVERFLOW_CLIP);
|
||||
lv_spangroup_set_mode(ui->screen_setting_spangroup_current_high, LV_SPAN_MODE_BREAK);
|
||||
//create span
|
||||
ui->screen_setting_spangroup_current_high_span = lv_spangroup_new_span(ui->screen_setting_spangroup_current_high);
|
||||
lv_span_set_text(ui->screen_setting_spangroup_current_high_span, "30");
|
||||
lv_style_set_text_color(&ui->screen_setting_spangroup_current_high_span->style, lv_color_hex(0x000000));
|
||||
lv_style_set_text_decor(&ui->screen_setting_spangroup_current_high_span->style, LV_TEXT_DECOR_NONE);
|
||||
lv_style_set_text_font(&ui->screen_setting_spangroup_current_high_span->style, &lv_font_montserratMedium_12);
|
||||
lv_obj_set_pos(ui->screen_setting_spangroup_current_high, 107, 34);
|
||||
lv_obj_set_size(ui->screen_setting_spangroup_current_high, 26, 14);
|
||||
//Write style for screen_setting_label_10, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||
lv_obj_set_style_border_width(ui->screen_setting_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_radius(ui->screen_setting_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_color(ui->screen_setting_label_10, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui->screen_setting_label_10, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui->screen_setting_label_10, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_letter_space(ui->screen_setting_label_10, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_line_space(ui->screen_setting_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_align(ui->screen_setting_label_10, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui->screen_setting_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_top(ui->screen_setting_label_10, 8, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_right(ui->screen_setting_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_bottom(ui->screen_setting_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_left(ui->screen_setting_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_shadow_width(ui->screen_setting_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
|
||||
//Write style state: LV_STATE_DEFAULT for &style_screen_setting_spangroup_current_high_main_main_default
|
||||
static lv_style_t style_screen_setting_spangroup_current_high_main_main_default;
|
||||
ui_init_style(&style_screen_setting_spangroup_current_high_main_main_default);
|
||||
//Write codes screen_setting_label_05
|
||||
ui->screen_setting_label_05 = lv_label_create(ui->screen_setting);
|
||||
lv_label_set_text(ui->screen_setting_label_05, "0");
|
||||
lv_label_set_long_mode(ui->screen_setting_label_05, LV_LABEL_LONG_WRAP);
|
||||
lv_obj_set_pos(ui->screen_setting_label_05, 265, 40);
|
||||
lv_obj_set_size(ui->screen_setting_label_05, 35, 25);
|
||||
|
||||
lv_style_set_border_width(&style_screen_setting_spangroup_current_high_main_main_default, 0);
|
||||
lv_style_set_radius(&style_screen_setting_spangroup_current_high_main_main_default, 0);
|
||||
lv_style_set_bg_opa(&style_screen_setting_spangroup_current_high_main_main_default, 0);
|
||||
lv_style_set_pad_top(&style_screen_setting_spangroup_current_high_main_main_default, 0);
|
||||
lv_style_set_pad_right(&style_screen_setting_spangroup_current_high_main_main_default, 0);
|
||||
lv_style_set_pad_bottom(&style_screen_setting_spangroup_current_high_main_main_default, 0);
|
||||
lv_style_set_pad_left(&style_screen_setting_spangroup_current_high_main_main_default, 0);
|
||||
lv_style_set_shadow_width(&style_screen_setting_spangroup_current_high_main_main_default, 0);
|
||||
lv_obj_add_style(ui->screen_setting_spangroup_current_high, &style_screen_setting_spangroup_current_high_main_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_spangroup_refr_mode(ui->screen_setting_spangroup_current_high);
|
||||
//Write style for screen_setting_label_05, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||
lv_obj_set_style_border_width(ui->screen_setting_label_05, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_radius(ui->screen_setting_label_05, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_color(ui->screen_setting_label_05, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui->screen_setting_label_05, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui->screen_setting_label_05, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_letter_space(ui->screen_setting_label_05, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_line_space(ui->screen_setting_label_05, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_align(ui->screen_setting_label_05, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui->screen_setting_label_05, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_top(ui->screen_setting_label_05, 8, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_right(ui->screen_setting_label_05, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_bottom(ui->screen_setting_label_05, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_left(ui->screen_setting_label_05, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_shadow_width(ui->screen_setting_label_05, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
|
||||
//Write codes screen_setting_spangroup_current_low
|
||||
ui->screen_setting_spangroup_current_low = lv_spangroup_create(ui->screen_setting_tabview_1_tab_1);
|
||||
lv_spangroup_set_align(ui->screen_setting_spangroup_current_low, LV_TEXT_ALIGN_LEFT);
|
||||
lv_spangroup_set_overflow(ui->screen_setting_spangroup_current_low, LV_SPAN_OVERFLOW_CLIP);
|
||||
lv_spangroup_set_mode(ui->screen_setting_spangroup_current_low, LV_SPAN_MODE_BREAK);
|
||||
//create span
|
||||
ui->screen_setting_spangroup_current_low_span = lv_spangroup_new_span(ui->screen_setting_spangroup_current_low);
|
||||
lv_span_set_text(ui->screen_setting_spangroup_current_low_span, "0");
|
||||
lv_style_set_text_color(&ui->screen_setting_spangroup_current_low_span->style, lv_color_hex(0x000000));
|
||||
lv_style_set_text_decor(&ui->screen_setting_spangroup_current_low_span->style, LV_TEXT_DECOR_NONE);
|
||||
lv_style_set_text_font(&ui->screen_setting_spangroup_current_low_span->style, &lv_font_montserratMedium_12);
|
||||
lv_obj_set_pos(ui->screen_setting_spangroup_current_low, 180, 34);
|
||||
lv_obj_set_size(ui->screen_setting_spangroup_current_low, 26, 14);
|
||||
//Write codes screen_setting_label_04
|
||||
ui->screen_setting_label_04 = lv_label_create(ui->screen_setting);
|
||||
lv_label_set_text(ui->screen_setting_label_04, "下限");
|
||||
lv_label_set_long_mode(ui->screen_setting_label_04, LV_LABEL_LONG_WRAP);
|
||||
lv_obj_set_pos(ui->screen_setting_label_04, 230, 40);
|
||||
lv_obj_set_size(ui->screen_setting_label_04, 35, 25);
|
||||
|
||||
//Write style state: LV_STATE_DEFAULT for &style_screen_setting_spangroup_current_low_main_main_default
|
||||
static lv_style_t style_screen_setting_spangroup_current_low_main_main_default;
|
||||
ui_init_style(&style_screen_setting_spangroup_current_low_main_main_default);
|
||||
//Write style for screen_setting_label_04, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||
lv_obj_set_style_border_width(ui->screen_setting_label_04, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_radius(ui->screen_setting_label_04, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_color(ui->screen_setting_label_04, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui->screen_setting_label_04, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui->screen_setting_label_04, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_letter_space(ui->screen_setting_label_04, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_line_space(ui->screen_setting_label_04, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_align(ui->screen_setting_label_04, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui->screen_setting_label_04, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_top(ui->screen_setting_label_04, 8, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_right(ui->screen_setting_label_04, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_bottom(ui->screen_setting_label_04, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_left(ui->screen_setting_label_04, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_shadow_width(ui->screen_setting_label_04, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
|
||||
lv_style_set_border_width(&style_screen_setting_spangroup_current_low_main_main_default, 0);
|
||||
lv_style_set_radius(&style_screen_setting_spangroup_current_low_main_main_default, 0);
|
||||
lv_style_set_bg_opa(&style_screen_setting_spangroup_current_low_main_main_default, 0);
|
||||
lv_style_set_pad_top(&style_screen_setting_spangroup_current_low_main_main_default, 0);
|
||||
lv_style_set_pad_right(&style_screen_setting_spangroup_current_low_main_main_default, 0);
|
||||
lv_style_set_pad_bottom(&style_screen_setting_spangroup_current_low_main_main_default, 0);
|
||||
lv_style_set_pad_left(&style_screen_setting_spangroup_current_low_main_main_default, 0);
|
||||
lv_style_set_shadow_width(&style_screen_setting_spangroup_current_low_main_main_default, 0);
|
||||
lv_obj_add_style(ui->screen_setting_spangroup_current_low, &style_screen_setting_spangroup_current_low_main_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_spangroup_refr_mode(ui->screen_setting_spangroup_current_low);
|
||||
//Write codes screen_setting_label_03
|
||||
ui->screen_setting_label_03 = lv_label_create(ui->screen_setting);
|
||||
lv_label_set_text(ui->screen_setting_label_03, "30");
|
||||
lv_label_set_long_mode(ui->screen_setting_label_03, LV_LABEL_LONG_WRAP);
|
||||
lv_obj_set_pos(ui->screen_setting_label_03, 195, 40);
|
||||
lv_obj_set_size(ui->screen_setting_label_03, 35, 25);
|
||||
|
||||
//Write codes tab
|
||||
ui->screen_setting_tabview_1_tab_2 = lv_tabview_add_tab(ui->screen_setting_tabview_1,"tab");
|
||||
lv_obj_t * screen_setting_tabview_1_tab_2_label = lv_label_create(ui->screen_setting_tabview_1_tab_2);
|
||||
lv_label_set_text(screen_setting_tabview_1_tab_2_label, "con2");
|
||||
//Write style for screen_setting_label_03, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||
lv_obj_set_style_border_width(ui->screen_setting_label_03, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_radius(ui->screen_setting_label_03, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_color(ui->screen_setting_label_03, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui->screen_setting_label_03, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui->screen_setting_label_03, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_letter_space(ui->screen_setting_label_03, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_line_space(ui->screen_setting_label_03, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_align(ui->screen_setting_label_03, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui->screen_setting_label_03, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_top(ui->screen_setting_label_03, 8, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_right(ui->screen_setting_label_03, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_bottom(ui->screen_setting_label_03, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_left(ui->screen_setting_label_03, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_shadow_width(ui->screen_setting_label_03, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
|
||||
//Write codes tab
|
||||
ui->screen_setting_tabview_1_tab_3 = lv_tabview_add_tab(ui->screen_setting_tabview_1,"tab");
|
||||
lv_obj_t * screen_setting_tabview_1_tab_3_label = lv_label_create(ui->screen_setting_tabview_1_tab_3);
|
||||
lv_label_set_text(screen_setting_tabview_1_tab_3_label, "con3");
|
||||
//Write codes screen_setting_label_02
|
||||
ui->screen_setting_label_02 = lv_label_create(ui->screen_setting);
|
||||
lv_label_set_text(ui->screen_setting_label_02, "上限");
|
||||
lv_label_set_long_mode(ui->screen_setting_label_02, LV_LABEL_LONG_WRAP);
|
||||
lv_obj_set_pos(ui->screen_setting_label_02, 160, 40);
|
||||
lv_obj_set_size(ui->screen_setting_label_02, 35, 25);
|
||||
|
||||
//Write codes screen_setting_label_1
|
||||
ui->screen_setting_label_1 = lv_label_create(ui->screen_setting);
|
||||
lv_label_set_text(ui->screen_setting_label_1, "详细设置");
|
||||
lv_label_set_long_mode(ui->screen_setting_label_1, LV_LABEL_LONG_WRAP);
|
||||
lv_obj_set_pos(ui->screen_setting_label_1, 0, 0);
|
||||
lv_obj_set_size(ui->screen_setting_label_1, 320, 40);
|
||||
//Write style for screen_setting_label_02, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||
lv_obj_set_style_border_width(ui->screen_setting_label_02, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_radius(ui->screen_setting_label_02, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_color(ui->screen_setting_label_02, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui->screen_setting_label_02, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui->screen_setting_label_02, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_letter_space(ui->screen_setting_label_02, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_line_space(ui->screen_setting_label_02, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_align(ui->screen_setting_label_02, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui->screen_setting_label_02, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_top(ui->screen_setting_label_02, 8, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_right(ui->screen_setting_label_02, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_bottom(ui->screen_setting_label_02, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_left(ui->screen_setting_label_02, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_shadow_width(ui->screen_setting_label_02, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
|
||||
//Write style for screen_setting_label_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||
lv_obj_set_style_border_width(ui->screen_setting_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_radius(ui->screen_setting_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_color(ui->screen_setting_label_1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui->screen_setting_label_1, &lv_font_SourceHanSerifSC_Regular_16, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui->screen_setting_label_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_letter_space(ui->screen_setting_label_1, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_line_space(ui->screen_setting_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_align(ui->screen_setting_label_1, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui->screen_setting_label_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui->screen_setting_label_1, lv_color_hex(0x75d4ff), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_grad_dir(ui->screen_setting_label_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_top(ui->screen_setting_label_1, 12, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_right(ui->screen_setting_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_bottom(ui->screen_setting_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_left(ui->screen_setting_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_shadow_width(ui->screen_setting_label_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
//Write codes screen_setting_label_01
|
||||
ui->screen_setting_label_01 = lv_label_create(ui->screen_setting);
|
||||
lv_label_set_text(ui->screen_setting_label_01, "mV");
|
||||
lv_label_set_long_mode(ui->screen_setting_label_01, LV_LABEL_LONG_WRAP);
|
||||
lv_obj_set_pos(ui->screen_setting_label_01, 125, 40);
|
||||
lv_obj_set_size(ui->screen_setting_label_01, 35, 25);
|
||||
|
||||
//Write style for screen_setting_label_01, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||
lv_obj_set_style_border_width(ui->screen_setting_label_01, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_radius(ui->screen_setting_label_01, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_color(ui->screen_setting_label_01, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui->screen_setting_label_01, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui->screen_setting_label_01, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_letter_space(ui->screen_setting_label_01, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_line_space(ui->screen_setting_label_01, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_align(ui->screen_setting_label_01, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui->screen_setting_label_01, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_top(ui->screen_setting_label_01, 8, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_right(ui->screen_setting_label_01, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_bottom(ui->screen_setting_label_01, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_left(ui->screen_setting_label_01, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_shadow_width(ui->screen_setting_label_01, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
|
||||
//Write codes screen_setting_label_00
|
||||
ui->screen_setting_label_00 = lv_label_create(ui->screen_setting);
|
||||
lv_label_set_text(ui->screen_setting_label_00, "电压");
|
||||
lv_label_set_long_mode(ui->screen_setting_label_00, LV_LABEL_LONG_WRAP);
|
||||
lv_obj_set_pos(ui->screen_setting_label_00, 90, 40);
|
||||
lv_obj_set_size(ui->screen_setting_label_00, 35, 25);
|
||||
|
||||
//Write style for screen_setting_label_00, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
|
||||
lv_obj_set_style_border_width(ui->screen_setting_label_00, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_radius(ui->screen_setting_label_00, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_color(ui->screen_setting_label_00, lv_color_hex(0x000000), LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui->screen_setting_label_00, &lv_font_SourceHanSerifSC_Regular_14, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui->screen_setting_label_00, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_letter_space(ui->screen_setting_label_00, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_line_space(ui->screen_setting_label_00, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_align(ui->screen_setting_label_00, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui->screen_setting_label_00, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_top(ui->screen_setting_label_00, 8, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_right(ui->screen_setting_label_00, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_bottom(ui->screen_setting_label_00, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_pad_left(ui->screen_setting_label_00, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_shadow_width(ui->screen_setting_label_00, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
|
||||
|
||||
//The custom code of screen_setting.
|
||||
|
||||
|
||||
//Update current screen layout.
|
||||
lv_obj_update_layout(ui->screen_setting);
|
||||
|
||||
|
|
|
@ -183,6 +183,7 @@ const lv_img_dsc_t * screen_main_animimg_7_imgs[11] = {
|
|||
&screen_main_animimg_2W_MOK_9,
|
||||
&screen_main_animimg_2W_MOK_null,
|
||||
};
|
||||
|
||||
const lv_img_dsc_t * screen_main_animimg_6_imgs[11] = {
|
||||
&screen_main_animimg_2W_MOK_0,
|
||||
&screen_main_animimg_2W_MOK_1,
|
||||
|
|
41007
MDK-ARM/JLinkLog.txt
41007
MDK-ARM/JLinkLog.txt
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -3934,18 +3934,6 @@
|
|||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
<bDave2>0</bDave2>
|
||||
<PathWithFileName>..\LVGL\myGUI\generated\guider_fonts\lv_font_SourceHanSerifSC_Regular_16.c</PathWithFileName>
|
||||
<FilenameWithoutPath>lv_font_SourceHanSerifSC_Regular_16.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\_logo_alpha_141x60.c</PathWithFileName>
|
||||
<FilenameWithoutPath>_logo_alpha_141x60.c</FilenameWithoutPath>
|
||||
<RteFlg>0</RteFlg>
|
||||
|
@ -3953,7 +3941,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>17</GroupNumber>
|
||||
<FileNumber>294</FileNumber>
|
||||
<FileNumber>293</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
@ -3965,7 +3953,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>17</GroupNumber>
|
||||
<FileNumber>295</FileNumber>
|
||||
<FileNumber>294</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
@ -3977,7 +3965,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>17</GroupNumber>
|
||||
<FileNumber>296</FileNumber>
|
||||
<FileNumber>295</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
@ -3989,7 +3977,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>17</GroupNumber>
|
||||
<FileNumber>297</FileNumber>
|
||||
<FileNumber>296</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
@ -4001,7 +3989,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>17</GroupNumber>
|
||||
<FileNumber>298</FileNumber>
|
||||
<FileNumber>297</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
@ -4013,7 +4001,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>17</GroupNumber>
|
||||
<FileNumber>299</FileNumber>
|
||||
<FileNumber>298</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
@ -4025,7 +4013,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>17</GroupNumber>
|
||||
<FileNumber>300</FileNumber>
|
||||
<FileNumber>299</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
@ -4037,7 +4025,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>17</GroupNumber>
|
||||
<FileNumber>301</FileNumber>
|
||||
<FileNumber>300</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
@ -4049,7 +4037,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>17</GroupNumber>
|
||||
<FileNumber>302</FileNumber>
|
||||
<FileNumber>301</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
@ -4061,7 +4049,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>17</GroupNumber>
|
||||
<FileNumber>303</FileNumber>
|
||||
<FileNumber>302</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
@ -4073,7 +4061,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>17</GroupNumber>
|
||||
<FileNumber>304</FileNumber>
|
||||
<FileNumber>303</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
@ -4085,7 +4073,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>17</GroupNumber>
|
||||
<FileNumber>305</FileNumber>
|
||||
<FileNumber>304</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
@ -4097,7 +4085,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>17</GroupNumber>
|
||||
<FileNumber>306</FileNumber>
|
||||
<FileNumber>305</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
@ -4109,7 +4097,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>17</GroupNumber>
|
||||
<FileNumber>307</FileNumber>
|
||||
<FileNumber>306</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
@ -4121,7 +4109,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>17</GroupNumber>
|
||||
<FileNumber>308</FileNumber>
|
||||
<FileNumber>307</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
@ -4133,7 +4121,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>17</GroupNumber>
|
||||
<FileNumber>309</FileNumber>
|
||||
<FileNumber>308</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
@ -4145,7 +4133,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>17</GroupNumber>
|
||||
<FileNumber>310</FileNumber>
|
||||
<FileNumber>309</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
@ -4157,7 +4145,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>17</GroupNumber>
|
||||
<FileNumber>311</FileNumber>
|
||||
<FileNumber>310</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
@ -4169,7 +4157,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>17</GroupNumber>
|
||||
<FileNumber>312</FileNumber>
|
||||
<FileNumber>311</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
@ -4181,7 +4169,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>17</GroupNumber>
|
||||
<FileNumber>313</FileNumber>
|
||||
<FileNumber>312</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
@ -4193,7 +4181,7 @@
|
|||
</File>
|
||||
<File>
|
||||
<GroupNumber>17</GroupNumber>
|
||||
<FileNumber>314</FileNumber>
|
||||
<FileNumber>313</FileNumber>
|
||||
<FileType>1</FileType>
|
||||
<tvExp>0</tvExp>
|
||||
<tvExpOptDlg>0</tvExpOptDlg>
|
||||
|
|
|
@ -2634,11 +2634,6 @@
|
|||
<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>
|
||||
<FileName>_logo_alpha_141x60.c</FileName>
|
||||
<FileType>1</FileType>
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
[EXTDLL]
|
||||
Count=0
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue