按照控制框图设计了LVGL 功能还不完善
This commit is contained in:
parent
3dd1b3f3be
commit
f2978643ef
6
.vscode/settings.json
vendored
6
.vscode/settings.json
vendored
@ -1,8 +1,8 @@
|
||||
{
|
||||
"C_Cpp.intelliSenseEngine": "default",
|
||||
"idf.espIdfPathWin": "C:/Espressif/frameworks/esp-idf-v5.3.1/",
|
||||
"idf.toolsPathWin": "C:\\Espressif",
|
||||
"idf.pythonInstallPath": "C:\\Espressif\\tools\\idf-python\\3.11.2\\python.exe",
|
||||
"idf.espIdfPathWin": "d:\\espidfEnv\\v5.3.2\\esp-idf",
|
||||
"idf.toolsPathWin": "d:\\Espressif",
|
||||
"idf.pythonInstallPath": "d:\\Espressif\\tools\\idf-python\\3.11.2\\python.exe",
|
||||
"idf.customExtraVars": {
|
||||
"OPENOCD_SCRIPTS": "d:\\Espressif\\tools\\openocd-esp32\\v0.12.0-esp32-20240318/openocd-esp32/share/openocd/scripts",
|
||||
"IDF_CCACHE_ENABLE": "1",
|
||||
|
||||
1
SquareLineProj/.$控制方式.drawio.bkp
Normal file
1
SquareLineProj/.$控制方式.drawio.bkp
Normal file
@ -0,0 +1 @@
|
||||
<mxfile host="Electron" modified="2025-03-04T12:13:26.544Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/14.6.13 Chrome/89.0.4389.128 Electron/12.0.7 Safari/537.36" etag="ZDOd-WQ6T0jJM-G9FypA" version="14.6.13" type="device" pages="2"><diagram id="v8bgTk3W0K_ExngjgtQD" name="连接拓扑图">1Vlbc9o4FP41eiRj+Yb8aIPp7kzb6S7Z2ebRwQK8NRZjiwD99XuOLGOEHUpupHmK9Ol2zneuDsQZrXafymS9/CJSnhPbSnfEGRPbti3fhj+I7GuE0qFbI4syS2vMaoFp9pPrjQ26yVJeaayGpBC5zNYmOBNFwWfSwJKyFFtz21zkqQGskwXvANNZknfRf7NULhs1/KBd+INni6V+mtnDemGVNJu1JtUyScX2CHJi4oxKIWQ9Wu1GPEf2TF4mj6weBCt5IS858M/0a5LPqrs/ffvrX7eDwTqb3A6otk8l943GPAUC9FSUcikWokjyuEWjUmyKlOO1FszaPZ+FWANIAfyPS7nX1kw2UgC0lKtcr/JdJr8fje/wqhtPz8Y7fbOa7JtJIcv99+PJ0SmctsfUrDlXyaSUIXoCAIUoeINNsjw/nEibHbM8qapsVoN6C4oJ1lujMnlW/IBpl3xtj0psyhk/x7h24qRccHlmnzYMWuPoAW3aT1ysOGgJG0qeJzJ7MN010V6/OOxrHQMG2jee4if1vQ9JvtEvkdgjASXRSA0sEjES+yRkJKQ4YBEJJmopQPDUyUwX2i4zyafrRBG3hUxiusujZD/wUvLdWXqaVUfzqfOQ6+mo3BpBXWPLo3j2rTdi1O5h1CeBRyILaQvHJBgiEgUkUkQC02yiEI8w4DggbKgQoDxG1t+bY4c6v+a4yYZX4dj7eMmtzWd3Rjq7ILnp1HW7zIqTHEfNHKezYJvgrBdlNPdDZjS/E39/T13W7zGfk3voawwrJ3m2KJB0oIuXAGCcZNA3hHphlaVp7VC8yn4m9+o+JHotskIqbbyIeONe6s95cycgD82PfsToL/oC1bpxLeoZsdoY52Lu9eXfUJmjLWI+r8AJTo1zkOH59hq+Zyxb147l5zcqbx/H9LeKY3ZRZwJNiI1gDCUzxsKJLQpUzSHuYYxE/m8c+MPXCvyBdWNRNzAjn74s8purzf7KdswL3i4vuBf2USfWBkeIIhzDIIxIODnTPtGrtE+HD8V9007579w+0W5PeY2c+0j+pNfJn6/3oWd9yHzaiG0ElEuiWH2G+Cqhhkdx5GOghSrEghEuvfdnCHXMOPJ8973jyOlSavs5PBvdw2CBg76kdfjmewr9PR+INRIZSKC+LHHJwXe1OKBeK1EjYtkg9Oaln6iIWCQIEYEjbFj33DCD9BzV6XmCsvVqoV+GXD7G+2IHL2N2V1D7EUF/WQOQaaaoqgWhF/cSIzVw8cLQPSOaU4vmoA64fYxmQ2SoJPKQhdBTS2FraebrQahEgyMhO+sESnwWvogG2F/biwXqeKwM5ymZHXU8UFoo7dG4Sh1EJsoTRs99neER5ii3CJHFnkcvMYvSIgqpN3Ct6NuXs3J1pfBJaOkY0f72Qt/vOnBtUveJ7B58tDdGmBJesRL6esBYo87oiITTWMQBuA/yHSj7O+3/71qHAgmpestD3UEjvaScBV6s39IJRwmDexS9qBdIGCuXP0TISbmALC/NmlDJUvzgI5GLsq3sc6jYJ1DTmed8Lnv6con9R2/9MSvUK5Qg12VmK+d2S5BN3W4Jst2nl3WYtj8i1F11+1uME/8P</diagram><diagram id="Tz_0NtlwYZhWGcvlDsF2" name="界面逻辑">7V3bdps4FP0aPaYLSQjQo0nstlnp3NJZneaNBGwzYxsvTBu3Xz8SINsgOYYEgdzkpcXC5rL3OVvnIgjAl8vt+zRYzz8lYbQAyAq3AF8BhJCNHPYfH/lRjEDswWJklsZhMWbtB27jn1H5RTH6LQ6jTTlWDGVJssjidXXwIVmtooesMhakafJY/do0WYSVgXUwi6SB24dgIY9+icNsXo46xN7v+BDFs7k4NXRosWcZiG+Xt7KZB2HyeDCExwBfpkmSFVvL7WW04PAJYO5G5P3vf6UUX18nN3Mah+nN9UVxsEmbn+zuIY1W2bMPHf47hXd4snDnX/H95w9BbF2FF7g49Pdg8a0ErLzX7IdAcJYm39YNr6C80u9RmkVbFb/BvTjsHkFmfFGyjLL0B/te+SuntLvS7JySgsc9hS4tx+YH7NleORiUZjPbHXmPDNsowWkBlHUaqMd5nEW36+CBf35k/gSwP8+W7DRXkG0Gm3Vh4NN4G7FT+TKmT1JUx/QodhATCS2MekULdo9WGGzmfCPfqws625UNrWfo0Iuh04vUATKwX2S808gwqVqFu3sfFCdhURUdI7J5QYhUIGrCkMoYjh1AL4E/AmMC6Bh4PhhTwEj0KN/FPo6ohDO7+awK5iZLk/+iy2SRpGxklazYN/1pvFjUhoJFPFuxjw8M54iN+xzKmM3Xo3LHMg5Dfhole3t+rTqB02SV3ZZXqJgwu2ETee9IhVDoSoQ6WOYTaRNaeV66XcdpnIl7M5s0bTy51fDBHpgleT58Y0liCSI5bumXJnnuLWlyzm6mgcLmBptqoJxbfP374oYB5Z0fmiIpHA5Nu030Y51GURdwyuwDUhkqrM2NiSLIcQG1gU/y2MYF3gSMJ8C/BHTEL4MYqsK6ONoVcURYKuuu06fuOhJhXz5OPr4yUqBtnyDFVqRb+khxTwsOO0y83hyDbZDah1cFUQ7PocKyxVj3IMr51i7wY8kV0yOebnlgNAH0tYkQIrSWTMkW78IeLR4panwsJ2azBMuG2cbIzdmSaBMzCeT72L8jOahvFd9UM9nyc1FYR30KkG3JaRO2FBrkamNEMZObGfTUoWuIHCa6lAc1KMG2skp90NGqCMglMqQq9TtIF3JyFmim0WGRgAjksDzZqSq0+mxOjuPMRK5ucxjL0KmNTpvSydEWlLBrG2Q9MZFgrTO7Q07C6/SKrtw6uJDQNSPaOuSI6HQBt+YConJxKt8gujhStCaQfwYsaU3USY0lhcb3mhViVYzsAt/msTDbYDEy37CBfwUo3o0wsronchFNs85oRFqdjVSXMwhWD2dqouql2rpoPNfoUNUj6Dc8xIrwkHdOIU8C+YYFfI+XGUeIDzIP8MbAc/0/PhnvAnaPLgCxnCL17AMN1j4ZEa3W43yI5Km630AfK5oRg/lAx/N5r16AFCWWnr3gXEoskhfQwb2gVbpr0iRKB59EFc0FXmqlwMe5gFzxLt05hpF61aNaZTRAPVqtyRtUPSzD1MM+0m14c4FWLuCigV3AbpVKGeQCux7/cC6gSKXOYgLdLUsbbAK1FckL7z5auWjkWuFbb+phvnqcy7Iu89SDqPJ3J1hyQFb3m3UOhpW36cfAH+dlyiu+/SKJOdWcrzmFLjp2T1mIeGboVj1RGbKCDXn1hAMokyaSBz8Tvv0r8qMIN3vmR5XnP+UtBIxsEYFOQLG4xYOctF+CH7e29twdmqAGE8HLF9m1emjz+DRab/A6gz9w2KCKZQx6tBpMOqrFQv2i16CQZQp6noeq6AmkhkOvwUJZU9CTPXd4+GzZd+fs0OzmeAMB8nih+5yl66aBehFAN6RhhCuciQ7kYeRtEZkybYsAbFkvcsZ49ODbgE7emCuDBccw4mSpyolDb4SJQIYYxpiiwK7IoVhq6+d1HofXjelEuSbdKluznleWitg3tMbyJx7U64YyZNXWDysWEPecar387RcHSEKnSVbUEZbQq2DpQhlLJAKwyjp2V9eyQIIkMIsnaLhBH1j3CacY83ccCKdgie+Cw3ifsq0Z34IkX5tgqWqo5Y+2W148VWTMhGfM7AT7K6j+onYqZPV3qv7uCvd3V7i/u7L7u6uyDuY7fCqm+YrK/Q+2qu8TLuQjW5xptDfv0zKvreifJeu2E3oucNoUTax0FIqG5GQbidplRdG0PclNFNm2XKR+C8iKvdhF7wyLyYhq8coz6tqvi0lae+CA0MF5VMXWz6h/vy4eFR5JPLn+q41K7F3/M72Is7ufN79dT53P8Z+beZP3zR28xrDx6wmb4td9rZdoSyhVj9kcTQIbNJxbN3CeJLDV++f6RU4c+AC5D+zQJsuBOjc/EnC9kJfdEouKwcP+3mKhvH45ezRDGJ7dxujCvJVIdf00RCNdUAB+0iTRcLqgvB65cXv2stAhLWbKQoN28TDxwnM769qsu+tH+rXJAjFMFuQk8VXKwhFazJSFBk8zGCILg4cLg6QRzzFAzzBdULyx91UKwxFe+hYG9nH/FxzyfQd/CQOP/wc=</diagram></mxfile>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@ -1,15 +1,18 @@
|
||||
SET(SOURCES screens/ui_Home.c
|
||||
screens/ui_settings.c
|
||||
screens/ui_Batinfo.c
|
||||
screens/ui_DeviceInfo.c
|
||||
ui.c
|
||||
components/ui_comp_hook.c
|
||||
ui_helpers.c
|
||||
images/ui_img_1623594766.c
|
||||
images/ui_img_345713082.c
|
||||
images/ui_img_2109873719.c
|
||||
images/ui_img_981464361.c
|
||||
fonts/ui_font_AlimamaAgileVF.c
|
||||
fonts/ui_font_AlimamaAgileVFFangyuan40.c
|
||||
fonts/ui_font_homePanelLabel.c
|
||||
fonts/ui_font_homePlusText.c
|
||||
fonts/ui_font_homeText.c
|
||||
fonts/ui_font_homeText_1.c
|
||||
fonts/ui_font_LenovoHTC.c
|
||||
fonts/ui_font_MiSansB40.c
|
||||
fonts/ui_font_MiSansM.c
|
||||
|
||||
@ -1,15 +1,18 @@
|
||||
screens/ui_Home.c
|
||||
screens/ui_settings.c
|
||||
screens/ui_Batinfo.c
|
||||
screens/ui_DeviceInfo.c
|
||||
ui.c
|
||||
components/ui_comp_hook.c
|
||||
ui_helpers.c
|
||||
images/ui_img_1623594766.c
|
||||
images/ui_img_345713082.c
|
||||
images/ui_img_2109873719.c
|
||||
images/ui_img_981464361.c
|
||||
fonts/ui_font_AlimamaAgileVF.c
|
||||
fonts/ui_font_AlimamaAgileVFFangyuan40.c
|
||||
fonts/ui_font_homePanelLabel.c
|
||||
fonts/ui_font_homePlusText.c
|
||||
fonts/ui_font_homeText.c
|
||||
fonts/ui_font_homeText_1.c
|
||||
fonts/ui_font_LenovoHTC.c
|
||||
fonts/ui_font_MiSansB40.c
|
||||
fonts/ui_font_MiSansM.c
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*******************************************************************************
|
||||
* Size: 16 px
|
||||
* Bpp: 1
|
||||
* Opts: --bpp 1 --size 16 --font E:\workplace\ESP32_workplace\i80_controller\MySquareLine\assets\MiSans-Medium.otf -o E:\workplace\ESP32_workplace\i80_controller\MySquareLine\assets\ui_font_MiSansM.c --format lvgl -r 0x20-0x7f --symbols 连接相册相机时钟音乐设置WIFI天气备忘录通讯录计算器文件游戏贪吃蛇二维码蓝牙遥控器电话邮件浏览器短信关于本机日期和时间已关闭已开启电池系统>电最大压总采样值量信息 --no-compress --no-prefilter
|
||||
* Opts: --bpp 1 --size 16 --font E:/FluxDC/SquareLineProj/assets/MiSans-Medium.otf -o E:/FluxDC/SquareLineProj/assets\ui_font_MiSansM.c --format lvgl -r 0x20-0x7f --symbols 连接相册相机时钟音乐设置WIFI天气备忘录通讯录计算器文件游戏贪吃蛇二维码蓝牙遥控器电话邮件浏览器短信1档:开始测试关于本机日期和时间已关闭已开启电池系统>电最大压总采样值量信息 --no-compress --no-prefilter
|
||||
******************************************************************************/
|
||||
|
||||
#include "../ui.h"
|
||||
@ -467,6 +467,12 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
|
||||
0x33, 0x1, 0x86, 0x1c, 0xe, 0xe0, 0x1c, 0x0,
|
||||
0x10,
|
||||
|
||||
/* U+59CB "始" */
|
||||
0x20, 0xc1, 0x82, 0x6, 0x1b, 0x3e, 0xc4, 0x4a,
|
||||
0x9, 0x2f, 0xe4, 0x80, 0x56, 0x0, 0xd0, 0x3,
|
||||
0x4f, 0xe7, 0x20, 0x8c, 0x82, 0x7a, 0xb, 0x2f,
|
||||
0xe8, 0x20, 0x80,
|
||||
|
||||
/* U+5DF2 "已" */
|
||||
0xff, 0xe0, 0x2, 0x0, 0x20, 0x2, 0x80, 0x28,
|
||||
0x2, 0xff, 0xe8, 0x0, 0x80, 0x8, 0x1, 0x80,
|
||||
@ -567,6 +573,12 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
|
||||
0x81, 0xa, 0x7f, 0xc8, 0x10, 0x20, 0x40, 0x81,
|
||||
0x2, 0x4, 0x0,
|
||||
|
||||
/* U+6863 "档" */
|
||||
0x20, 0x41, 0x22, 0x49, 0x92, 0x46, 0xbf, 0x95,
|
||||
0x10, 0x21, 0x9f, 0xee, 0x1, 0xe8, 0xd, 0x3f,
|
||||
0xe8, 0x2, 0x40, 0x12, 0x0, 0x93, 0xfc, 0x80,
|
||||
0x20,
|
||||
|
||||
/* U+6C14 "气" */
|
||||
0x10, 0x0, 0x40, 0x3, 0xff, 0x88, 0x0, 0x60,
|
||||
0x3, 0x7f, 0xc0, 0x0, 0x1f, 0xf8, 0x0, 0x20,
|
||||
@ -579,6 +591,12 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
|
||||
0xd2, 0xe2, 0x48, 0x49, 0x1, 0x64, 0x5, 0x10,
|
||||
0x14, 0x3f, 0xc0,
|
||||
|
||||
/* U+6D4B "测" */
|
||||
0x40, 0x5, 0xbe, 0x12, 0x8a, 0x42, 0xa9, 0x4a,
|
||||
0xa5, 0xaa, 0x92, 0xaa, 0x42, 0xa9, 0x2a, 0xa4,
|
||||
0xaa, 0x92, 0x22, 0x59, 0xc1, 0x45, 0x5, 0x22,
|
||||
0x15, 0x83, 0xc0,
|
||||
|
||||
/* U+6D4F "浏" */
|
||||
0x42, 0x5, 0x8c, 0x13, 0x31, 0x43, 0xf5, 0x0,
|
||||
0x95, 0xb6, 0x53, 0x59, 0x41, 0xc5, 0x23, 0x14,
|
||||
@ -686,6 +704,12 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
|
||||
0x8c, 0xc2, 0x92, 0xe, 0x38, 0x31, 0xf0, 0xbc,
|
||||
0x70, 0xc0, 0x40,
|
||||
|
||||
/* U+8BD5 "试" */
|
||||
0x0, 0xc6, 0x7, 0x90, 0x36, 0xc1, 0x81, 0xff,
|
||||
0x80, 0x63, 0x3, 0xb, 0xf8, 0x44, 0xc2, 0x26,
|
||||
0x11, 0x30, 0xc8, 0x96, 0x54, 0xaf, 0xb5, 0x40,
|
||||
0xc0,
|
||||
|
||||
/* U+8BDD "话" */
|
||||
0x40, 0x8, 0x9f, 0xe3, 0xc, 0x0, 0x30, 0xf,
|
||||
0xff, 0xbf, 0xf2, 0xc, 0x8, 0x30, 0x27, 0xf8,
|
||||
@ -754,7 +778,10 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
|
||||
0x2, 0x0, 0xc, 0x7, 0xff, 0x86, 0x18, 0x8,
|
||||
0x43, 0xff, 0xf0, 0x0, 0x0, 0x0, 0x3f, 0xf0,
|
||||
0x80, 0x42, 0x1, 0xf, 0xfc, 0x20, 0x10, 0xff,
|
||||
0xc2, 0x1, 0x0
|
||||
0xc2, 0x1, 0x0,
|
||||
|
||||
/* U+FF1A ":" */
|
||||
0xf0, 0x3, 0xc0
|
||||
};
|
||||
|
||||
|
||||
@ -876,55 +903,60 @@ static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
|
||||
{.bitmap_index = 1299, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1328, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1355, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1380, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 1401, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1426, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1451, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1380, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1407, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 1428, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1453, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1478, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1505, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1532, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1557, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1532, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1559, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1584, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1611, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1636, .adv_w = 256, .box_w = 10, .box_h = 14, .ofs_x = 3, .ofs_y = -1},
|
||||
{.bitmap_index = 1654, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 1679, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1704, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1731, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
|
||||
{.bitmap_index = 1760, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1611, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1638, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1663, .adv_w = 256, .box_w = 10, .box_h = 14, .ofs_x = 3, .ofs_y = -1},
|
||||
{.bitmap_index = 1681, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 1706, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1731, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1758, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
|
||||
{.bitmap_index = 1787, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1814, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1841, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1868, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
|
||||
{.bitmap_index = 1895, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1922, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1947, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 1972, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1997, .adv_w = 256, .box_w = 14, .box_h = 16, .ofs_x = 1, .ofs_y = -2},
|
||||
{.bitmap_index = 2025, .adv_w = 256, .box_w = 13, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2048, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2073, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2100, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2127, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2154, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1841, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1866, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1893, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1920, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1947, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
|
||||
{.bitmap_index = 1974, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2001, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2026, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2051, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2076, .adv_w = 256, .box_w = 14, .box_h = 16, .ofs_x = 1, .ofs_y = -2},
|
||||
{.bitmap_index = 2104, .adv_w = 256, .box_w = 13, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2127, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2152, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2179, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2206, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
|
||||
{.bitmap_index = 2233, .adv_w = 256, .box_w = 14, .box_h = 16, .ofs_x = 1, .ofs_y = -2},
|
||||
{.bitmap_index = 2261, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2288, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2313, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2340, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2365, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2206, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2233, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2258, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2285, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
|
||||
{.bitmap_index = 2312, .adv_w = 256, .box_w = 14, .box_h = 16, .ofs_x = 1, .ofs_y = -2},
|
||||
{.bitmap_index = 2340, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2367, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2392, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2419, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2446, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2471, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2496, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2521, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2546, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2573, .adv_w = 256, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2596, .adv_w = 256, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2619, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1}
|
||||
{.bitmap_index = 2419, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2444, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2469, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2496, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2523, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2550, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2575, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2600, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2625, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2650, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2677, .adv_w = 256, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2700, .adv_w = 256, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2723, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2750, .adv_w = 256, .box_w = 2, .box_h = 9, .ofs_x = 3, .ofs_y = 0}
|
||||
};
|
||||
|
||||
/*---------------------
|
||||
@ -934,13 +966,13 @@ static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
|
||||
static const uint16_t unicode_list_1[] = {
|
||||
0x0, 0x3c, 0x3e, 0xa6, 0x191, 0x1ec, 0x323, 0x33c,
|
||||
0x53b, 0x5b3, 0x5df, 0x63c, 0x818, 0xab7, 0xad7, 0xad9,
|
||||
0xfa2, 0x10b0, 0x1105, 0x1188, 0x11eb, 0x121f, 0x13bf, 0x1555,
|
||||
0x1557, 0x1737, 0x1795, 0x17a6, 0x18b0, 0x18cf, 0x18dc, 0x18ea,
|
||||
0x19e7, 0x1dc4, 0x1e10, 0x1eff, 0x1fe8, 0x2409, 0x26e5, 0x28a8,
|
||||
0x299d, 0x29b1, 0x2d47, 0x2eab, 0x308f, 0x30a4, 0x311e, 0x368d,
|
||||
0x3877, 0x3b78, 0x3d51, 0x3d5f, 0x3d6e, 0x3d8d, 0x3eda, 0x418e,
|
||||
0x41ca, 0x4215, 0x425e, 0x4377, 0x437f, 0x464f, 0x479d, 0x47a4,
|
||||
0x49a3
|
||||
0xb7b, 0xfa2, 0x10b0, 0x1105, 0x1188, 0x11eb, 0x121f, 0x13bf,
|
||||
0x1555, 0x1557, 0x1737, 0x1795, 0x17a6, 0x18b0, 0x18cf, 0x18dc,
|
||||
0x18ea, 0x19e7, 0x1a13, 0x1dc4, 0x1e10, 0x1efb, 0x1eff, 0x1fe8,
|
||||
0x2409, 0x26e5, 0x28a8, 0x299d, 0x29b1, 0x2d47, 0x2eab, 0x308f,
|
||||
0x30a4, 0x311e, 0x368d, 0x3877, 0x3b78, 0x3d51, 0x3d5f, 0x3d6e,
|
||||
0x3d85, 0x3d8d, 0x3eda, 0x418e, 0x41ca, 0x4215, 0x425e, 0x4377,
|
||||
0x437f, 0x464f, 0x479d, 0x47a4, 0x49a3, 0xb0ca
|
||||
};
|
||||
|
||||
/*Collect the unicode lists and glyph_id offsets*/
|
||||
@ -951,8 +983,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
|
||||
},
|
||||
{
|
||||
.range_start = 20048, .range_length = 18852, .glyph_id_start = 97,
|
||||
.unicode_list = unicode_list_1, .glyph_id_ofs_list = NULL, .list_length = 65, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY
|
||||
.range_start = 20048, .range_length = 45259, .glyph_id_start = 97,
|
||||
.unicode_list = unicode_list_1, .glyph_id_ofs_list = NULL, .list_length = 70, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY
|
||||
}
|
||||
};
|
||||
|
||||
@ -984,7 +1016,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
|
||||
};
|
||||
|
||||
/*Map glyph_ids to kern right classes*/
|
||||
@ -1010,7 +1042,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
|
||||
};
|
||||
|
||||
/*Kern values between classes*/
|
||||
@ -1293,9 +1325,12 @@ static const lv_font_fmt_txt_kern_classes_t kern_classes =
|
||||
* ALL CUSTOM DATA
|
||||
*--------------------*/
|
||||
|
||||
#if LV_VERSION_CHECK(8, 0, 0)
|
||||
#if LVGL_VERSION_MAJOR == 8
|
||||
/*Store all the custom data of the font*/
|
||||
static lv_font_fmt_txt_glyph_cache_t cache;
|
||||
#endif
|
||||
|
||||
#if LVGL_VERSION_MAJOR >= 8
|
||||
static const lv_font_fmt_txt_dsc_t font_dsc = {
|
||||
#else
|
||||
static lv_font_fmt_txt_dsc_t font_dsc = {
|
||||
@ -1309,18 +1344,19 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
|
||||
.bpp = 1,
|
||||
.kern_classes = 1,
|
||||
.bitmap_format = 0,
|
||||
#if LV_VERSION_CHECK(8, 0, 0)
|
||||
#if LVGL_VERSION_MAJOR == 8
|
||||
.cache = &cache
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
|
||||
/*-----------------
|
||||
* PUBLIC FONT
|
||||
*----------------*/
|
||||
|
||||
/*Initialize a public general font descriptor*/
|
||||
#if LV_VERSION_CHECK(8, 0, 0)
|
||||
#if LVGL_VERSION_MAJOR >= 8
|
||||
const lv_font_t ui_font_MiSansM = {
|
||||
#else
|
||||
lv_font_t ui_font_MiSansM = {
|
||||
@ -1336,7 +1372,11 @@ lv_font_t ui_font_MiSansM = {
|
||||
.underline_position = -2,
|
||||
.underline_thickness = 1,
|
||||
#endif
|
||||
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
|
||||
.dsc = &font_dsc, /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
|
||||
#if LV_VERSION_CHECK(8, 2, 0) || LVGL_VERSION_MAJOR >= 9
|
||||
.fallback = NULL,
|
||||
#endif
|
||||
.user_data = NULL,
|
||||
};
|
||||
|
||||
|
||||
|
||||
1724
SquareLineProj/Export/fonts/ui_font_homePanelLabel.c
Normal file
1724
SquareLineProj/Export/fonts/ui_font_homePanelLabel.c
Normal file
File diff suppressed because it is too large
Load Diff
1386
SquareLineProj/Export/fonts/ui_font_homePlusText.c
Normal file
1386
SquareLineProj/Export/fonts/ui_font_homePlusText.c
Normal file
File diff suppressed because it is too large
Load Diff
1766
SquareLineProj/Export/fonts/ui_font_homeText.c
Normal file
1766
SquareLineProj/Export/fonts/ui_font_homeText.c
Normal file
File diff suppressed because it is too large
Load Diff
1581
SquareLineProj/Export/fonts/ui_font_homeText_1.c
Normal file
1581
SquareLineProj/Export/fonts/ui_font_homeText_1.c
Normal file
File diff suppressed because it is too large
Load Diff
53
SquareLineProj/Export/screens/ui_DeviceInfo.c
Normal file
53
SquareLineProj/Export/screens/ui_DeviceInfo.c
Normal file
@ -0,0 +1,53 @@
|
||||
// This file was generated by SquareLine Studio
|
||||
// SquareLine Studio version: SquareLine Studio 1.5.1
|
||||
// LVGL version: 8.3.6
|
||||
// Project name: ESP32S3_UI
|
||||
|
||||
#include "../ui.h"
|
||||
|
||||
void ui_DeviceInfo_screen_init(void)
|
||||
{
|
||||
ui_DeviceInfo = lv_obj_create(NULL);
|
||||
lv_obj_clear_flag(ui_DeviceInfo, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
|
||||
ui_settingHeader3 = lv_obj_create(ui_DeviceInfo);
|
||||
lv_obj_set_width(ui_settingHeader3, 320);
|
||||
lv_obj_set_height(ui_settingHeader3, 50);
|
||||
lv_obj_set_x(ui_settingHeader3, -1);
|
||||
lv_obj_set_y(ui_settingHeader3, 2);
|
||||
lv_obj_set_align(ui_settingHeader3, LV_ALIGN_TOP_MID);
|
||||
lv_obj_clear_flag(ui_settingHeader3, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
lv_obj_set_style_radius(ui_settingHeader3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_width(ui_settingHeader3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_HomeImg3 = lv_img_create(ui_settingHeader3);
|
||||
lv_img_set_src(ui_HomeImg3, &ui_img_981464361);
|
||||
lv_obj_set_width(ui_HomeImg3, LV_SIZE_CONTENT); /// 40
|
||||
lv_obj_set_height(ui_HomeImg3, LV_SIZE_CONTENT); /// 40
|
||||
lv_obj_set_align(ui_HomeImg3, LV_ALIGN_LEFT_MID);
|
||||
lv_obj_add_flag(ui_HomeImg3, LV_OBJ_FLAG_CLICKABLE | LV_OBJ_FLAG_ADV_HITTEST); /// Flags
|
||||
lv_obj_clear_flag(ui_HomeImg3, LV_OBJ_FLAG_PRESS_LOCK | LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
|
||||
ui_Label17 = lv_label_create(ui_settingHeader3);
|
||||
lv_obj_set_width(ui_Label17, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label17, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_align(ui_Label17, LV_ALIGN_BOTTOM_MID);
|
||||
lv_label_set_text(ui_Label17, "DeviceInfo");
|
||||
lv_obj_set_style_text_color(ui_Label17, lv_color_hex(0x040000), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui_Label17, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_Label17, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_TextArea1 = lv_textarea_create(ui_DeviceInfo);
|
||||
lv_obj_set_width(ui_TextArea1, 292);
|
||||
lv_obj_set_height(ui_TextArea1, 375);
|
||||
lv_obj_set_x(ui_TextArea1, -2);
|
||||
lv_obj_set_y(ui_TextArea1, 14);
|
||||
lv_obj_set_align(ui_TextArea1, LV_ALIGN_CENTER);
|
||||
lv_textarea_set_text(ui_TextArea1,
|
||||
"\nDevice Name : FluxDC\n================================\n\nSoftware version:20250304.1.0\nHardware version:20250302.1.0\n---------------------------------------------------\nMcu:esp32-s3-wroom\nRam:8MB\nFlash:4MB\n---------------------------------------------------\nScreen:320-480px 3.5inch\nPort:i80\nTouch ic:ft6336U\nDriver ic:ili9488 compatible with st7789\n---------------------------------------------------\nSoftware website:sunme.top:3000\nTechnology support:13345203604\nName:wang xiang en\n\n");
|
||||
lv_textarea_set_placeholder_text(ui_TextArea1, "Placeholder...");
|
||||
|
||||
lv_obj_add_event_cb(ui_HomeImg3, ui_event_HomeImg3, LV_EVENT_ALL, NULL);
|
||||
lv_obj_add_event_cb(ui_settingHeader3, ui_event_settingHeader3, LV_EVENT_ALL, NULL);
|
||||
|
||||
}
|
||||
@ -9,10 +9,15 @@ void ui_Home_screen_init(void)
|
||||
{
|
||||
ui_Home = lv_obj_create(NULL);
|
||||
lv_obj_clear_flag(ui_Home, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
lv_obj_set_style_bg_color(ui_Home, lv_color_hex(0xE6E6E6), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_Home, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_grad_color(ui_Home, lv_color_hex(0xE6E6E6), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_img_src(ui_Home, &ui_img_1623594766, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_img_opa(ui_Home, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_img_recolor(ui_Home, lv_color_hex(0x97979C), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_img_recolor_opa(ui_Home, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
lv_obj_set_style_radius(ui_Home, 0, LV_PART_SCROLLBAR | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_Home, lv_color_hex(0xE6E6E6), LV_PART_SCROLLBAR | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_Home, 255, LV_PART_SCROLLBAR | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_grad_color(ui_Home, lv_color_hex(0xE6E6E6), LV_PART_SCROLLBAR | LV_STATE_DEFAULT);
|
||||
|
||||
ui_header = lv_obj_create(ui_Home);
|
||||
lv_obj_set_width(ui_header, 320);
|
||||
@ -37,30 +42,19 @@ void ui_Home_screen_init(void)
|
||||
lv_obj_set_style_text_opa(ui_WIFILabel, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_WIFILabel, &ui_font_MiSansN14, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_WIFISymbel = lv_label_create(ui_Home);
|
||||
lv_obj_set_width(ui_WIFISymbel, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_WIFISymbel, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_WIFISymbel, -90);
|
||||
lv_obj_set_y(ui_WIFISymbel, -225);
|
||||
lv_obj_set_align(ui_WIFISymbel, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_WIFISymbel, "");
|
||||
lv_obj_set_style_text_color(ui_WIFISymbel, lv_color_hex(0xFBFBFB), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui_WIFISymbel, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_WIFISymbel, &ui_font_symbolsalibaba16, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_HeaderTimeHome = lv_label_create(ui_Home);
|
||||
lv_obj_set_width(ui_HeaderTimeHome, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_HeaderTimeHome, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_HeaderTimeHome, 0);
|
||||
lv_obj_set_y(ui_HeaderTimeHome, -225);
|
||||
lv_obj_set_align(ui_HeaderTimeHome, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_HeaderTimeHome, "12:12");
|
||||
lv_label_set_text(ui_HeaderTimeHome, "Spirit-3");
|
||||
lv_obj_set_style_text_color(ui_HeaderTimeHome, lv_color_hex(0xFCF6F6), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui_HeaderTimeHome, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_HeaderTimeHome, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_SliderHeaderBat = lv_slider_create(ui_Home);
|
||||
lv_slider_set_value(ui_SliderHeaderBat, 50, LV_ANIM_OFF);
|
||||
lv_slider_set_value(ui_SliderHeaderBat, 60, LV_ANIM_OFF);
|
||||
if(lv_slider_get_mode(ui_SliderHeaderBat) == LV_SLIDER_MODE_RANGE) lv_slider_set_left_value(ui_SliderHeaderBat, 0,
|
||||
LV_ANIM_OFF);
|
||||
lv_obj_set_width(ui_SliderHeaderBat, 30);
|
||||
@ -110,6 +104,19 @@ void ui_Home_screen_init(void)
|
||||
lv_obj_set_style_text_opa(ui_LabelHeaderBatValue, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_LabelHeaderBatValue, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_wifiState = lv_obj_create(ui_Home);
|
||||
lv_obj_set_width(ui_wifiState, 25);
|
||||
lv_obj_set_height(ui_wifiState, 25);
|
||||
lv_obj_set_x(ui_wifiState, -82);
|
||||
lv_obj_set_y(ui_wifiState, -225);
|
||||
lv_obj_set_align(ui_wifiState, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_wifiState, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
lv_obj_set_style_radius(ui_wifiState, 50, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_wifiState, lv_color_hex(0xFEFCFC), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_wifiState, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_color(ui_wifiState, lv_color_hex(0xD9D6D6), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_opa(ui_wifiState, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Body = lv_obj_create(ui_Home);
|
||||
lv_obj_set_width(ui_Body, 320);
|
||||
lv_obj_set_height(ui_Body, 360);
|
||||
@ -117,8 +124,9 @@ void ui_Home_screen_init(void)
|
||||
lv_obj_set_y(ui_Body, -30);
|
||||
lv_obj_set_align(ui_Body, LV_ALIGN_CENTER);
|
||||
lv_obj_add_flag(ui_Body, LV_OBJ_FLAG_SCROLL_ONE); /// Flags
|
||||
lv_obj_set_scrollbar_mode(ui_Body, LV_SCROLLBAR_MODE_OFF);
|
||||
lv_obj_set_scrollbar_mode(ui_Body, LV_SCROLLBAR_MODE_ACTIVE);
|
||||
lv_obj_set_scroll_dir(ui_Body, LV_DIR_HOR);
|
||||
lv_obj_set_scroll_snap_x(ui_Body, LV_SCROLL_SNAP_CENTER);
|
||||
lv_obj_set_style_radius(ui_Body, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_Body, lv_color_hex(0xFFFFFF), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_Body, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
@ -128,8 +136,8 @@ void ui_Home_screen_init(void)
|
||||
ui_home1 = lv_obj_create(ui_Body);
|
||||
lv_obj_set_width(ui_home1, 320);
|
||||
lv_obj_set_height(ui_home1, 360);
|
||||
lv_obj_set_x(ui_home1, 324);
|
||||
lv_obj_set_y(ui_home1, 5);
|
||||
lv_obj_set_x(ui_home1, 325);
|
||||
lv_obj_set_y(ui_home1, 3);
|
||||
lv_obj_set_align(ui_home1, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_home1, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
lv_obj_set_style_radius(ui_home1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
@ -145,102 +153,239 @@ void ui_Home_screen_init(void)
|
||||
lv_obj_set_align(ui_Panel2, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Panel2, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
lv_obj_set_style_radius(ui_Panel2, 10, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_Panel2, lv_color_hex(0xF8F2F2), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_Panel2, lv_color_hex(0xFAF8F8), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_Panel2, 120, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_width(ui_Panel2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Label3 = lv_label_create(ui_Panel2);
|
||||
lv_obj_set_width(ui_Label3, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label3, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label3, 29);
|
||||
lv_obj_set_y(ui_Label3, 7);
|
||||
lv_obj_set_align(ui_Label3, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label3, "电池信息、wifi连接、蓝牙");
|
||||
lv_obj_set_style_text_font(ui_Label3, &ui_font_MiSansN14, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_ToolIcon = lv_img_create(ui_Panel2);
|
||||
lv_img_set_src(ui_ToolIcon, &ui_img_345713082);
|
||||
lv_obj_set_width(ui_ToolIcon, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_ToolIcon, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_ToolIcon, -109);
|
||||
lv_obj_set_y(ui_ToolIcon, 0);
|
||||
lv_obj_set_align(ui_ToolIcon, LV_ALIGN_CENTER);
|
||||
lv_obj_add_flag(ui_ToolIcon, LV_OBJ_FLAG_CLICKABLE | LV_OBJ_FLAG_ADV_HITTEST); /// Flags
|
||||
lv_obj_clear_flag(ui_ToolIcon, LV_OBJ_FLAG_PRESS_LOCK | LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
lv_obj_set_style_border_color(ui_Panel2, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_opa(ui_Panel2, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_width(ui_Panel2, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Label2 = lv_label_create(ui_Panel2);
|
||||
lv_obj_set_width(ui_Label2, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label2, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label2, -22);
|
||||
lv_obj_set_y(ui_Label2, -20);
|
||||
lv_obj_set_x(ui_Label2, -92);
|
||||
lv_obj_set_y(ui_Label2, 0);
|
||||
lv_obj_set_align(ui_Label2, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label2, "系统设置");
|
||||
lv_obj_set_style_text_font(ui_Label2, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_Label2, &ui_font_homePlusText, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_home2 = lv_obj_create(ui_Body);
|
||||
lv_obj_set_width(ui_home2, 300);
|
||||
lv_obj_set_height(ui_home2, 65);
|
||||
lv_obj_set_align(ui_home2, LV_ALIGN_TOP_MID);
|
||||
lv_obj_clear_flag(ui_home2, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
lv_obj_set_style_radius(ui_home2, 50, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_home2, lv_color_hex(0x221E1E), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_home2, 230, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_color(ui_home2, lv_color_hex(0xEDEAEA), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_opa(ui_home2, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_width(ui_home2, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
ui_Panel6 = lv_obj_create(ui_home1);
|
||||
lv_obj_set_width(ui_Panel6, 300);
|
||||
lv_obj_set_height(ui_Panel6, 75);
|
||||
lv_obj_set_x(ui_Panel6, -1);
|
||||
lv_obj_set_y(ui_Panel6, -33);
|
||||
lv_obj_set_align(ui_Panel6, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Panel6, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
lv_obj_set_style_radius(ui_Panel6, 10, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_Panel6, lv_color_hex(0xFAF8F8), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_Panel6, 120, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_color(ui_Panel6, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_opa(ui_Panel6, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_width(ui_Panel6, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Label1 = lv_label_create(ui_home2);
|
||||
ui_Label3 = lv_label_create(ui_Panel6);
|
||||
lv_obj_set_width(ui_Label3, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label3, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label3, -92);
|
||||
lv_obj_set_y(ui_Label3, 0);
|
||||
lv_obj_set_align(ui_Label3, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label3, "测试日志");
|
||||
lv_obj_set_style_text_font(ui_Label3, &ui_font_homePlusText, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Panel7 = lv_obj_create(ui_home1);
|
||||
lv_obj_set_width(ui_Panel7, 300);
|
||||
lv_obj_set_height(ui_Panel7, 75);
|
||||
lv_obj_set_x(ui_Panel7, 0);
|
||||
lv_obj_set_y(ui_Panel7, 54);
|
||||
lv_obj_set_align(ui_Panel7, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Panel7, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
lv_obj_set_style_radius(ui_Panel7, 10, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_Panel7, lv_color_hex(0xFAF8F8), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_Panel7, 120, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_color(ui_Panel7, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_opa(ui_Panel7, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_width(ui_Panel7, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Label9 = lv_label_create(ui_Panel7);
|
||||
lv_obj_set_width(ui_Label9, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label9, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label9, -92);
|
||||
lv_obj_set_y(ui_Label9, 0);
|
||||
lv_obj_set_align(ui_Label9, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label9, "设备信息");
|
||||
lv_obj_set_style_text_font(ui_Label9, &ui_font_homePlusText, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Panel3 = lv_obj_create(ui_Body);
|
||||
lv_obj_set_width(ui_Panel3, 297);
|
||||
lv_obj_set_height(ui_Panel3, 351);
|
||||
lv_obj_set_x(ui_Panel3, -1);
|
||||
lv_obj_set_y(ui_Panel3, 3);
|
||||
lv_obj_set_align(ui_Panel3, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Panel3, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
lv_obj_set_style_radius(ui_Panel3, 15, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Spinbox1 = lv_spinbox_create(ui_Panel3);
|
||||
lv_obj_set_width(ui_Spinbox1, 40);
|
||||
lv_obj_set_height(ui_Spinbox1, 55);
|
||||
lv_obj_set_x(ui_Spinbox1, -1);
|
||||
lv_obj_set_y(ui_Spinbox1, 142);
|
||||
lv_obj_set_align(ui_Spinbox1, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Spinbox1, LV_OBJ_FLAG_CLICKABLE); /// Flags
|
||||
lv_spinbox_set_digit_format(ui_Spinbox1, 1, 34);
|
||||
lv_spinbox_set_range(ui_Spinbox1, 0, 10);
|
||||
lv_spinbox_set_cursor_pos(ui_Spinbox1, 1 - 1);
|
||||
lv_spinbox_set_value(ui_Spinbox1, 1);
|
||||
lv_obj_set_style_text_color(ui_Spinbox1, lv_color_hex(0x030000), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui_Spinbox1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_align(ui_Spinbox1, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_Spinbox1, &ui_font_homePanelLabel, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_ButtonMinus = lv_btn_create(ui_Panel3);
|
||||
lv_obj_set_width(ui_ButtonMinus, 94);
|
||||
lv_obj_set_height(ui_ButtonMinus, 50);
|
||||
lv_obj_set_x(ui_ButtonMinus, -89);
|
||||
lv_obj_set_y(ui_ButtonMinus, 140);
|
||||
lv_obj_set_align(ui_ButtonMinus, LV_ALIGN_CENTER);
|
||||
lv_obj_set_style_bg_color(ui_ButtonMinus, lv_color_hex(0xE0E4E3), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_ButtonMinus, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_color(ui_ButtonMinus, lv_color_hex(0x050000), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui_ButtonMinus, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_ButtonMinus1 = lv_btn_create(ui_Panel3);
|
||||
lv_obj_set_width(ui_ButtonMinus1, 100);
|
||||
lv_obj_set_height(ui_ButtonMinus1, 50);
|
||||
lv_obj_set_x(ui_ButtonMinus1, 88);
|
||||
lv_obj_set_y(ui_ButtonMinus1, 140);
|
||||
lv_obj_set_align(ui_ButtonMinus1, LV_ALIGN_CENTER);
|
||||
lv_obj_set_style_bg_color(ui_ButtonMinus1, lv_color_hex(0xE0E4E3), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_ButtonMinus1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_color(ui_ButtonMinus1, lv_color_hex(0x050000), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui_ButtonMinus1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Label1 = lv_label_create(ui_Panel3);
|
||||
lv_obj_set_width(ui_Label1, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label1, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label1, -4);
|
||||
lv_obj_set_y(ui_Label1, 1);
|
||||
lv_obj_set_x(ui_Label1, 85);
|
||||
lv_obj_set_y(ui_Label1, 142);
|
||||
lv_obj_set_align(ui_Label1, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label1, "12:30");
|
||||
lv_obj_set_style_text_color(ui_Label1, lv_color_hex(0xFFFFFF), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui_Label1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_Label1, &ui_font_MiSansB40, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_label_set_text(ui_Label1, "+");
|
||||
lv_obj_set_style_text_font(ui_Label1, &ui_font_homePanelLabel, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Panel1 = lv_obj_create(ui_Home);
|
||||
lv_obj_set_width(ui_Panel1, 300);
|
||||
lv_obj_set_height(ui_Panel1, 70);
|
||||
lv_obj_set_x(ui_Panel1, 0);
|
||||
lv_obj_set_y(ui_Panel1, 190);
|
||||
lv_obj_set_align(ui_Panel1, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Panel1, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
lv_obj_set_style_radius(ui_Panel1, 15, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_Panel1, lv_color_hex(0xFFFFFF), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_Panel1, 100, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_color(ui_Panel1, lv_color_hex(0xFFFFFF), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_opa(ui_Panel1, 100, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_width(ui_Panel1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Label4 = lv_label_create(ui_Panel1);
|
||||
lv_obj_set_width(ui_Label4, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label4, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label4, -42);
|
||||
lv_obj_set_y(ui_Label4, -17);
|
||||
lv_obj_set_align(ui_Label4, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label4, "相册");
|
||||
lv_obj_set_style_text_font(ui_Label4, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Image2 = lv_img_create(ui_Panel1);
|
||||
lv_img_set_src(ui_Image2, &ui_img_2109873719);
|
||||
lv_obj_set_width(ui_Image2, LV_SIZE_CONTENT); /// 60
|
||||
lv_obj_set_height(ui_Image2, LV_SIZE_CONTENT); /// 60
|
||||
lv_obj_set_align(ui_Image2, LV_ALIGN_LEFT_MID);
|
||||
lv_obj_add_flag(ui_Image2, LV_OBJ_FLAG_ADV_HITTEST); /// Flags
|
||||
lv_obj_clear_flag(ui_Image2, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
|
||||
ui_Label5 = lv_label_create(ui_Panel1);
|
||||
ui_Label5 = lv_label_create(ui_Panel3);
|
||||
lv_obj_set_width(ui_Label5, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label5, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label5, -27);
|
||||
lv_obj_set_y(ui_Label5, 8);
|
||||
lv_obj_set_x(ui_Label5, -92);
|
||||
lv_obj_set_y(ui_Label5, 141);
|
||||
lv_obj_set_align(ui_Label5, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label5, "SD卡相册");
|
||||
lv_obj_set_style_text_font(ui_Label5, &ui_font_MiSansN14, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_label_set_text(ui_Label5, "-");
|
||||
lv_obj_set_style_text_font(ui_Label5, &ui_font_homePanelLabel, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Panel4 = lv_obj_create(ui_Panel3);
|
||||
lv_obj_set_width(ui_Panel4, 266);
|
||||
lv_obj_set_height(ui_Panel4, 70);
|
||||
lv_obj_set_x(ui_Panel4, 2);
|
||||
lv_obj_set_y(ui_Panel4, 60);
|
||||
lv_obj_set_align(ui_Panel4, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Panel4, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
|
||||
ui_Label6 = lv_label_create(ui_Panel4);
|
||||
lv_obj_set_width(ui_Label6, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label6, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label6, -61);
|
||||
lv_obj_set_y(ui_Label6, 1);
|
||||
lv_obj_set_align(ui_Label6, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label6, "标称体积ml");
|
||||
lv_obj_set_style_text_font(ui_Label6, &ui_font_homeText, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Spinbox2 = lv_spinbox_create(ui_Panel4);
|
||||
lv_obj_set_width(ui_Spinbox2, 101);
|
||||
lv_obj_set_height(ui_Spinbox2, 50);
|
||||
lv_obj_set_x(ui_Spinbox2, 70);
|
||||
lv_obj_set_y(ui_Spinbox2, 2);
|
||||
lv_obj_set_align(ui_Spinbox2, LV_ALIGN_CENTER);
|
||||
lv_spinbox_set_digit_format(ui_Spinbox2, 4, 0);
|
||||
lv_spinbox_set_range(ui_Spinbox2, 0, 9999);
|
||||
lv_spinbox_set_cursor_pos(ui_Spinbox2, 1 - 1);
|
||||
lv_obj_set_style_text_align(ui_Spinbox2, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_Spinbox2, &ui_font_homePanelLabel, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Panel1 = lv_obj_create(ui_Panel3);
|
||||
lv_obj_set_width(ui_Panel1, 266);
|
||||
lv_obj_set_height(ui_Panel1, 70);
|
||||
lv_obj_set_x(ui_Panel1, 3);
|
||||
lv_obj_set_y(ui_Panel1, -29);
|
||||
lv_obj_set_align(ui_Panel1, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Panel1, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
|
||||
ui_Label7 = lv_label_create(ui_Panel1);
|
||||
lv_obj_set_width(ui_Label7, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label7, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label7, -52);
|
||||
lv_obj_set_y(ui_Label7, 2);
|
||||
lv_obj_set_align(ui_Label7, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label7, "呼吸频率BPM");
|
||||
lv_obj_set_style_text_font(ui_Label7, &ui_font_homeText, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Spinbox3 = lv_spinbox_create(ui_Panel1);
|
||||
lv_obj_set_width(ui_Spinbox3, 74);
|
||||
lv_obj_set_height(ui_Spinbox3, 50);
|
||||
lv_obj_set_x(ui_Spinbox3, 79);
|
||||
lv_obj_set_y(ui_Spinbox3, 2);
|
||||
lv_obj_set_align(ui_Spinbox3, LV_ALIGN_CENTER);
|
||||
lv_spinbox_set_digit_format(ui_Spinbox3, 2, 0);
|
||||
lv_spinbox_set_range(ui_Spinbox3, 0, 9999);
|
||||
lv_spinbox_set_cursor_pos(ui_Spinbox3, 1 - 1);
|
||||
lv_obj_set_style_text_align(ui_Spinbox3, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_Spinbox3, &ui_font_homePanelLabel, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Panel5 = lv_obj_create(ui_Panel3);
|
||||
lv_obj_set_width(ui_Panel5, 266);
|
||||
lv_obj_set_height(ui_Panel5, 70);
|
||||
lv_obj_set_x(ui_Panel5, 1);
|
||||
lv_obj_set_y(ui_Panel5, -115);
|
||||
lv_obj_set_align(ui_Panel5, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Panel5, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
|
||||
ui_Label8 = lv_label_create(ui_Panel5);
|
||||
lv_obj_set_width(ui_Label8, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label8, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label8, -61);
|
||||
lv_obj_set_y(ui_Label8, 1);
|
||||
lv_obj_set_align(ui_Label8, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label8, "实测体积ml");
|
||||
lv_obj_set_style_text_font(ui_Label8, &ui_font_homeText, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Spinbox4 = lv_spinbox_create(ui_Panel5);
|
||||
lv_obj_set_width(ui_Spinbox4, 101);
|
||||
lv_obj_set_height(ui_Spinbox4, 50);
|
||||
lv_obj_set_x(ui_Spinbox4, 70);
|
||||
lv_obj_set_y(ui_Spinbox4, 2);
|
||||
lv_obj_set_align(ui_Spinbox4, LV_ALIGN_CENTER);
|
||||
lv_spinbox_set_digit_format(ui_Spinbox4, 4, 0);
|
||||
lv_spinbox_set_range(ui_Spinbox4, 0, 9999);
|
||||
lv_spinbox_set_cursor_pos(ui_Spinbox4, 1 - 1);
|
||||
lv_obj_set_style_text_align(ui_Spinbox4, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_Spinbox4, &ui_font_homePanelLabel, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Button1 = lv_btn_create(ui_Home);
|
||||
lv_obj_set_width(ui_Button1, 296);
|
||||
lv_obj_set_height(ui_Button1, 61);
|
||||
lv_obj_set_x(ui_Button1, 3);
|
||||
lv_obj_set_y(ui_Button1, 194);
|
||||
lv_obj_set_align(ui_Button1, LV_ALIGN_CENTER);
|
||||
lv_obj_set_style_bg_color(ui_Button1, lv_color_hex(0x4A58DD), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_Button1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Label4 = lv_label_create(ui_Button1);
|
||||
lv_obj_set_width(ui_Label4, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label4, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label4, 5);
|
||||
lv_obj_set_y(ui_Label4, 1);
|
||||
lv_obj_set_align(ui_Label4, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label4, "开始测试:1档");
|
||||
lv_obj_set_style_text_font(ui_Label4, &ui_font_homePanelLabel, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
lv_obj_add_event_cb(ui_ToolIcon, ui_event_ToolIcon, LV_EVENT_ALL, NULL);
|
||||
lv_obj_add_event_cb(ui_Panel2, ui_event_Panel2, LV_EVENT_ALL, NULL);
|
||||
lv_obj_add_event_cb(ui_Panel6, ui_event_Panel6, LV_EVENT_ALL, NULL);
|
||||
lv_obj_add_event_cb(ui_Panel7, ui_event_Panel7, LV_EVENT_ALL, NULL);
|
||||
|
||||
}
|
||||
|
||||
@ -69,25 +69,20 @@ void ui_settings_screen_init(void)
|
||||
lv_obj_set_style_border_width(ui_Bat, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_side(ui_Bat, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Switch2 = lv_switch_create(ui_Bat);
|
||||
lv_obj_set_width(ui_Switch2, 49);
|
||||
lv_obj_set_height(ui_Switch2, 25);
|
||||
lv_obj_set_x(ui_Switch2, 125);
|
||||
lv_obj_set_y(ui_Switch2, -2);
|
||||
lv_obj_set_align(ui_Switch2, LV_ALIGN_CENTER);
|
||||
|
||||
ui_dianchi = lv_label_create(ui_Bat);
|
||||
lv_obj_set_width(ui_dianchi, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_dianchi, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_align(ui_dianchi, LV_ALIGN_LEFT_MID);
|
||||
lv_label_set_text(ui_dianchi, "电池");
|
||||
lv_label_set_text(ui_dianchi, "WIFI");
|
||||
lv_obj_set_style_text_font(ui_dianchi, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_dayu = lv_label_create(ui_Bat);
|
||||
lv_obj_set_width(ui_dayu, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_dayu, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_dayu, 0);
|
||||
lv_obj_set_y(ui_dayu, 3);
|
||||
lv_obj_set_align(ui_dayu, LV_ALIGN_RIGHT_MID);
|
||||
lv_label_set_text(ui_dayu, ">");
|
||||
lv_obj_add_flag(ui_dayu, LV_OBJ_FLAG_CLICKABLE); /// Flags
|
||||
lv_obj_set_style_text_color(ui_dayu, lv_color_hex(0x808080), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui_dayu, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_dayu, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Time = lv_obj_create(ui_StepPannel);
|
||||
lv_obj_set_width(ui_Time, 320);
|
||||
lv_obj_set_height(ui_Time, 40);
|
||||
@ -102,29 +97,121 @@ void ui_settings_screen_init(void)
|
||||
lv_obj_set_style_border_width(ui_Time, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_side(ui_Time, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Switch1 = lv_switch_create(ui_Time);
|
||||
lv_obj_set_width(ui_Switch1, 49);
|
||||
lv_obj_set_height(ui_Switch1, 25);
|
||||
lv_obj_set_x(ui_Switch1, 125);
|
||||
lv_obj_set_y(ui_Switch1, -2);
|
||||
lv_obj_set_align(ui_Switch1, LV_ALIGN_CENTER);
|
||||
|
||||
ui_dianchi1 = lv_label_create(ui_Time);
|
||||
lv_obj_set_width(ui_dianchi1, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_dianchi1, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_align(ui_dianchi1, LV_ALIGN_LEFT_MID);
|
||||
lv_label_set_text(ui_dianchi1, "日期和时间");
|
||||
lv_label_set_text(ui_dianchi1, "PUSH");
|
||||
lv_obj_set_style_text_font(ui_dianchi1, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_dayu1 = lv_label_create(ui_Time);
|
||||
lv_obj_set_width(ui_dayu1, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_dayu1, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_dayu1, 0);
|
||||
lv_obj_set_y(ui_dayu1, 3);
|
||||
lv_obj_set_align(ui_dayu1, LV_ALIGN_RIGHT_MID);
|
||||
lv_label_set_text(ui_dayu1, ">");
|
||||
lv_obj_add_flag(ui_dayu1, LV_OBJ_FLAG_CLICKABLE); /// Flags
|
||||
lv_obj_set_style_text_color(ui_dayu1, lv_color_hex(0x808080), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui_dayu1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_dayu1, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
ui_Time2 = lv_obj_create(ui_StepPannel);
|
||||
lv_obj_set_width(ui_Time2, 320);
|
||||
lv_obj_set_height(ui_Time2, 40);
|
||||
lv_obj_set_align(ui_Time2, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Time2, LV_OBJ_FLAG_PRESS_LOCK | LV_OBJ_FLAG_CLICK_FOCUSABLE | LV_OBJ_FLAG_SCROLLABLE |
|
||||
LV_OBJ_FLAG_SCROLL_ELASTIC | LV_OBJ_FLAG_SCROLL_MOMENTUM | LV_OBJ_FLAG_SCROLL_CHAIN); /// Flags
|
||||
lv_obj_set_style_radius(ui_Time2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_Time2, lv_color_hex(0xFFFFFF), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_Time2, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_color(ui_Time2, lv_color_hex(0xB4B4B4), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_opa(ui_Time2, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_width(ui_Time2, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_side(ui_Time2, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_dianchi3 = lv_label_create(ui_Time2);
|
||||
lv_obj_set_width(ui_dianchi3, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_dianchi3, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_align(ui_dianchi3, LV_ALIGN_LEFT_MID);
|
||||
lv_label_set_text(ui_dianchi3, "Light");
|
||||
lv_obj_set_style_text_font(ui_dianchi3, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Slider1 = lv_slider_create(ui_Time2);
|
||||
lv_slider_set_value(ui_Slider1, 0, LV_ANIM_OFF);
|
||||
if(lv_slider_get_mode(ui_Slider1) == LV_SLIDER_MODE_RANGE) lv_slider_set_left_value(ui_Slider1, 0, LV_ANIM_OFF);
|
||||
lv_obj_set_width(ui_Slider1, 211);
|
||||
lv_obj_set_height(ui_Slider1, 10);
|
||||
lv_obj_set_x(ui_Slider1, 42);
|
||||
lv_obj_set_y(ui_Slider1, 1);
|
||||
lv_obj_set_align(ui_Slider1, LV_ALIGN_CENTER);
|
||||
|
||||
ui_Time3 = lv_obj_create(ui_StepPannel);
|
||||
lv_obj_set_width(ui_Time3, 320);
|
||||
lv_obj_set_height(ui_Time3, 40);
|
||||
lv_obj_set_align(ui_Time3, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Time3, LV_OBJ_FLAG_PRESS_LOCK | LV_OBJ_FLAG_CLICK_FOCUSABLE | LV_OBJ_FLAG_SCROLLABLE |
|
||||
LV_OBJ_FLAG_SCROLL_ELASTIC | LV_OBJ_FLAG_SCROLL_MOMENTUM | LV_OBJ_FLAG_SCROLL_CHAIN); /// Flags
|
||||
lv_obj_set_style_radius(ui_Time3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_Time3, lv_color_hex(0xFFFFFF), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_Time3, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_color(ui_Time3, lv_color_hex(0xB4B4B4), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_opa(ui_Time3, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_width(ui_Time3, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_side(ui_Time3, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Dropdown2 = lv_dropdown_create(ui_Time3);
|
||||
lv_dropdown_set_options(ui_Dropdown2, "Spirit-3\nSpirit-6\nYU-Lite8");
|
||||
lv_obj_set_width(ui_Dropdown2, 150);
|
||||
lv_obj_set_height(ui_Dropdown2, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Dropdown2, 78);
|
||||
lv_obj_set_y(ui_Dropdown2, 0);
|
||||
lv_obj_set_align(ui_Dropdown2, LV_ALIGN_CENTER);
|
||||
lv_obj_add_flag(ui_Dropdown2, LV_OBJ_FLAG_SCROLL_ON_FOCUS); /// Flags
|
||||
|
||||
ui_dianchi4 = lv_label_create(ui_Time3);
|
||||
lv_obj_set_width(ui_dianchi4, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_dianchi4, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_align(ui_dianchi4, LV_ALIGN_LEFT_MID);
|
||||
lv_label_set_text(ui_dianchi4, "Current Device");
|
||||
lv_obj_set_style_text_font(ui_dianchi4, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Time5 = lv_obj_create(ui_StepPannel);
|
||||
lv_obj_set_width(ui_Time5, 320);
|
||||
lv_obj_set_height(ui_Time5, 40);
|
||||
lv_obj_set_align(ui_Time5, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Time5, LV_OBJ_FLAG_PRESS_LOCK | LV_OBJ_FLAG_CLICK_FOCUSABLE | LV_OBJ_FLAG_SCROLLABLE |
|
||||
LV_OBJ_FLAG_SCROLL_ELASTIC | LV_OBJ_FLAG_SCROLL_MOMENTUM | LV_OBJ_FLAG_SCROLL_CHAIN); /// Flags
|
||||
lv_obj_set_style_radius(ui_Time5, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_Time5, lv_color_hex(0xFFFFFF), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_Time5, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_color(ui_Time5, lv_color_hex(0xB4B4B4), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_opa(ui_Time5, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_width(ui_Time5, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_side(ui_Time5, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_dianchi6 = lv_label_create(ui_Time5);
|
||||
lv_obj_set_width(ui_dianchi6, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_dianchi6, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_dianchi6, 79);
|
||||
lv_obj_set_y(ui_dianchi6, 0);
|
||||
lv_obj_set_align(ui_dianchi6, LV_ALIGN_LEFT_MID);
|
||||
lv_label_set_text(ui_dianchi6, "Battery Information");
|
||||
lv_obj_set_style_text_font(ui_dianchi6, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Button3 = lv_btn_create(ui_settings);
|
||||
lv_obj_set_width(ui_Button3, 303);
|
||||
lv_obj_set_height(ui_Button3, 50);
|
||||
lv_obj_set_x(ui_Button3, 1);
|
||||
lv_obj_set_y(ui_Button3, 115);
|
||||
lv_obj_set_align(ui_Button3, LV_ALIGN_CENTER);
|
||||
|
||||
ui_Label10 = lv_label_create(ui_Button3);
|
||||
lv_obj_set_width(ui_Label10, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label10, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label10, -7);
|
||||
lv_obj_set_y(ui_Label10, 2);
|
||||
lv_obj_set_align(ui_Label10, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label10, "PULL");
|
||||
|
||||
lv_obj_add_event_cb(ui_HomeImg, ui_event_HomeImg, LV_EVENT_ALL, NULL);
|
||||
lv_obj_add_event_cb(ui_settingHeader, ui_event_settingHeader, LV_EVENT_ALL, NULL);
|
||||
lv_obj_add_event_cb(ui_Bat, ui_event_Bat, LV_EVENT_ALL, NULL);
|
||||
lv_obj_add_event_cb(ui_Time, ui_event_Time, LV_EVENT_ALL, NULL);
|
||||
lv_obj_add_event_cb(ui_Time5, ui_event_Time5, LV_EVENT_ALL, NULL);
|
||||
lv_obj_add_event_cb(ui_StepPannel, ui_event_StepPannel, LV_EVENT_ALL, NULL);
|
||||
|
||||
}
|
||||
|
||||
@ -13,25 +13,39 @@ void ui_Home_screen_init(void);
|
||||
lv_obj_t * ui_Home;
|
||||
lv_obj_t * ui_header;
|
||||
lv_obj_t * ui_WIFILabel;
|
||||
lv_obj_t * ui_WIFISymbel;
|
||||
lv_obj_t * ui_HeaderTimeHome;
|
||||
lv_obj_t * ui_SliderHeaderBat;
|
||||
lv_obj_t * ui_PanelBathead;
|
||||
lv_obj_t * ui_LabelHeaderBatValue;
|
||||
lv_obj_t * ui_wifiState;
|
||||
lv_obj_t * ui_Body;
|
||||
lv_obj_t * ui_home1;
|
||||
void ui_event_Panel2(lv_event_t * e);
|
||||
lv_obj_t * ui_Panel2;
|
||||
lv_obj_t * ui_Label3;
|
||||
void ui_event_ToolIcon(lv_event_t * e);
|
||||
lv_obj_t * ui_ToolIcon;
|
||||
lv_obj_t * ui_Label2;
|
||||
lv_obj_t * ui_home2;
|
||||
void ui_event_Panel6(lv_event_t * e);
|
||||
lv_obj_t * ui_Panel6;
|
||||
lv_obj_t * ui_Label3;
|
||||
void ui_event_Panel7(lv_event_t * e);
|
||||
lv_obj_t * ui_Panel7;
|
||||
lv_obj_t * ui_Label9;
|
||||
lv_obj_t * ui_Panel3;
|
||||
lv_obj_t * ui_Spinbox1;
|
||||
lv_obj_t * ui_ButtonMinus;
|
||||
lv_obj_t * ui_ButtonMinus1;
|
||||
lv_obj_t * ui_Label1;
|
||||
lv_obj_t * ui_Panel1;
|
||||
lv_obj_t * ui_Label4;
|
||||
lv_obj_t * ui_Image2;
|
||||
lv_obj_t * ui_Label5;
|
||||
lv_obj_t * ui_Panel4;
|
||||
lv_obj_t * ui_Label6;
|
||||
lv_obj_t * ui_Spinbox2;
|
||||
lv_obj_t * ui_Panel1;
|
||||
lv_obj_t * ui_Label7;
|
||||
lv_obj_t * ui_Spinbox3;
|
||||
lv_obj_t * ui_Panel5;
|
||||
lv_obj_t * ui_Label8;
|
||||
lv_obj_t * ui_Spinbox4;
|
||||
lv_obj_t * ui_Button1;
|
||||
lv_obj_t * ui_Label4;
|
||||
// CUSTOM VARIABLES
|
||||
|
||||
// SCREEN: ui_settings
|
||||
@ -44,14 +58,23 @@ lv_obj_t * ui_HomeImg;
|
||||
lv_obj_t * ui_Label11;
|
||||
void ui_event_StepPannel(lv_event_t * e);
|
||||
lv_obj_t * ui_StepPannel;
|
||||
void ui_event_Bat(lv_event_t * e);
|
||||
lv_obj_t * ui_Bat;
|
||||
lv_obj_t * ui_Switch2;
|
||||
lv_obj_t * ui_dianchi;
|
||||
lv_obj_t * ui_dayu;
|
||||
void ui_event_Time(lv_event_t * e);
|
||||
lv_obj_t * ui_Time;
|
||||
lv_obj_t * ui_Switch1;
|
||||
lv_obj_t * ui_dianchi1;
|
||||
lv_obj_t * ui_dayu1;
|
||||
lv_obj_t * ui_Time2;
|
||||
lv_obj_t * ui_dianchi3;
|
||||
lv_obj_t * ui_Slider1;
|
||||
lv_obj_t * ui_Time3;
|
||||
lv_obj_t * ui_Dropdown2;
|
||||
lv_obj_t * ui_dianchi4;
|
||||
void ui_event_Time5(lv_event_t * e);
|
||||
lv_obj_t * ui_Time5;
|
||||
lv_obj_t * ui_dianchi6;
|
||||
lv_obj_t * ui_Button3;
|
||||
lv_obj_t * ui_Label10;
|
||||
// CUSTOM VARIABLES
|
||||
|
||||
// SCREEN: ui_Batinfo
|
||||
@ -76,6 +99,17 @@ lv_obj_t * ui_valueVoltage;
|
||||
lv_obj_t * ui_valueVolume;
|
||||
// CUSTOM VARIABLES
|
||||
|
||||
// SCREEN: ui_DeviceInfo
|
||||
void ui_DeviceInfo_screen_init(void);
|
||||
lv_obj_t * ui_DeviceInfo;
|
||||
void ui_event_settingHeader3(lv_event_t * e);
|
||||
lv_obj_t * ui_settingHeader3;
|
||||
void ui_event_HomeImg3(lv_event_t * e);
|
||||
lv_obj_t * ui_HomeImg3;
|
||||
lv_obj_t * ui_Label17;
|
||||
lv_obj_t * ui_TextArea1;
|
||||
// CUSTOM VARIABLES
|
||||
|
||||
// EVENTS
|
||||
lv_obj_t * ui____initial_actions0;
|
||||
|
||||
@ -101,7 +135,7 @@ void ui_event_Panel2(lv_event_t * e)
|
||||
}
|
||||
}
|
||||
|
||||
void ui_event_ToolIcon(lv_event_t * e)
|
||||
void ui_event_Panel6(lv_event_t * e)
|
||||
{
|
||||
lv_event_code_t event_code = lv_event_get_code(e);
|
||||
|
||||
@ -110,6 +144,15 @@ void ui_event_ToolIcon(lv_event_t * e)
|
||||
}
|
||||
}
|
||||
|
||||
void ui_event_Panel7(lv_event_t * e)
|
||||
{
|
||||
lv_event_code_t event_code = lv_event_get_code(e);
|
||||
|
||||
if(event_code == LV_EVENT_CLICKED) {
|
||||
_ui_screen_change(&ui_DeviceInfo, LV_SCR_LOAD_ANIM_MOVE_LEFT, 500, 0, &ui_DeviceInfo_screen_init);
|
||||
}
|
||||
}
|
||||
|
||||
void ui_event_settingHeader(lv_event_t * e)
|
||||
{
|
||||
lv_event_code_t event_code = lv_event_get_code(e);
|
||||
@ -138,16 +181,7 @@ void ui_event_StepPannel(lv_event_t * e)
|
||||
}
|
||||
}
|
||||
|
||||
void ui_event_Bat(lv_event_t * e)
|
||||
{
|
||||
lv_event_code_t event_code = lv_event_get_code(e);
|
||||
|
||||
if(event_code == LV_EVENT_CLICKED) {
|
||||
_ui_screen_change(&ui_Batinfo, LV_SCR_LOAD_ANIM_OVER_LEFT, 500, 0, &ui_Batinfo_screen_init);
|
||||
}
|
||||
}
|
||||
|
||||
void ui_event_Time(lv_event_t * e)
|
||||
void ui_event_Time5(lv_event_t * e)
|
||||
{
|
||||
lv_event_code_t event_code = lv_event_get_code(e);
|
||||
|
||||
@ -175,6 +209,24 @@ void ui_event_Panel8(lv_event_t * e)
|
||||
}
|
||||
}
|
||||
|
||||
void ui_event_settingHeader3(lv_event_t * e)
|
||||
{
|
||||
lv_event_code_t event_code = lv_event_get_code(e);
|
||||
|
||||
if(event_code == LV_EVENT_CLICKED) {
|
||||
_ui_screen_change(&ui_Home, LV_SCR_LOAD_ANIM_MOVE_RIGHT, 500, 0, &ui_Home_screen_init);
|
||||
}
|
||||
}
|
||||
|
||||
void ui_event_HomeImg3(lv_event_t * e)
|
||||
{
|
||||
lv_event_code_t event_code = lv_event_get_code(e);
|
||||
|
||||
if(event_code == LV_EVENT_CLICKED) {
|
||||
_ui_screen_change(&ui_Home, LV_SCR_LOAD_ANIM_OVER_RIGHT, 500, 0, &ui_Home_screen_init);
|
||||
}
|
||||
}
|
||||
|
||||
///////////////////// SCREENS ////////////////////
|
||||
|
||||
void ui_init(void)
|
||||
@ -186,6 +238,7 @@ void ui_init(void)
|
||||
ui_Home_screen_init();
|
||||
ui_settings_screen_init();
|
||||
ui_Batinfo_screen_init();
|
||||
ui_DeviceInfo_screen_init();
|
||||
ui____initial_actions0 = lv_obj_create(NULL);
|
||||
lv_disp_load_scr(ui_Home);
|
||||
}
|
||||
|
||||
@ -21,25 +21,39 @@ void ui_Home_screen_init(void);
|
||||
extern lv_obj_t * ui_Home;
|
||||
extern lv_obj_t * ui_header;
|
||||
extern lv_obj_t * ui_WIFILabel;
|
||||
extern lv_obj_t * ui_WIFISymbel;
|
||||
extern lv_obj_t * ui_HeaderTimeHome;
|
||||
extern lv_obj_t * ui_SliderHeaderBat;
|
||||
extern lv_obj_t * ui_PanelBathead;
|
||||
extern lv_obj_t * ui_LabelHeaderBatValue;
|
||||
extern lv_obj_t * ui_wifiState;
|
||||
extern lv_obj_t * ui_Body;
|
||||
extern lv_obj_t * ui_home1;
|
||||
void ui_event_Panel2(lv_event_t * e);
|
||||
extern lv_obj_t * ui_Panel2;
|
||||
extern lv_obj_t * ui_Label3;
|
||||
void ui_event_ToolIcon(lv_event_t * e);
|
||||
extern lv_obj_t * ui_ToolIcon;
|
||||
extern lv_obj_t * ui_Label2;
|
||||
extern lv_obj_t * ui_home2;
|
||||
void ui_event_Panel6(lv_event_t * e);
|
||||
extern lv_obj_t * ui_Panel6;
|
||||
extern lv_obj_t * ui_Label3;
|
||||
void ui_event_Panel7(lv_event_t * e);
|
||||
extern lv_obj_t * ui_Panel7;
|
||||
extern lv_obj_t * ui_Label9;
|
||||
extern lv_obj_t * ui_Panel3;
|
||||
extern lv_obj_t * ui_Spinbox1;
|
||||
extern lv_obj_t * ui_ButtonMinus;
|
||||
extern lv_obj_t * ui_ButtonMinus1;
|
||||
extern lv_obj_t * ui_Label1;
|
||||
extern lv_obj_t * ui_Panel1;
|
||||
extern lv_obj_t * ui_Label4;
|
||||
extern lv_obj_t * ui_Image2;
|
||||
extern lv_obj_t * ui_Label5;
|
||||
extern lv_obj_t * ui_Panel4;
|
||||
extern lv_obj_t * ui_Label6;
|
||||
extern lv_obj_t * ui_Spinbox2;
|
||||
extern lv_obj_t * ui_Panel1;
|
||||
extern lv_obj_t * ui_Label7;
|
||||
extern lv_obj_t * ui_Spinbox3;
|
||||
extern lv_obj_t * ui_Panel5;
|
||||
extern lv_obj_t * ui_Label8;
|
||||
extern lv_obj_t * ui_Spinbox4;
|
||||
extern lv_obj_t * ui_Button1;
|
||||
extern lv_obj_t * ui_Label4;
|
||||
// CUSTOM VARIABLES
|
||||
|
||||
// SCREEN: ui_settings
|
||||
@ -52,14 +66,23 @@ extern lv_obj_t * ui_HomeImg;
|
||||
extern lv_obj_t * ui_Label11;
|
||||
void ui_event_StepPannel(lv_event_t * e);
|
||||
extern lv_obj_t * ui_StepPannel;
|
||||
void ui_event_Bat(lv_event_t * e);
|
||||
extern lv_obj_t * ui_Bat;
|
||||
extern lv_obj_t * ui_Switch2;
|
||||
extern lv_obj_t * ui_dianchi;
|
||||
extern lv_obj_t * ui_dayu;
|
||||
void ui_event_Time(lv_event_t * e);
|
||||
extern lv_obj_t * ui_Time;
|
||||
extern lv_obj_t * ui_Switch1;
|
||||
extern lv_obj_t * ui_dianchi1;
|
||||
extern lv_obj_t * ui_dayu1;
|
||||
extern lv_obj_t * ui_Time2;
|
||||
extern lv_obj_t * ui_dianchi3;
|
||||
extern lv_obj_t * ui_Slider1;
|
||||
extern lv_obj_t * ui_Time3;
|
||||
extern lv_obj_t * ui_Dropdown2;
|
||||
extern lv_obj_t * ui_dianchi4;
|
||||
void ui_event_Time5(lv_event_t * e);
|
||||
extern lv_obj_t * ui_Time5;
|
||||
extern lv_obj_t * ui_dianchi6;
|
||||
extern lv_obj_t * ui_Button3;
|
||||
extern lv_obj_t * ui_Label10;
|
||||
// CUSTOM VARIABLES
|
||||
|
||||
// SCREEN: ui_Batinfo
|
||||
@ -84,19 +107,32 @@ extern lv_obj_t * ui_valueVoltage;
|
||||
extern lv_obj_t * ui_valueVolume;
|
||||
// CUSTOM VARIABLES
|
||||
|
||||
// SCREEN: ui_DeviceInfo
|
||||
void ui_DeviceInfo_screen_init(void);
|
||||
extern lv_obj_t * ui_DeviceInfo;
|
||||
void ui_event_settingHeader3(lv_event_t * e);
|
||||
extern lv_obj_t * ui_settingHeader3;
|
||||
void ui_event_HomeImg3(lv_event_t * e);
|
||||
extern lv_obj_t * ui_HomeImg3;
|
||||
extern lv_obj_t * ui_Label17;
|
||||
extern lv_obj_t * ui_TextArea1;
|
||||
// CUSTOM VARIABLES
|
||||
|
||||
// EVENTS
|
||||
|
||||
extern lv_obj_t * ui____initial_actions0;
|
||||
|
||||
// IMAGES AND IMAGE SETS
|
||||
LV_IMG_DECLARE(ui_img_1623594766); // assets/iosDeskTop320-480.png
|
||||
LV_IMG_DECLARE(ui_img_345713082); // assets/Set60-60.png
|
||||
LV_IMG_DECLARE(ui_img_2109873719); // assets/PhotoAlberm60-60.png
|
||||
LV_IMG_DECLARE(ui_img_981464361); // assets/home40-40.png
|
||||
|
||||
// FONTS
|
||||
LV_FONT_DECLARE(ui_font_AlimamaAgileVF);
|
||||
LV_FONT_DECLARE(ui_font_AlimamaAgileVFFangyuan40);
|
||||
LV_FONT_DECLARE(ui_font_homePanelLabel);
|
||||
LV_FONT_DECLARE(ui_font_homePlusText);
|
||||
LV_FONT_DECLARE(ui_font_homeText);
|
||||
LV_FONT_DECLARE(ui_font_homeText_1);
|
||||
LV_FONT_DECLARE(ui_font_LenovoHTC);
|
||||
LV_FONT_DECLARE(ui_font_MiSansB40);
|
||||
LV_FONT_DECLARE(ui_font_MiSansM);
|
||||
|
||||
Binary file not shown.
@ -1,7 +1,7 @@
|
||||
/*******************************************************************************
|
||||
* Size: 16 px
|
||||
* Bpp: 1
|
||||
* Opts: --bpp 1 --size 16 --font E:\workplace\ESP32_workplace\i80_controller\MySquareLine\assets\MiSans-Medium.otf -o E:\workplace\ESP32_workplace\i80_controller\MySquareLine\assets\ui_font_MiSansM.c --format lvgl -r 0x20-0x7f --symbols 连接相册相机时钟音乐设置WIFI天气备忘录通讯录计算器文件游戏贪吃蛇二维码蓝牙遥控器电话邮件浏览器短信关于本机日期和时间已关闭已开启电池系统>电最大压总采样值量信息 --no-compress --no-prefilter
|
||||
* Opts: --bpp 1 --size 16 --font E:/FluxDC/SquareLineProj/assets/MiSans-Medium.otf -o E:/FluxDC/SquareLineProj/assets\ui_font_MiSansM.c --format lvgl -r 0x20-0x7f --symbols 连接相册相机时钟音乐设置WIFI天气备忘录通讯录计算器文件游戏贪吃蛇二维码蓝牙遥控器电话邮件浏览器短信1档:开始测试关于本机日期和时间已关闭已开启电池系统>电最大压总采样值量信息 --no-compress --no-prefilter
|
||||
******************************************************************************/
|
||||
|
||||
#include "../ui.h"
|
||||
@ -467,6 +467,12 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
|
||||
0x33, 0x1, 0x86, 0x1c, 0xe, 0xe0, 0x1c, 0x0,
|
||||
0x10,
|
||||
|
||||
/* U+59CB "始" */
|
||||
0x20, 0xc1, 0x82, 0x6, 0x1b, 0x3e, 0xc4, 0x4a,
|
||||
0x9, 0x2f, 0xe4, 0x80, 0x56, 0x0, 0xd0, 0x3,
|
||||
0x4f, 0xe7, 0x20, 0x8c, 0x82, 0x7a, 0xb, 0x2f,
|
||||
0xe8, 0x20, 0x80,
|
||||
|
||||
/* U+5DF2 "已" */
|
||||
0xff, 0xe0, 0x2, 0x0, 0x20, 0x2, 0x80, 0x28,
|
||||
0x2, 0xff, 0xe8, 0x0, 0x80, 0x8, 0x1, 0x80,
|
||||
@ -567,6 +573,12 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
|
||||
0x81, 0xa, 0x7f, 0xc8, 0x10, 0x20, 0x40, 0x81,
|
||||
0x2, 0x4, 0x0,
|
||||
|
||||
/* U+6863 "档" */
|
||||
0x20, 0x41, 0x22, 0x49, 0x92, 0x46, 0xbf, 0x95,
|
||||
0x10, 0x21, 0x9f, 0xee, 0x1, 0xe8, 0xd, 0x3f,
|
||||
0xe8, 0x2, 0x40, 0x12, 0x0, 0x93, 0xfc, 0x80,
|
||||
0x20,
|
||||
|
||||
/* U+6C14 "气" */
|
||||
0x10, 0x0, 0x40, 0x3, 0xff, 0x88, 0x0, 0x60,
|
||||
0x3, 0x7f, 0xc0, 0x0, 0x1f, 0xf8, 0x0, 0x20,
|
||||
@ -579,6 +591,12 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
|
||||
0xd2, 0xe2, 0x48, 0x49, 0x1, 0x64, 0x5, 0x10,
|
||||
0x14, 0x3f, 0xc0,
|
||||
|
||||
/* U+6D4B "测" */
|
||||
0x40, 0x5, 0xbe, 0x12, 0x8a, 0x42, 0xa9, 0x4a,
|
||||
0xa5, 0xaa, 0x92, 0xaa, 0x42, 0xa9, 0x2a, 0xa4,
|
||||
0xaa, 0x92, 0x22, 0x59, 0xc1, 0x45, 0x5, 0x22,
|
||||
0x15, 0x83, 0xc0,
|
||||
|
||||
/* U+6D4F "浏" */
|
||||
0x42, 0x5, 0x8c, 0x13, 0x31, 0x43, 0xf5, 0x0,
|
||||
0x95, 0xb6, 0x53, 0x59, 0x41, 0xc5, 0x23, 0x14,
|
||||
@ -686,6 +704,12 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
|
||||
0x8c, 0xc2, 0x92, 0xe, 0x38, 0x31, 0xf0, 0xbc,
|
||||
0x70, 0xc0, 0x40,
|
||||
|
||||
/* U+8BD5 "试" */
|
||||
0x0, 0xc6, 0x7, 0x90, 0x36, 0xc1, 0x81, 0xff,
|
||||
0x80, 0x63, 0x3, 0xb, 0xf8, 0x44, 0xc2, 0x26,
|
||||
0x11, 0x30, 0xc8, 0x96, 0x54, 0xaf, 0xb5, 0x40,
|
||||
0xc0,
|
||||
|
||||
/* U+8BDD "话" */
|
||||
0x40, 0x8, 0x9f, 0xe3, 0xc, 0x0, 0x30, 0xf,
|
||||
0xff, 0xbf, 0xf2, 0xc, 0x8, 0x30, 0x27, 0xf8,
|
||||
@ -754,7 +778,10 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
|
||||
0x2, 0x0, 0xc, 0x7, 0xff, 0x86, 0x18, 0x8,
|
||||
0x43, 0xff, 0xf0, 0x0, 0x0, 0x0, 0x3f, 0xf0,
|
||||
0x80, 0x42, 0x1, 0xf, 0xfc, 0x20, 0x10, 0xff,
|
||||
0xc2, 0x1, 0x0
|
||||
0xc2, 0x1, 0x0,
|
||||
|
||||
/* U+FF1A ":" */
|
||||
0xf0, 0x3, 0xc0
|
||||
};
|
||||
|
||||
|
||||
@ -876,55 +903,60 @@ static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
|
||||
{.bitmap_index = 1299, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1328, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1355, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1380, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 1401, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1426, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1451, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1380, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1407, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 1428, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1453, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1478, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1505, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1532, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1557, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1532, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1559, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1584, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1611, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1636, .adv_w = 256, .box_w = 10, .box_h = 14, .ofs_x = 3, .ofs_y = -1},
|
||||
{.bitmap_index = 1654, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 1679, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1704, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1731, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
|
||||
{.bitmap_index = 1760, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1611, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1638, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1663, .adv_w = 256, .box_w = 10, .box_h = 14, .ofs_x = 3, .ofs_y = -1},
|
||||
{.bitmap_index = 1681, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 1706, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1731, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1758, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
|
||||
{.bitmap_index = 1787, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1814, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1841, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1868, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
|
||||
{.bitmap_index = 1895, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1922, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1947, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 1972, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1997, .adv_w = 256, .box_w = 14, .box_h = 16, .ofs_x = 1, .ofs_y = -2},
|
||||
{.bitmap_index = 2025, .adv_w = 256, .box_w = 13, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2048, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2073, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2100, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2127, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2154, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1841, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1866, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1893, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1920, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1947, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
|
||||
{.bitmap_index = 1974, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2001, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2026, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2051, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2076, .adv_w = 256, .box_w = 14, .box_h = 16, .ofs_x = 1, .ofs_y = -2},
|
||||
{.bitmap_index = 2104, .adv_w = 256, .box_w = 13, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2127, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2152, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2179, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2206, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
|
||||
{.bitmap_index = 2233, .adv_w = 256, .box_w = 14, .box_h = 16, .ofs_x = 1, .ofs_y = -2},
|
||||
{.bitmap_index = 2261, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2288, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2313, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2340, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2365, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2206, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2233, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2258, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2285, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
|
||||
{.bitmap_index = 2312, .adv_w = 256, .box_w = 14, .box_h = 16, .ofs_x = 1, .ofs_y = -2},
|
||||
{.bitmap_index = 2340, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2367, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2392, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2419, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2446, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2471, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2496, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2521, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2546, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2573, .adv_w = 256, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2596, .adv_w = 256, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2619, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1}
|
||||
{.bitmap_index = 2419, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2444, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2469, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2496, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2523, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2550, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2575, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2600, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2625, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2650, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2677, .adv_w = 256, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2700, .adv_w = 256, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2723, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2750, .adv_w = 256, .box_w = 2, .box_h = 9, .ofs_x = 3, .ofs_y = 0}
|
||||
};
|
||||
|
||||
/*---------------------
|
||||
@ -934,13 +966,13 @@ static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
|
||||
static const uint16_t unicode_list_1[] = {
|
||||
0x0, 0x3c, 0x3e, 0xa6, 0x191, 0x1ec, 0x323, 0x33c,
|
||||
0x53b, 0x5b3, 0x5df, 0x63c, 0x818, 0xab7, 0xad7, 0xad9,
|
||||
0xfa2, 0x10b0, 0x1105, 0x1188, 0x11eb, 0x121f, 0x13bf, 0x1555,
|
||||
0x1557, 0x1737, 0x1795, 0x17a6, 0x18b0, 0x18cf, 0x18dc, 0x18ea,
|
||||
0x19e7, 0x1dc4, 0x1e10, 0x1eff, 0x1fe8, 0x2409, 0x26e5, 0x28a8,
|
||||
0x299d, 0x29b1, 0x2d47, 0x2eab, 0x308f, 0x30a4, 0x311e, 0x368d,
|
||||
0x3877, 0x3b78, 0x3d51, 0x3d5f, 0x3d6e, 0x3d8d, 0x3eda, 0x418e,
|
||||
0x41ca, 0x4215, 0x425e, 0x4377, 0x437f, 0x464f, 0x479d, 0x47a4,
|
||||
0x49a3
|
||||
0xb7b, 0xfa2, 0x10b0, 0x1105, 0x1188, 0x11eb, 0x121f, 0x13bf,
|
||||
0x1555, 0x1557, 0x1737, 0x1795, 0x17a6, 0x18b0, 0x18cf, 0x18dc,
|
||||
0x18ea, 0x19e7, 0x1a13, 0x1dc4, 0x1e10, 0x1efb, 0x1eff, 0x1fe8,
|
||||
0x2409, 0x26e5, 0x28a8, 0x299d, 0x29b1, 0x2d47, 0x2eab, 0x308f,
|
||||
0x30a4, 0x311e, 0x368d, 0x3877, 0x3b78, 0x3d51, 0x3d5f, 0x3d6e,
|
||||
0x3d85, 0x3d8d, 0x3eda, 0x418e, 0x41ca, 0x4215, 0x425e, 0x4377,
|
||||
0x437f, 0x464f, 0x479d, 0x47a4, 0x49a3, 0xb0ca
|
||||
};
|
||||
|
||||
/*Collect the unicode lists and glyph_id offsets*/
|
||||
@ -951,8 +983,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
|
||||
},
|
||||
{
|
||||
.range_start = 20048, .range_length = 18852, .glyph_id_start = 97,
|
||||
.unicode_list = unicode_list_1, .glyph_id_ofs_list = NULL, .list_length = 65, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY
|
||||
.range_start = 20048, .range_length = 45259, .glyph_id_start = 97,
|
||||
.unicode_list = unicode_list_1, .glyph_id_ofs_list = NULL, .list_length = 70, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY
|
||||
}
|
||||
};
|
||||
|
||||
@ -984,7 +1016,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
|
||||
};
|
||||
|
||||
/*Map glyph_ids to kern right classes*/
|
||||
@ -1010,7 +1042,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
|
||||
};
|
||||
|
||||
/*Kern values between classes*/
|
||||
@ -1293,9 +1325,12 @@ static const lv_font_fmt_txt_kern_classes_t kern_classes =
|
||||
* ALL CUSTOM DATA
|
||||
*--------------------*/
|
||||
|
||||
#if LV_VERSION_CHECK(8, 0, 0)
|
||||
#if LVGL_VERSION_MAJOR == 8
|
||||
/*Store all the custom data of the font*/
|
||||
static lv_font_fmt_txt_glyph_cache_t cache;
|
||||
#endif
|
||||
|
||||
#if LVGL_VERSION_MAJOR >= 8
|
||||
static const lv_font_fmt_txt_dsc_t font_dsc = {
|
||||
#else
|
||||
static lv_font_fmt_txt_dsc_t font_dsc = {
|
||||
@ -1309,18 +1344,19 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
|
||||
.bpp = 1,
|
||||
.kern_classes = 1,
|
||||
.bitmap_format = 0,
|
||||
#if LV_VERSION_CHECK(8, 0, 0)
|
||||
#if LVGL_VERSION_MAJOR == 8
|
||||
.cache = &cache
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
|
||||
/*-----------------
|
||||
* PUBLIC FONT
|
||||
*----------------*/
|
||||
|
||||
/*Initialize a public general font descriptor*/
|
||||
#if LV_VERSION_CHECK(8, 0, 0)
|
||||
#if LVGL_VERSION_MAJOR >= 8
|
||||
const lv_font_t ui_font_MiSansM = {
|
||||
#else
|
||||
lv_font_t ui_font_MiSansM = {
|
||||
@ -1336,7 +1372,11 @@ lv_font_t ui_font_MiSansM = {
|
||||
.underline_position = -2,
|
||||
.underline_thickness = 1,
|
||||
#endif
|
||||
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
|
||||
.dsc = &font_dsc, /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
|
||||
#if LV_VERSION_CHECK(8, 2, 0) || LVGL_VERSION_MAJOR >= 9
|
||||
.fallback = NULL,
|
||||
#endif
|
||||
.user_data = NULL,
|
||||
};
|
||||
|
||||
|
||||
|
||||
@ -1,16 +1,16 @@
|
||||
{
|
||||
"codename": "MiSansM",
|
||||
"ttf_path": "\\assets\\MiSans-Medium.otf",
|
||||
"bin_path": "\\assets\\ui_font_MiSansM.bin",
|
||||
"c_path": "\\assets\\ui_font_MiSansM.c",
|
||||
"cfg_path": "\\assets\\ui_font_MiSansM.fcfg",
|
||||
"ttf_path": "/assets/MiSans-Medium.otf",
|
||||
"bin_path": "/assets\\ui_font_MiSansM.bin",
|
||||
"c_path": "/assets\\ui_font_MiSansM.c",
|
||||
"cfg_path": "/assets\\ui_font_MiSansM.fcfg",
|
||||
"size": 16,
|
||||
"bpp": 1,
|
||||
"letters": 5,
|
||||
"ranges": [
|
||||
"0x20-0x7f"
|
||||
],
|
||||
"symbols": "连接相册相机时钟音乐设置WIFI天气备忘录通讯录计算器文件游戏贪吃蛇二维码蓝牙遥控器电话邮件浏览器短信关于本机日期和时间已关闭已开启电池系统>电最大压总采样值量信息",
|
||||
"symbols": "连接相册相机时钟音乐设置WIFI天气备忘录通讯录计算器文件游戏贪吃蛇二维码蓝牙遥控器电话邮件浏览器短信1档:开始测试关于本机日期和时间已关闭已开启电池系统>电最大压总采样值量信息",
|
||||
"customparams": "--no-compress --no-prefilter",
|
||||
"uploaded": false
|
||||
}
|
||||
BIN
SquareLineProj/assets/ui_font_homePanelLabel.bin
Normal file
BIN
SquareLineProj/assets/ui_font_homePanelLabel.bin
Normal file
Binary file not shown.
1724
SquareLineProj/assets/ui_font_homePanelLabel.c
Normal file
1724
SquareLineProj/assets/ui_font_homePanelLabel.c
Normal file
File diff suppressed because it is too large
Load Diff
16
SquareLineProj/assets/ui_font_homePanelLabel.fcfg
Normal file
16
SquareLineProj/assets/ui_font_homePanelLabel.fcfg
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"codename": "homePanelLabel",
|
||||
"ttf_path": "/assets/MiSans-Medium.otf",
|
||||
"bin_path": "/assets\\ui_font_homePanelLabel.bin",
|
||||
"c_path": "/assets\\ui_font_homePanelLabel.c",
|
||||
"cfg_path": "/assets\\ui_font_homePanelLabel.fcfg",
|
||||
"size": 25,
|
||||
"bpp": 2,
|
||||
"letters": 0,
|
||||
"ranges": [
|
||||
"0x20-0x7f"
|
||||
],
|
||||
"symbols": "开始测试1档:标称体积平均体积ml呼吸频率BPM累积体积",
|
||||
"customparams": "--no-compress --no-prefilter",
|
||||
"uploaded": false
|
||||
}
|
||||
BIN
SquareLineProj/assets/ui_font_homePlusText.bin
Normal file
BIN
SquareLineProj/assets/ui_font_homePlusText.bin
Normal file
Binary file not shown.
1386
SquareLineProj/assets/ui_font_homePlusText.c
Normal file
1386
SquareLineProj/assets/ui_font_homePlusText.c
Normal file
File diff suppressed because it is too large
Load Diff
16
SquareLineProj/assets/ui_font_homePlusText.fcfg
Normal file
16
SquareLineProj/assets/ui_font_homePlusText.fcfg
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"codename": "homePlusText",
|
||||
"ttf_path": "/assets/MiSans-Medium.otf",
|
||||
"bin_path": "/assets\\ui_font_homePlusText.bin",
|
||||
"c_path": "/assets\\ui_font_homePlusText.c",
|
||||
"cfg_path": "/assets\\ui_font_homePlusText.fcfg",
|
||||
"size": 20,
|
||||
"bpp": 2,
|
||||
"letters": 0,
|
||||
"ranges": [
|
||||
"0x20-0x7f"
|
||||
],
|
||||
"symbols": "机型选择系统设置测试日志设备信息",
|
||||
"customparams": "--no-compress --no-prefilter",
|
||||
"uploaded": false
|
||||
}
|
||||
BIN
SquareLineProj/assets/ui_font_homeText.bin
Normal file
BIN
SquareLineProj/assets/ui_font_homeText.bin
Normal file
Binary file not shown.
1766
SquareLineProj/assets/ui_font_homeText.c
Normal file
1766
SquareLineProj/assets/ui_font_homeText.c
Normal file
File diff suppressed because it is too large
Load Diff
16
SquareLineProj/assets/ui_font_homeText.fcfg
Normal file
16
SquareLineProj/assets/ui_font_homeText.fcfg
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"codename": "homeText",
|
||||
"ttf_path": "/assets/MiSans-Medium.otf",
|
||||
"bin_path": "/assets\\ui_font_homeText.bin",
|
||||
"c_path": "/assets\\ui_font_homeText.c",
|
||||
"cfg_path": "/assets\\ui_font_homeText.fcfg",
|
||||
"size": 25,
|
||||
"bpp": 2,
|
||||
"letters": 0,
|
||||
"ranges": [
|
||||
"0x20-0x7f"
|
||||
],
|
||||
"symbols": "开始测试1档:标称体积平均体积ml呼吸频率BPM累积体积测得体积实测体积",
|
||||
"customparams": "--no-compress --no-prefilter",
|
||||
"uploaded": false
|
||||
}
|
||||
BIN
SquareLineProj/assets/ui_font_homeText_1.bin
Normal file
BIN
SquareLineProj/assets/ui_font_homeText_1.bin
Normal file
Binary file not shown.
1581
SquareLineProj/assets/ui_font_homeText_1.c
Normal file
1581
SquareLineProj/assets/ui_font_homeText_1.c
Normal file
File diff suppressed because it is too large
Load Diff
16
SquareLineProj/assets/ui_font_homeText_1.fcfg
Normal file
16
SquareLineProj/assets/ui_font_homeText_1.fcfg
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"codename": "homeText_1",
|
||||
"ttf_path": "/assets/MiSans-Bold.otf",
|
||||
"bin_path": "/assets\\ui_font_homeText_1.bin",
|
||||
"c_path": "/assets\\ui_font_homeText_1.c",
|
||||
"cfg_path": "/assets\\ui_font_homeText_1.fcfg",
|
||||
"size": 25,
|
||||
"bpp": 2,
|
||||
"letters": 0,
|
||||
"ranges": [
|
||||
"0x20-0x7f"
|
||||
],
|
||||
"symbols": "机型选择",
|
||||
"customparams": "--no-compress --no-prefilter",
|
||||
"uploaded": false
|
||||
}
|
||||
Binary file not shown.
BIN
SquareLineProj/backup/ESP32S3_UI_backup02.zip
Normal file
BIN
SquareLineProj/backup/ESP32S3_UI_backup02.zip
Normal file
Binary file not shown.
BIN
SquareLineProj/backup/ESP32S3_UI_backup03.zip
Normal file
BIN
SquareLineProj/backup/ESP32S3_UI_backup03.zip
Normal file
Binary file not shown.
BIN
SquareLineProj/backup/ESP32S3_UI_backup04.zip
Normal file
BIN
SquareLineProj/backup/ESP32S3_UI_backup04.zip
Normal file
Binary file not shown.
BIN
SquareLineProj/backup/ESP32S3_UI_backup05.zip
Normal file
BIN
SquareLineProj/backup/ESP32S3_UI_backup05.zip
Normal file
Binary file not shown.
BIN
SquareLineProj/backup/ESP32S3_UI_backup06.zip
Normal file
BIN
SquareLineProj/backup/ESP32S3_UI_backup06.zip
Normal file
Binary file not shown.
BIN
SquareLineProj/backup/ESP32S3_UI_backup07.zip
Normal file
BIN
SquareLineProj/backup/ESP32S3_UI_backup07.zip
Normal file
Binary file not shown.
BIN
SquareLineProj/控制方式-界面逻辑.drawio.png
Normal file
BIN
SquareLineProj/控制方式-界面逻辑.drawio.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 252 KiB |
@ -1 +1,334 @@
|
||||
<mxfile host="Electron" modified="2025-03-04T10:58:06.207Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/14.6.13 Chrome/89.0.4389.128 Electron/12.0.7 Safari/537.36" etag="gLN5Re0H365trg9jkCHW" version="14.6.13" type="device" pages="2"><diagram id="v8bgTk3W0K_ExngjgtQD" name="连接拓扑图">1Vlbc9o4FP41eiRj+Yb8aIPp7kzb6S7Z2ebRwQK8NRZjRID++j1HljHCDiUhgeYp0qfbOd+5OhBnsNh+KpPl/ItIeU5sK90SZ0hsm1rMhz+I7Cok8DUwK7O0gqwGGGc/eX1So+ss5SuNVZAUIpfZ0gQnoij4RBpYUpZiY26bijw1gGUy4y1gPEnyNvpvlsq5RqkfNAt/8Gw2108zu18tLJJ6s9ZkNU9SsTmAnJg4g1IIWY0W2wHPkTyTl9Ezq3vBSl7Icw78M/6a5JPVw5++/fWv+15vmY3ue9TWwsldrTFPgQA9FaWci5kokjxu0KgU6yLleK0Fs2bPZyGWAFIA/+NS7rQ1k7UUAM3lIterfJvJ7wfjB7zqztOz4VbfrCa7elLIcvf9cHJwCqfNMTWrz61kUsoQPQGAQhS8xkZZnu9PpPWOSZ6sVtmkAvUWFBOst0Rl8qz4AdM2+doeK7EuJ/wU49qJk3LG5Yl92jBojYMHtGk/cbHgoCVsKHmeyOzJdNdEe/1sv69xDBho33iJn1T3PiX5Wr9EYo8ElEQDNbBIxEjsk5CRkOKARSQYqaUAwWMnM11oM88kHy8TRdwGEonpLs+S/cRLybcn6alXHc2nTkOup6NyYwR1hc0P4tm33olRu4NRnwQeiSykLRySoI9IFJBIEQlMs5FCPMKA44CwvkKA8hhZvzXHDnV+zXGdDa/CsffxkluTzx6MdHZGctOp636eFUc5jpo5TmfBJsFZF2U090NmNL8Vf3+PXdbtMZ+TR2hrDCsneTYrkHSgi5cAYJxk0DeEemGRpWnlUHyV/Uwe1X1I9FJkhVTaeBHxhp3Un/LmVkDumx/9iNFfdAWqdeda1DNitTbO2dzry7+hMgdbxHS6Aic4Ns5ehtfbq3/LWLauHcuvb1TeP47pbxXH7KzOBJoQG8EYSmaMhRNbFKiafdzDGIn83zjw+28V+D3rzqJuYEY+vSzy66vN/sp2zAveLy+4Z/ZRR9YGR4giHMMgjEg4OtE+0au0T/sPxV3dTvk3bp9ou6e8Rs59Jn/S6+TPt/vQsz5kPq3FNgLKJVGsPkN8lVDDgzjyMdBCFWLBAJdu/RlCHTOOPN+9dRw5bUptP4dno0cYzHDQlbT233wvob/jA7FCIgMJ1JclLjn4rhYH1GskqkUsa4TeXfqJiohFghAROML6Vc8NM0jPUZWeRyhbpxb6ZcjlQ7wvdvAyZrcFtZ8R9Jc1AJlmiqpKEHp2LzFQAxcvDN0TojmVaA7qgNuHaDZE+koiD1kIPbUUNpZmvh6ESjQ4ErKTTqDEZ+FFNMD+yl4sUMdjZThPyeyo44HSQmmPxlXqIDJSnjB47esMjzBHuUWILHY8eo5ZlBZRSL2ea0XfvpyUqy2FT0JLx4j2twt9v+3AlUndF7K799HOGGFKeMVK6OsBY7U6gwMSjmMRB+A+yHeg7O80/79rHAokpOotD3UHjfSSchZ4sXpLJxwlDO5R9KJeIGGsXH4fIUflArK8NGvCSpbiBx+IXJRNZZ9CxT6C6s4851PZ0ZdL7D86649Zod6gBLkuM1s5t12CbOq2S5Dtvrysw7T5EaHqqpufYpz4fw==</diagram><diagram id="Tz_0NtlwYZhWGcvlDsF2" name="界面逻辑">7Vxbc6M2GP01ekwH3QA9Gl82m8lOO007O7tvJGCbLTYeTBqnv74SF9sgZW0cS+CNXxIhbuYcffcPAB4uNp9SfzX/kgRhDJAVbAAeAYQQIzb/J2ZeixloO04xM0ujoJizdhMP0X9heWA1+xwF4bqcK6ayJImzaFWffEqWy/Apq835aZq81A+bJnFQm1j5s1CaeHjyY3n2axRk8+oxKNntuA2j2by6NbRZsWfhV0eXj7Ke+0HysjeFxwAP0yTJitFiMwxjAV8FzPcB/fT7nynDd3fJ/ZxFQXp/d1NcbNLmlO0zpOEyO/nSwY8p/I4nsTP/hh//uvUjaxTc4OLS//rxcwlY+azZa4XgLE2eV+VhYZqFGxVv/mN1uHXkj4VbBPniC5NFmKWv/Lzy6na57splZ5dXfdlR6LBybr7HHnHLSb9cNrPtlXfI8EEJTgugrMNAvcyjLHxY+U9i+4XLE8DePFvw24wgH/rrVbHAp9Em5Lfy3sR0H7u3WXsTO4iphBZGRtGC50cr8NdzMcj36oKOOPJCMwwdejd0epHaQwaaRcY9jAxXVctg++yd4lStqJoeo/LyghCpQNSEIZMxHNuADYE3AGMK2Bi4HhgzwEl0mdjFNwdMwpmDlNXBXGdp8k84TOIk5TPLZMmP9KZRHDem/DiaLfnmEwc15POegDzi9npQ7lhEQSBuo2Rvx6/VJHCaLLOH8hdCXWwi9zdaIxQ6EqE2lvlE2hStbJceVlEaZZVl7zdp2nhy6u4D6Zgl2R5eWZJYgkj2W8zSJNvekib74iwNrNZcZ6YGyrHFt79v7jlQ7uWhWQWF3aFJ2ng/1mEUdQGnjD4gk6HC2sSYKpwcBzACPJr7Ng5wJ2A8Ad4QsIH4GbSnWlgXR9iFteWt0Lu2Sb1rS4R9/Tz5/MFIgYQcIIUowi19pDiHFQ6/TLRavwVbJ7kPtw6i7J5Dxcqu5s4PohxvbR0/HlxxfSTCLRcMJoB9NCWEKGsEU/KKd6DBFY8UOT4eE3MrwaNhPhg4OVsSbZUlgWIf/zuQnfpW/k09ki23i8Q6MqmAiCWHTdhS6CBHGyMKS95Pp6cJ3ZHIYapL86AjUrCtVqU+6FhdCcgpMqRK9dtIF3JyFNjPRYerAKRCDsvGTpWh1bfmZD+un8g11xzGMnTqRadN08neFpSwa+tk/cSQYK2W3aYH4bWNoiuXDm4kdPvhbe1zRHWKgNMQgSpzcSjeoLo4UpQmkHcBLGkN1GmDJYWONxoVYpWP7ACPCF+YD7iPLAYEeCPA8HaGk3V+IuNwmp2NRqRV2Gi9naFidd9SU1Utleii8VK9Q1WNwKx7iBXuoaicQhEEioEFPFekGQdITHIJcMfAdbw/vvReBIhBEYBYDpEMy8ARvU+98Fabfj5Esqk26+hjRTGiMxk4sz03KgVIkWIxLAWXkmKRpIB1LgWtwt0+GVHWuRFVFBdEqpUBD+cKZCSqdJfoRurVHvUsYw+0R6uevE61h9Uz7UHeqDZcRaCVCDioYxEgrUKpHonAtsbfnQgoQqmLMKDbtrTODChRBC+i+mjlSiPXFZ511R791x6X0tbVP+1BVfG77S8EIMvH9SoHw8rL9GPgjfM05UiM36ViDhXnG0Khi47tWxaVP9N1qZ6qFrKCDbl7wgaMqyaaOz8TMf4V+VG4m4b5UcX5P5MWCgak8kAnoGhucaEg7Zfgx2n0njtdE3SEIdDSZHfCy5kQwsb7FXKbneG35o7IYvUGPVZ3Jm1Vs5BZ9I5IZPUFPRs20Kt+a3foHdEo2xf0ILRg3+AjsuzO+aX5k4gCAhT+wvljlnMXDY5uAjiBNIxwjTMsUwYtKlOmrQmAyPoiZ0x4Dx4BbHJlrnQW7J4RJ6uqnDh0JaxUh5T2jDFFgl0RQ/HQ1svzPLbIG7OJsifdKkuzrlumivgRWn359i/qnUAZshr9w4oGYsOevKqT7T05nXPESCYdVarNy5drJrf80n1WWmrxgLZOiYD1LKetaDcz2jRI3/85mCZ2hkQAQbcGpQNl5YJcJGOJHV19shRJYBavlAkNv6fuD1iJsfjoR2UlALJjAeNjykczMYI0b9axVEWF8qTNRlQTFCkkKlJI/Aa7X1A/o3ErZJm7lbmnwuaeCpt7KmLuqcrEsGcL35TlLca7Ezaq46nwbAakutNgt7wP+z3aqmBZsmrr4eo1DrieAHCQbNRRlcyvaTRtnzagivSTXLW5RijFVbjtbrw2q+qkNRqkUFU31wmFno/FpAObLwV0zqMq2DyhIPSxeITIan4VjLqK7w6ciUq+ufvkaL5v79OtePw/</diagram></mxfile>
|
||||
<mxfile host="Electron" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/26.0.16 Chrome/132.0.6834.196 Electron/34.2.0 Safari/537.36" version="26.0.16" pages="2">
|
||||
<diagram id="v8bgTk3W0K_ExngjgtQD" name="连接拓扑图">
|
||||
<mxGraphModel dx="2062" dy="1174" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="USNalcsYI62NQT--piFT-12" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;startArrow=none;startFill=0;endArrow=classic;endFill=1;shape=link;" parent="1" source="USNalcsYI62NQT--piFT-1" target="USNalcsYI62NQT--piFT-2" edge="1">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="USNalcsYI62NQT--piFT-1" value="呼吸模拟器" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="132" y="450" width="116" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="USNalcsYI62NQT--piFT-2" value="数字湿式流量计" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="313" y="450" width="120" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="USNalcsYI62NQT--piFT-5" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;startArrow=classicThin;startFill=1;endArrow=none;endFill=0;" parent="1" source="USNalcsYI62NQT--piFT-4" target="USNalcsYI62NQT--piFT-2" edge="1">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="USNalcsYI62NQT--piFT-6" value="RS485" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="USNalcsYI62NQT--piFT-5" vertex="1" connectable="0">
|
||||
<mxGeometry x="0.4015" y="-2" relative="1" as="geometry">
|
||||
<mxPoint as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="USNalcsYI62NQT--piFT-7" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;startArrow=none;startFill=0;endArrow=classic;endFill=1;" parent="1" source="USNalcsYI62NQT--piFT-4" target="USNalcsYI62NQT--piFT-1" edge="1">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="USNalcsYI62NQT--piFT-8" value="呼吸频率控制" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="USNalcsYI62NQT--piFT-7" vertex="1" connectable="0">
|
||||
<mxGeometry x="-0.0149" y="-1" relative="1" as="geometry">
|
||||
<mxPoint x="-2" y="23" as="offset" />
|
||||
</mxGeometry>
|
||||
</mxCell>
|
||||
<mxCell id="USNalcsYI62NQT--piFT-4" value="数字控制终端" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="220" y="316" width="120" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="USNalcsYI62NQT--piFT-11" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.5;entryY=1;entryDx=0;entryDy=0;startArrow=none;startFill=0;endArrow=classic;endFill=1;shape=link;" parent="1" source="USNalcsYI62NQT--piFT-10" target="USNalcsYI62NQT--piFT-1" edge="1">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="USNalcsYI62NQT--piFT-10" value="便携制氧机" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
|
||||
<mxGeometry x="130" y="564" width="120" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="USNalcsYI62NQT--piFT-13" value="<b>数字式便携制氧机流量测量方法</b><br>1.数字湿式流量计通过RS485获取流量数据。<br>2.数字控制终端下发呼吸频率指令。<br>3.操作时工人分别在制氧机及数字控制终端中选定当前挡位,数字控制终端调节当前呼吸频率为15-40BPM,数字终端根据数字湿式流量计数据判定当前挡位下流量是否合格,通过蜂鸣器及屏幕反馈测试结果。" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;whiteSpace=wrap;rounded=0;" parent="1" vertex="1">
|
||||
<mxGeometry x="448" y="344" width="214" height="241" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
<diagram id="Tz_0NtlwYZhWGcvlDsF2" name="界面逻辑">
|
||||
<mxGraphModel dx="3771" dy="2175" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1654" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="ZA5GORr93JJoLh9idrLJ-0" />
|
||||
<mxCell id="ZA5GORr93JJoLh9idrLJ-1" parent="ZA5GORr93JJoLh9idrLJ-0" />
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-3" value="" style="group" parent="ZA5GORr93JJoLh9idrLJ-1" vertex="1" connectable="0">
|
||||
<mxGeometry x="66" y="60" width="790" height="480" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-0" value="" style="whiteSpace=wrap;html=1;aspect=fixed;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="135" width="320" height="480" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-1" value="" style="whiteSpace=wrap;html=1;aspect=fixed;dashed=1;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="470" width="320" height="480" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-2" value="" style="whiteSpace=wrap;html=1;dashed=1;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry width="120" height="480" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-8" value="" style="rounded=1;whiteSpace=wrap;html=1;dashed=1;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="4" y="50" width="112" height="48" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-9" value="机型选择" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;dashed=1;fontStyle=1" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="28.5" y="17" width="63" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-10" value="Spirit-3" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;dashed=1;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="27" y="64" width="63" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-11" value="Spirit-3" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;dashed=1;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="27" y="125" width="63" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-12" value="Spirit-6" style="rounded=1;whiteSpace=wrap;html=1;dashed=1;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="4" y="111" width="112" height="48" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-13" value="YU-Lite8" style="rounded=1;whiteSpace=wrap;html=1;dashed=1;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="4" y="169" width="112" height="48" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-14" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="135" width="319" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-15" value="电量:30%" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="381" y="5" width="66" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-16" value="WIFI" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="144" y="5" width="40" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-17" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="184" y="7" width="16" height="16" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-19" value="Spirit-3测试" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="259.5" y="5" width="71" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-20" value="开始测试:1档" style="rounded=1;whiteSpace=wrap;html=1;fontStyle=1;fontSize=20;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="144" y="404" width="300" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-25" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="144" y="44" width="300" height="356" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-21" value="" style="rounded=1;whiteSpace=wrap;html=1;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="149" y="50" width="290" height="62" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-22" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="312" y="53" width="120" height="56" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-26" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="149" y="333" width="290" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-27" value="1" style="whiteSpace=wrap;html=1;aspect=fixed;fontStyle=1;fontSize=30;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="265" y="333" width="60" height="60" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-28" value="-" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=35;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="179" y="348" width="40" height="25" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-29" value="+" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=30;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="359" y="353" width="40" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-30" value="累积体积ml" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=25;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="156" y="59" width="150" height="44" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-31" value="" style="rounded=1;whiteSpace=wrap;html=1;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="149" y="125" width="290" height="62" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-32" value="呼吸频率BPM" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=24;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="156" y="134" width="150" height="44" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-33" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="312" y="128" width="120" height="56" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-34" value="呼吸频率BPM" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=24;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="156" y="204" width="150" height="44" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-35" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="312" y="198" width="120" height="56" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-36" value="" style="rounded=1;whiteSpace=wrap;html=1;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="149" y="195" width="290" height="62" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-37" value="平均体积ml" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=24;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="154" y="204" width="150" height="44" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-38" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="310" y="198" width="120" height="56" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-40" value="平均体积ml" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=24;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="154" y="272" width="150" height="44" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-41" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="310" y="266" width="120" height="56" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-42" value="" style="rounded=1;whiteSpace=wrap;html=1;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="149" y="263" width="290" height="62" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-43" value="标称体积ml" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=24;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="154" y="272" width="150" height="44" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-44" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="310" y="266" width="120" height="56" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-53" value="&nbsp; 设置" style="rounded=1;whiteSpace=wrap;html=1;fontStyle=1;fontSize=20;align=left;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="480" y="14" width="300" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-54" value="&nbsp; 测试日志" style="rounded=1;whiteSpace=wrap;html=1;fontStyle=1;fontSize=20;align=left;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="480" y="98" width="300" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-55" value="&nbsp; 设备信息" style="rounded=1;whiteSpace=wrap;html=1;fontStyle=1;fontSize=20;align=left;" parent="djf1Z3Fl7hY3bTHai0Dd-3" vertex="1">
|
||||
<mxGeometry x="477" y="178" width="300" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-4" value="" style="whiteSpace=wrap;html=1;aspect=fixed;" parent="ZA5GORr93JJoLh9idrLJ-1" vertex="1">
|
||||
<mxGeometry x="1265" y="65" width="320" height="480" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-5" value="" style="whiteSpace=wrap;html=1;aspect=fixed;" parent="ZA5GORr93JJoLh9idrLJ-1" vertex="1">
|
||||
<mxGeometry x="199" y="644" width="320" height="480" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-6" value="" style="whiteSpace=wrap;html=1;aspect=fixed;" parent="ZA5GORr93JJoLh9idrLJ-1" vertex="1">
|
||||
<mxGeometry x="882" y="620" width="320" height="480" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-7" value="" style="whiteSpace=wrap;html=1;aspect=fixed;" parent="ZA5GORr93JJoLh9idrLJ-1" vertex="1">
|
||||
<mxGeometry x="1265" y="620" width="320" height="480" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-45" value="home-1页" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=20;" parent="ZA5GORr93JJoLh9idrLJ-1" vertex="1">
|
||||
<mxGeometry x="323" y="32" width="105" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-46" value="home-负页" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=20;" parent="ZA5GORr93JJoLh9idrLJ-1" vertex="1">
|
||||
<mxGeometry x="76" y="32" width="105" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-47" value="home-2页" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=20;" parent="ZA5GORr93JJoLh9idrLJ-1" vertex="1">
|
||||
<mxGeometry x="655" y="32" width="105" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-48" value="测试结束:1档 合格" style="rounded=1;whiteSpace=wrap;html=1;fontStyle=1;fontSize=20;dashed=1;" parent="ZA5GORr93JJoLh9idrLJ-1" vertex="1">
|
||||
<mxGeometry x="209" y="550" width="300" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-51" value="" style="whiteSpace=wrap;html=1;fontSize=16;align=left;" parent="ZA5GORr93JJoLh9idrLJ-1" vertex="1">
|
||||
<mxGeometry x="218" y="710" width="282" height="375" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-52" value="Spirit3 1档测试结果:<br>15BPM 标称:xxml&nbsp; 实测:xxml<br>20BPM 标称:xxml&nbsp; 实测:xxml<br>25BPM 标称:xxml&nbsp; 实测:xxml<br>30BPM 标称:xxml&nbsp; 实测:xxml<br>35BPM 标称:xxml&nbsp; 实测:xxml<br>40BPM 标称:xxml&nbsp; 实测:xxml<br>时间:xxx<br>判定:合格" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;whiteSpace=wrap;rounded=0;fontSize=16;" parent="ZA5GORr93JJoLh9idrLJ-1" vertex="1">
|
||||
<mxGeometry x="231" y="724" width="254" height="348" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-56" value="设置页" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=20;" parent="ZA5GORr93JJoLh9idrLJ-1" vertex="1">
|
||||
<mxGeometry x="1372.5" y="32" width="105" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-57" value="测试日志" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=20;" parent="ZA5GORr93JJoLh9idrLJ-1" vertex="1">
|
||||
<mxGeometry x="979" y="592" width="105" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-58" value="设备信息" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=20;" parent="ZA5GORr93JJoLh9idrLJ-1" vertex="1">
|
||||
<mxGeometry x="1372.5" y="585" width="105" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38JXf-itZzLNJf6TiQsh-1" value="" style="group" parent="ZA5GORr93JJoLh9idrLJ-1" vertex="1" connectable="0">
|
||||
<mxGeometry x="199" y="644" width="320" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-49" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=20;align=left;" parent="38JXf-itZzLNJf6TiQsh-1" vertex="1">
|
||||
<mxGeometry width="320" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="djf1Z3Fl7hY3bTHai0Dd-50" value="Home" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1;fontSize=16;" parent="38JXf-itZzLNJf6TiQsh-1" vertex="1">
|
||||
<mxGeometry x="15" y="15" width="40" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38JXf-itZzLNJf6TiQsh-2" value="" style="group" parent="ZA5GORr93JJoLh9idrLJ-1" vertex="1" connectable="0">
|
||||
<mxGeometry x="882" y="620" width="320" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38JXf-itZzLNJf6TiQsh-3" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=20;align=left;" parent="38JXf-itZzLNJf6TiQsh-2" vertex="1">
|
||||
<mxGeometry width="320" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38JXf-itZzLNJf6TiQsh-4" value="Home" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1;fontSize=16;" parent="38JXf-itZzLNJf6TiQsh-2" vertex="1">
|
||||
<mxGeometry x="15" y="15" width="40" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38JXf-itZzLNJf6TiQsh-5" value="" style="group" parent="ZA5GORr93JJoLh9idrLJ-1" vertex="1" connectable="0">
|
||||
<mxGeometry x="1265" y="65" width="320" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38JXf-itZzLNJf6TiQsh-6" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=20;align=left;" parent="38JXf-itZzLNJf6TiQsh-5" vertex="1">
|
||||
<mxGeometry width="320" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38JXf-itZzLNJf6TiQsh-7" value="Home" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1;fontSize=16;" parent="38JXf-itZzLNJf6TiQsh-5" vertex="1">
|
||||
<mxGeometry x="15" y="15" width="40" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38JXf-itZzLNJf6TiQsh-8" value="" style="group" parent="ZA5GORr93JJoLh9idrLJ-1" vertex="1" connectable="0">
|
||||
<mxGeometry x="1265" y="620" width="320" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38JXf-itZzLNJf6TiQsh-9" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=20;align=left;" parent="38JXf-itZzLNJf6TiQsh-8" vertex="1">
|
||||
<mxGeometry width="320" height="50" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="38JXf-itZzLNJf6TiQsh-10" value="Home" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=1;fontSize=16;" parent="38JXf-itZzLNJf6TiQsh-8" vertex="1">
|
||||
<mxGeometry x="15" y="15" width="40" height="20" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-0" value="&nbsp; 设备信息" style="rounded=1;whiteSpace=wrap;html=1;fontStyle=1;fontSize=20;align=center;verticalAlign=top;" vertex="1" parent="ZA5GORr93JJoLh9idrLJ-1">
|
||||
<mxGeometry x="1275" y="677" width="300" height="293" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-1" value="软件版本:Ver20250304.1A<div>硬件版本:Ver20250302.1B</div><div>电池容量:600mAh</div><div>满电电压:4.2V</div><div>设备名称:FluxDC</div><div>主控:ESP32S3-1-WROOM</div><div>Flash:4MB</div><div>RAM:8MB</div><div><br></div><div>屏幕:320-480px 3.5寸<br></div><div>驱动方式:i80</div><div>电容触摸驱动芯片:FT6336U</div><div>显示屏驱动芯片:ILI9488</div><div>供应商:深圳市浦洋液晶</div><div><br></div><div>技术支持:13345203604</div><div><br></div><div><br></div>" style="text;html=1;align=left;verticalAlign=top;whiteSpace=wrap;rounded=0;" vertex="1" parent="ZA5GORr93JJoLh9idrLJ-1">
|
||||
<mxGeometry x="1292" y="718.5" width="209" height="240.5" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-12" value="" style="group" vertex="1" connectable="0" parent="ZA5GORr93JJoLh9idrLJ-1">
|
||||
<mxGeometry x="1276" y="132" width="300" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-3" value="&nbsp; wifi" style="rounded=1;whiteSpace=wrap;html=1;fontStyle=1;fontSize=30;align=left;" vertex="1" parent="OX8gmRQEjL_YiOxeT4wK-12">
|
||||
<mxGeometry width="300" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-5" value="" style="shape=delay;whiteSpace=wrap;html=1;" vertex="1" parent="OX8gmRQEjL_YiOxeT4wK-12">
|
||||
<mxGeometry x="204" y="15" width="60" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-6" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" vertex="1" parent="OX8gmRQEjL_YiOxeT4wK-12">
|
||||
<mxGeometry x="183" y="15" width="40" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-13" value="" style="group" vertex="1" connectable="0" parent="ZA5GORr93JJoLh9idrLJ-1">
|
||||
<mxGeometry x="1276" y="222" width="300" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-14" value="&nbsp; Push" style="rounded=1;whiteSpace=wrap;html=1;fontStyle=1;fontSize=30;align=left;" vertex="1" parent="OX8gmRQEjL_YiOxeT4wK-13">
|
||||
<mxGeometry width="300" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-15" value="" style="shape=delay;whiteSpace=wrap;html=1;" vertex="1" parent="OX8gmRQEjL_YiOxeT4wK-13">
|
||||
<mxGeometry x="204" y="15" width="60" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-16" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" vertex="1" parent="OX8gmRQEjL_YiOxeT4wK-13">
|
||||
<mxGeometry x="183" y="15" width="40" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-17" value="Pull" style="rounded=1;whiteSpace=wrap;html=1;fontSize=30;fontStyle=1" vertex="1" parent="ZA5GORr93JJoLh9idrLJ-1">
|
||||
<mxGeometry x="1276" y="313" width="299" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-18" value="" style="group" vertex="1" connectable="0" parent="ZA5GORr93JJoLh9idrLJ-1">
|
||||
<mxGeometry x="1276" y="399" width="300" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-19" value="&nbsp; 亮度" style="rounded=1;whiteSpace=wrap;html=1;fontStyle=1;fontSize=30;align=left;" vertex="1" parent="OX8gmRQEjL_YiOxeT4wK-18">
|
||||
<mxGeometry width="300" height="70" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-20" value="" style="shape=delay;whiteSpace=wrap;html=1;" vertex="1" parent="OX8gmRQEjL_YiOxeT4wK-18">
|
||||
<mxGeometry x="121" y="15" width="169" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-21" value="" style="ellipse;whiteSpace=wrap;html=1;aspect=fixed;" vertex="1" parent="OX8gmRQEjL_YiOxeT4wK-18">
|
||||
<mxGeometry x="100" y="15" width="40" height="40" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-22" value="massage:pushing data to server" style="text;html=1;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="ZA5GORr93JJoLh9idrLJ-1">
|
||||
<mxGeometry x="1279" y="492" width="292" height="30" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-23" value="标称体积ml" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=24;" vertex="1" parent="ZA5GORr93JJoLh9idrLJ-1">
|
||||
<mxGeometry x="903" y="689" width="150" height="44" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-24" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="ZA5GORr93JJoLh9idrLJ-1">
|
||||
<mxGeometry x="1059" y="683" width="120" height="56" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-25" value="" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="ZA5GORr93JJoLh9idrLJ-1">
|
||||
<mxGeometry x="898" y="680" width="290" height="62" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-26" value="累计测试" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=24;" vertex="1" parent="ZA5GORr93JJoLh9idrLJ-1">
|
||||
<mxGeometry x="907" y="690" width="150" height="44" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-27" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="ZA5GORr93JJoLh9idrLJ-1">
|
||||
<mxGeometry x="1051" y="683" width="120" height="56" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-28" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="ZA5GORr93JJoLh9idrLJ-1">
|
||||
<mxGeometry x="1050" y="767" width="120" height="56" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-29" value="累计测试" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=24;" vertex="1" parent="ZA5GORr93JJoLh9idrLJ-1">
|
||||
<mxGeometry x="906" y="774" width="150" height="44" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-30" value="" style="rounded=1;whiteSpace=wrap;html=1;" vertex="1" parent="ZA5GORr93JJoLh9idrLJ-1">
|
||||
<mxGeometry x="897" y="764" width="290" height="62" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-31" value="合格率" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=24;" vertex="1" parent="ZA5GORr93JJoLh9idrLJ-1">
|
||||
<mxGeometry x="915" y="775" width="150" height="44" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-32" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="ZA5GORr93JJoLh9idrLJ-1">
|
||||
<mxGeometry x="1059" y="768" width="120" height="56" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-33" value="&nbsp; 存储空间" style="rounded=1;whiteSpace=wrap;html=1;fontStyle=1;fontSize=20;align=center;verticalAlign=top;" vertex="1" parent="ZA5GORr93JJoLh9idrLJ-1">
|
||||
<mxGeometry x="892" y="842" width="300" height="114" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="OX8gmRQEjL_YiOxeT4wK-34" value="剩余空间:12GB<div>已存储测试结果:1234条</div><div>已上传:1234条</div>" style="text;html=1;align=left;verticalAlign=top;whiteSpace=wrap;rounded=0;" vertex="1" parent="ZA5GORr93JJoLh9idrLJ-1">
|
||||
<mxGeometry x="907" y="881.5" width="209" height="67.5" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
||||
|
||||
@ -1,15 +1,18 @@
|
||||
SET(SOURCES screens/ui_Home.c
|
||||
screens/ui_settings.c
|
||||
screens/ui_Batinfo.c
|
||||
screens/ui_DeviceInfo.c
|
||||
ui.c
|
||||
components/ui_comp_hook.c
|
||||
ui_helpers.c
|
||||
images/ui_img_1623594766.c
|
||||
images/ui_img_345713082.c
|
||||
images/ui_img_2109873719.c
|
||||
images/ui_img_981464361.c
|
||||
fonts/ui_font_AlimamaAgileVF.c
|
||||
fonts/ui_font_AlimamaAgileVFFangyuan40.c
|
||||
fonts/ui_font_homePanelLabel.c
|
||||
fonts/ui_font_homePlusText.c
|
||||
fonts/ui_font_homeText.c
|
||||
fonts/ui_font_homeText_1.c
|
||||
fonts/ui_font_LenovoHTC.c
|
||||
fonts/ui_font_MiSansB40.c
|
||||
fonts/ui_font_MiSansM.c
|
||||
|
||||
@ -1,15 +1,18 @@
|
||||
screens/ui_Home.c
|
||||
screens/ui_settings.c
|
||||
screens/ui_Batinfo.c
|
||||
screens/ui_DeviceInfo.c
|
||||
ui.c
|
||||
components/ui_comp_hook.c
|
||||
ui_helpers.c
|
||||
images/ui_img_1623594766.c
|
||||
images/ui_img_345713082.c
|
||||
images/ui_img_2109873719.c
|
||||
images/ui_img_981464361.c
|
||||
fonts/ui_font_AlimamaAgileVF.c
|
||||
fonts/ui_font_AlimamaAgileVFFangyuan40.c
|
||||
fonts/ui_font_homePanelLabel.c
|
||||
fonts/ui_font_homePlusText.c
|
||||
fonts/ui_font_homeText.c
|
||||
fonts/ui_font_homeText_1.c
|
||||
fonts/ui_font_LenovoHTC.c
|
||||
fonts/ui_font_MiSansB40.c
|
||||
fonts/ui_font_MiSansM.c
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
/*******************************************************************************
|
||||
* Size: 16 px
|
||||
* Bpp: 1
|
||||
* Opts: --bpp 1 --size 16 --font E:\workplace\ESP32_workplace\i80_controller\MySquareLine\assets\MiSans-Medium.otf -o E:\workplace\ESP32_workplace\i80_controller\MySquareLine\assets\ui_font_MiSansM.c --format lvgl -r 0x20-0x7f --symbols 连接相册相机时钟音乐设置WIFI天气备忘录通讯录计算器文件游戏贪吃蛇二维码蓝牙遥控器电话邮件浏览器短信关于本机日期和时间已关闭已开启电池系统>电最大压总采样值量信息 --no-compress --no-prefilter
|
||||
* Opts: --bpp 1 --size 16 --font E:/FluxDC/SquareLineProj/assets/MiSans-Medium.otf -o E:/FluxDC/SquareLineProj/assets\ui_font_MiSansM.c --format lvgl -r 0x20-0x7f --symbols 连接相册相机时钟音乐设置WIFI天气备忘录通讯录计算器文件游戏贪吃蛇二维码蓝牙遥控器电话邮件浏览器短信1档:开始测试关于本机日期和时间已关闭已开启电池系统>电最大压总采样值量信息 --no-compress --no-prefilter
|
||||
******************************************************************************/
|
||||
|
||||
#include "../ui.h"
|
||||
@ -467,6 +467,12 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
|
||||
0x33, 0x1, 0x86, 0x1c, 0xe, 0xe0, 0x1c, 0x0,
|
||||
0x10,
|
||||
|
||||
/* U+59CB "始" */
|
||||
0x20, 0xc1, 0x82, 0x6, 0x1b, 0x3e, 0xc4, 0x4a,
|
||||
0x9, 0x2f, 0xe4, 0x80, 0x56, 0x0, 0xd0, 0x3,
|
||||
0x4f, 0xe7, 0x20, 0x8c, 0x82, 0x7a, 0xb, 0x2f,
|
||||
0xe8, 0x20, 0x80,
|
||||
|
||||
/* U+5DF2 "已" */
|
||||
0xff, 0xe0, 0x2, 0x0, 0x20, 0x2, 0x80, 0x28,
|
||||
0x2, 0xff, 0xe8, 0x0, 0x80, 0x8, 0x1, 0x80,
|
||||
@ -567,6 +573,12 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
|
||||
0x81, 0xa, 0x7f, 0xc8, 0x10, 0x20, 0x40, 0x81,
|
||||
0x2, 0x4, 0x0,
|
||||
|
||||
/* U+6863 "档" */
|
||||
0x20, 0x41, 0x22, 0x49, 0x92, 0x46, 0xbf, 0x95,
|
||||
0x10, 0x21, 0x9f, 0xee, 0x1, 0xe8, 0xd, 0x3f,
|
||||
0xe8, 0x2, 0x40, 0x12, 0x0, 0x93, 0xfc, 0x80,
|
||||
0x20,
|
||||
|
||||
/* U+6C14 "气" */
|
||||
0x10, 0x0, 0x40, 0x3, 0xff, 0x88, 0x0, 0x60,
|
||||
0x3, 0x7f, 0xc0, 0x0, 0x1f, 0xf8, 0x0, 0x20,
|
||||
@ -579,6 +591,12 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
|
||||
0xd2, 0xe2, 0x48, 0x49, 0x1, 0x64, 0x5, 0x10,
|
||||
0x14, 0x3f, 0xc0,
|
||||
|
||||
/* U+6D4B "测" */
|
||||
0x40, 0x5, 0xbe, 0x12, 0x8a, 0x42, 0xa9, 0x4a,
|
||||
0xa5, 0xaa, 0x92, 0xaa, 0x42, 0xa9, 0x2a, 0xa4,
|
||||
0xaa, 0x92, 0x22, 0x59, 0xc1, 0x45, 0x5, 0x22,
|
||||
0x15, 0x83, 0xc0,
|
||||
|
||||
/* U+6D4F "浏" */
|
||||
0x42, 0x5, 0x8c, 0x13, 0x31, 0x43, 0xf5, 0x0,
|
||||
0x95, 0xb6, 0x53, 0x59, 0x41, 0xc5, 0x23, 0x14,
|
||||
@ -686,6 +704,12 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
|
||||
0x8c, 0xc2, 0x92, 0xe, 0x38, 0x31, 0xf0, 0xbc,
|
||||
0x70, 0xc0, 0x40,
|
||||
|
||||
/* U+8BD5 "试" */
|
||||
0x0, 0xc6, 0x7, 0x90, 0x36, 0xc1, 0x81, 0xff,
|
||||
0x80, 0x63, 0x3, 0xb, 0xf8, 0x44, 0xc2, 0x26,
|
||||
0x11, 0x30, 0xc8, 0x96, 0x54, 0xaf, 0xb5, 0x40,
|
||||
0xc0,
|
||||
|
||||
/* U+8BDD "话" */
|
||||
0x40, 0x8, 0x9f, 0xe3, 0xc, 0x0, 0x30, 0xf,
|
||||
0xff, 0xbf, 0xf2, 0xc, 0x8, 0x30, 0x27, 0xf8,
|
||||
@ -754,7 +778,10 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
|
||||
0x2, 0x0, 0xc, 0x7, 0xff, 0x86, 0x18, 0x8,
|
||||
0x43, 0xff, 0xf0, 0x0, 0x0, 0x0, 0x3f, 0xf0,
|
||||
0x80, 0x42, 0x1, 0xf, 0xfc, 0x20, 0x10, 0xff,
|
||||
0xc2, 0x1, 0x0
|
||||
0xc2, 0x1, 0x0,
|
||||
|
||||
/* U+FF1A ":" */
|
||||
0xf0, 0x3, 0xc0
|
||||
};
|
||||
|
||||
|
||||
@ -876,55 +903,60 @@ static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
|
||||
{.bitmap_index = 1299, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1328, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1355, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1380, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 1401, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1426, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1451, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1380, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1407, .adv_w = 256, .box_w = 12, .box_h = 14, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 1428, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1453, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1478, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1505, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1532, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1557, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1532, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1559, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1584, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1611, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1636, .adv_w = 256, .box_w = 10, .box_h = 14, .ofs_x = 3, .ofs_y = -1},
|
||||
{.bitmap_index = 1654, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 1679, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1704, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1731, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
|
||||
{.bitmap_index = 1760, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1611, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1638, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1663, .adv_w = 256, .box_w = 10, .box_h = 14, .ofs_x = 3, .ofs_y = -1},
|
||||
{.bitmap_index = 1681, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 1706, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1731, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1758, .adv_w = 256, .box_w = 15, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
|
||||
{.bitmap_index = 1787, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1814, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1841, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1868, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
|
||||
{.bitmap_index = 1895, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1922, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1947, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 1972, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1997, .adv_w = 256, .box_w = 14, .box_h = 16, .ofs_x = 1, .ofs_y = -2},
|
||||
{.bitmap_index = 2025, .adv_w = 256, .box_w = 13, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2048, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2073, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2100, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2127, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2154, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1841, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1866, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1893, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1920, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 1947, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
|
||||
{.bitmap_index = 1974, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2001, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2026, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2051, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2076, .adv_w = 256, .box_w = 14, .box_h = 16, .ofs_x = 1, .ofs_y = -2},
|
||||
{.bitmap_index = 2104, .adv_w = 256, .box_w = 13, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2127, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2152, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2179, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2206, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
|
||||
{.bitmap_index = 2233, .adv_w = 256, .box_w = 14, .box_h = 16, .ofs_x = 1, .ofs_y = -2},
|
||||
{.bitmap_index = 2261, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2288, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2313, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2340, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2365, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2206, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2233, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2258, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2285, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 0, .ofs_y = -1},
|
||||
{.bitmap_index = 2312, .adv_w = 256, .box_w = 14, .box_h = 16, .ofs_x = 1, .ofs_y = -2},
|
||||
{.bitmap_index = 2340, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2367, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2392, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2419, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2446, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2471, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2496, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2521, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2546, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2573, .adv_w = 256, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2596, .adv_w = 256, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2619, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1}
|
||||
{.bitmap_index = 2419, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2444, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2469, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2496, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2523, .adv_w = 256, .box_w = 15, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2550, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2575, .adv_w = 256, .box_w = 13, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2600, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2625, .adv_w = 256, .box_w = 14, .box_h = 14, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2650, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2677, .adv_w = 256, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2700, .adv_w = 256, .box_w = 12, .box_h = 15, .ofs_x = 2, .ofs_y = -1},
|
||||
{.bitmap_index = 2723, .adv_w = 256, .box_w = 14, .box_h = 15, .ofs_x = 1, .ofs_y = -1},
|
||||
{.bitmap_index = 2750, .adv_w = 256, .box_w = 2, .box_h = 9, .ofs_x = 3, .ofs_y = 0}
|
||||
};
|
||||
|
||||
/*---------------------
|
||||
@ -934,13 +966,13 @@ static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
|
||||
static const uint16_t unicode_list_1[] = {
|
||||
0x0, 0x3c, 0x3e, 0xa6, 0x191, 0x1ec, 0x323, 0x33c,
|
||||
0x53b, 0x5b3, 0x5df, 0x63c, 0x818, 0xab7, 0xad7, 0xad9,
|
||||
0xfa2, 0x10b0, 0x1105, 0x1188, 0x11eb, 0x121f, 0x13bf, 0x1555,
|
||||
0x1557, 0x1737, 0x1795, 0x17a6, 0x18b0, 0x18cf, 0x18dc, 0x18ea,
|
||||
0x19e7, 0x1dc4, 0x1e10, 0x1eff, 0x1fe8, 0x2409, 0x26e5, 0x28a8,
|
||||
0x299d, 0x29b1, 0x2d47, 0x2eab, 0x308f, 0x30a4, 0x311e, 0x368d,
|
||||
0x3877, 0x3b78, 0x3d51, 0x3d5f, 0x3d6e, 0x3d8d, 0x3eda, 0x418e,
|
||||
0x41ca, 0x4215, 0x425e, 0x4377, 0x437f, 0x464f, 0x479d, 0x47a4,
|
||||
0x49a3
|
||||
0xb7b, 0xfa2, 0x10b0, 0x1105, 0x1188, 0x11eb, 0x121f, 0x13bf,
|
||||
0x1555, 0x1557, 0x1737, 0x1795, 0x17a6, 0x18b0, 0x18cf, 0x18dc,
|
||||
0x18ea, 0x19e7, 0x1a13, 0x1dc4, 0x1e10, 0x1efb, 0x1eff, 0x1fe8,
|
||||
0x2409, 0x26e5, 0x28a8, 0x299d, 0x29b1, 0x2d47, 0x2eab, 0x308f,
|
||||
0x30a4, 0x311e, 0x368d, 0x3877, 0x3b78, 0x3d51, 0x3d5f, 0x3d6e,
|
||||
0x3d85, 0x3d8d, 0x3eda, 0x418e, 0x41ca, 0x4215, 0x425e, 0x4377,
|
||||
0x437f, 0x464f, 0x479d, 0x47a4, 0x49a3, 0xb0ca
|
||||
};
|
||||
|
||||
/*Collect the unicode lists and glyph_id offsets*/
|
||||
@ -951,8 +983,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
|
||||
},
|
||||
{
|
||||
.range_start = 20048, .range_length = 18852, .glyph_id_start = 97,
|
||||
.unicode_list = unicode_list_1, .glyph_id_ofs_list = NULL, .list_length = 65, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY
|
||||
.range_start = 20048, .range_length = 45259, .glyph_id_start = 97,
|
||||
.unicode_list = unicode_list_1, .glyph_id_ofs_list = NULL, .list_length = 70, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY
|
||||
}
|
||||
};
|
||||
|
||||
@ -984,7 +1016,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
|
||||
};
|
||||
|
||||
/*Map glyph_ids to kern right classes*/
|
||||
@ -1010,7 +1042,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
|
||||
};
|
||||
|
||||
/*Kern values between classes*/
|
||||
@ -1293,9 +1325,12 @@ static const lv_font_fmt_txt_kern_classes_t kern_classes =
|
||||
* ALL CUSTOM DATA
|
||||
*--------------------*/
|
||||
|
||||
#if LV_VERSION_CHECK(8, 0, 0)
|
||||
#if LVGL_VERSION_MAJOR == 8
|
||||
/*Store all the custom data of the font*/
|
||||
static lv_font_fmt_txt_glyph_cache_t cache;
|
||||
#endif
|
||||
|
||||
#if LVGL_VERSION_MAJOR >= 8
|
||||
static const lv_font_fmt_txt_dsc_t font_dsc = {
|
||||
#else
|
||||
static lv_font_fmt_txt_dsc_t font_dsc = {
|
||||
@ -1309,18 +1344,19 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
|
||||
.bpp = 1,
|
||||
.kern_classes = 1,
|
||||
.bitmap_format = 0,
|
||||
#if LV_VERSION_CHECK(8, 0, 0)
|
||||
#if LVGL_VERSION_MAJOR == 8
|
||||
.cache = &cache
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
|
||||
/*-----------------
|
||||
* PUBLIC FONT
|
||||
*----------------*/
|
||||
|
||||
/*Initialize a public general font descriptor*/
|
||||
#if LV_VERSION_CHECK(8, 0, 0)
|
||||
#if LVGL_VERSION_MAJOR >= 8
|
||||
const lv_font_t ui_font_MiSansM = {
|
||||
#else
|
||||
lv_font_t ui_font_MiSansM = {
|
||||
@ -1336,7 +1372,11 @@ lv_font_t ui_font_MiSansM = {
|
||||
.underline_position = -2,
|
||||
.underline_thickness = 1,
|
||||
#endif
|
||||
.dsc = &font_dsc /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
|
||||
.dsc = &font_dsc, /*The custom font data. Will be accessed by `get_glyph_bitmap/dsc` */
|
||||
#if LV_VERSION_CHECK(8, 2, 0) || LVGL_VERSION_MAJOR >= 9
|
||||
.fallback = NULL,
|
||||
#endif
|
||||
.user_data = NULL,
|
||||
};
|
||||
|
||||
|
||||
|
||||
1724
components/FluxUI/fonts/ui_font_homePanelLabel.c
Normal file
1724
components/FluxUI/fonts/ui_font_homePanelLabel.c
Normal file
File diff suppressed because it is too large
Load Diff
1386
components/FluxUI/fonts/ui_font_homePlusText.c
Normal file
1386
components/FluxUI/fonts/ui_font_homePlusText.c
Normal file
File diff suppressed because it is too large
Load Diff
1766
components/FluxUI/fonts/ui_font_homeText.c
Normal file
1766
components/FluxUI/fonts/ui_font_homeText.c
Normal file
File diff suppressed because it is too large
Load Diff
1581
components/FluxUI/fonts/ui_font_homeText_1.c
Normal file
1581
components/FluxUI/fonts/ui_font_homeText_1.c
Normal file
File diff suppressed because it is too large
Load Diff
53
components/FluxUI/screens/ui_DeviceInfo.c
Normal file
53
components/FluxUI/screens/ui_DeviceInfo.c
Normal file
@ -0,0 +1,53 @@
|
||||
// This file was generated by SquareLine Studio
|
||||
// SquareLine Studio version: SquareLine Studio 1.5.1
|
||||
// LVGL version: 8.3.6
|
||||
// Project name: ESP32S3_UI
|
||||
|
||||
#include "../ui.h"
|
||||
|
||||
void ui_DeviceInfo_screen_init(void)
|
||||
{
|
||||
ui_DeviceInfo = lv_obj_create(NULL);
|
||||
lv_obj_clear_flag(ui_DeviceInfo, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
|
||||
ui_settingHeader3 = lv_obj_create(ui_DeviceInfo);
|
||||
lv_obj_set_width(ui_settingHeader3, 320);
|
||||
lv_obj_set_height(ui_settingHeader3, 50);
|
||||
lv_obj_set_x(ui_settingHeader3, -1);
|
||||
lv_obj_set_y(ui_settingHeader3, 2);
|
||||
lv_obj_set_align(ui_settingHeader3, LV_ALIGN_TOP_MID);
|
||||
lv_obj_clear_flag(ui_settingHeader3, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
lv_obj_set_style_radius(ui_settingHeader3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_width(ui_settingHeader3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_HomeImg3 = lv_img_create(ui_settingHeader3);
|
||||
lv_img_set_src(ui_HomeImg3, &ui_img_981464361);
|
||||
lv_obj_set_width(ui_HomeImg3, LV_SIZE_CONTENT); /// 40
|
||||
lv_obj_set_height(ui_HomeImg3, LV_SIZE_CONTENT); /// 40
|
||||
lv_obj_set_align(ui_HomeImg3, LV_ALIGN_LEFT_MID);
|
||||
lv_obj_add_flag(ui_HomeImg3, LV_OBJ_FLAG_CLICKABLE | LV_OBJ_FLAG_ADV_HITTEST); /// Flags
|
||||
lv_obj_clear_flag(ui_HomeImg3, LV_OBJ_FLAG_PRESS_LOCK | LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
|
||||
ui_Label17 = lv_label_create(ui_settingHeader3);
|
||||
lv_obj_set_width(ui_Label17, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label17, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_align(ui_Label17, LV_ALIGN_BOTTOM_MID);
|
||||
lv_label_set_text(ui_Label17, "DeviceInfo");
|
||||
lv_obj_set_style_text_color(ui_Label17, lv_color_hex(0x040000), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui_Label17, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_Label17, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_TextArea1 = lv_textarea_create(ui_DeviceInfo);
|
||||
lv_obj_set_width(ui_TextArea1, 292);
|
||||
lv_obj_set_height(ui_TextArea1, 375);
|
||||
lv_obj_set_x(ui_TextArea1, -2);
|
||||
lv_obj_set_y(ui_TextArea1, 14);
|
||||
lv_obj_set_align(ui_TextArea1, LV_ALIGN_CENTER);
|
||||
lv_textarea_set_text(ui_TextArea1,
|
||||
"\nDevice Name : FluxDC\n================================\n\nSoftware version:20250304.1.0\nHardware version:20250302.1.0\n---------------------------------------------------\nMcu:esp32-s3-wroom\nRam:8MB\nFlash:4MB\n---------------------------------------------------\nScreen:320-480px 3.5inch\nPort:i80\nTouch ic:ft6336U\nDriver ic:ili9488 compatible with st7789\n---------------------------------------------------\nSoftware website:sunme.top:3000\nTechnology support:13345203604\nName:wang xiang en\n\n");
|
||||
lv_textarea_set_placeholder_text(ui_TextArea1, "Placeholder...");
|
||||
|
||||
lv_obj_add_event_cb(ui_HomeImg3, ui_event_HomeImg3, LV_EVENT_ALL, NULL);
|
||||
lv_obj_add_event_cb(ui_settingHeader3, ui_event_settingHeader3, LV_EVENT_ALL, NULL);
|
||||
|
||||
}
|
||||
@ -9,10 +9,15 @@ void ui_Home_screen_init(void)
|
||||
{
|
||||
ui_Home = lv_obj_create(NULL);
|
||||
lv_obj_clear_flag(ui_Home, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
lv_obj_set_style_bg_color(ui_Home, lv_color_hex(0xE6E6E6), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_Home, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_grad_color(ui_Home, lv_color_hex(0xE6E6E6), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_img_src(ui_Home, &ui_img_1623594766, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_img_opa(ui_Home, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_img_recolor(ui_Home, lv_color_hex(0x97979C), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_img_recolor_opa(ui_Home, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
lv_obj_set_style_radius(ui_Home, 0, LV_PART_SCROLLBAR | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_Home, lv_color_hex(0xE6E6E6), LV_PART_SCROLLBAR | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_Home, 255, LV_PART_SCROLLBAR | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_grad_color(ui_Home, lv_color_hex(0xE6E6E6), LV_PART_SCROLLBAR | LV_STATE_DEFAULT);
|
||||
|
||||
ui_header = lv_obj_create(ui_Home);
|
||||
lv_obj_set_width(ui_header, 320);
|
||||
@ -37,30 +42,19 @@ void ui_Home_screen_init(void)
|
||||
lv_obj_set_style_text_opa(ui_WIFILabel, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_WIFILabel, &ui_font_MiSansN14, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_WIFISymbel = lv_label_create(ui_Home);
|
||||
lv_obj_set_width(ui_WIFISymbel, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_WIFISymbel, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_WIFISymbel, -90);
|
||||
lv_obj_set_y(ui_WIFISymbel, -225);
|
||||
lv_obj_set_align(ui_WIFISymbel, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_WIFISymbel, "");
|
||||
lv_obj_set_style_text_color(ui_WIFISymbel, lv_color_hex(0xFBFBFB), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui_WIFISymbel, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_WIFISymbel, &ui_font_symbolsalibaba16, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_HeaderTimeHome = lv_label_create(ui_Home);
|
||||
lv_obj_set_width(ui_HeaderTimeHome, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_HeaderTimeHome, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_HeaderTimeHome, 0);
|
||||
lv_obj_set_y(ui_HeaderTimeHome, -225);
|
||||
lv_obj_set_align(ui_HeaderTimeHome, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_HeaderTimeHome, "12:12");
|
||||
lv_label_set_text(ui_HeaderTimeHome, "Spirit-3");
|
||||
lv_obj_set_style_text_color(ui_HeaderTimeHome, lv_color_hex(0xFCF6F6), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui_HeaderTimeHome, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_HeaderTimeHome, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_SliderHeaderBat = lv_slider_create(ui_Home);
|
||||
lv_slider_set_value(ui_SliderHeaderBat, 50, LV_ANIM_OFF);
|
||||
lv_slider_set_value(ui_SliderHeaderBat, 60, LV_ANIM_OFF);
|
||||
if(lv_slider_get_mode(ui_SliderHeaderBat) == LV_SLIDER_MODE_RANGE) lv_slider_set_left_value(ui_SliderHeaderBat, 0,
|
||||
LV_ANIM_OFF);
|
||||
lv_obj_set_width(ui_SliderHeaderBat, 30);
|
||||
@ -110,6 +104,19 @@ void ui_Home_screen_init(void)
|
||||
lv_obj_set_style_text_opa(ui_LabelHeaderBatValue, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_LabelHeaderBatValue, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_wifiState = lv_obj_create(ui_Home);
|
||||
lv_obj_set_width(ui_wifiState, 25);
|
||||
lv_obj_set_height(ui_wifiState, 25);
|
||||
lv_obj_set_x(ui_wifiState, -82);
|
||||
lv_obj_set_y(ui_wifiState, -225);
|
||||
lv_obj_set_align(ui_wifiState, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_wifiState, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
lv_obj_set_style_radius(ui_wifiState, 50, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_wifiState, lv_color_hex(0xFEFCFC), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_wifiState, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_color(ui_wifiState, lv_color_hex(0xD9D6D6), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_opa(ui_wifiState, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Body = lv_obj_create(ui_Home);
|
||||
lv_obj_set_width(ui_Body, 320);
|
||||
lv_obj_set_height(ui_Body, 360);
|
||||
@ -117,8 +124,9 @@ void ui_Home_screen_init(void)
|
||||
lv_obj_set_y(ui_Body, -30);
|
||||
lv_obj_set_align(ui_Body, LV_ALIGN_CENTER);
|
||||
lv_obj_add_flag(ui_Body, LV_OBJ_FLAG_SCROLL_ONE); /// Flags
|
||||
lv_obj_set_scrollbar_mode(ui_Body, LV_SCROLLBAR_MODE_OFF);
|
||||
lv_obj_set_scrollbar_mode(ui_Body, LV_SCROLLBAR_MODE_ACTIVE);
|
||||
lv_obj_set_scroll_dir(ui_Body, LV_DIR_HOR);
|
||||
lv_obj_set_scroll_snap_x(ui_Body, LV_SCROLL_SNAP_CENTER);
|
||||
lv_obj_set_style_radius(ui_Body, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_Body, lv_color_hex(0xFFFFFF), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_Body, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
@ -128,8 +136,8 @@ void ui_Home_screen_init(void)
|
||||
ui_home1 = lv_obj_create(ui_Body);
|
||||
lv_obj_set_width(ui_home1, 320);
|
||||
lv_obj_set_height(ui_home1, 360);
|
||||
lv_obj_set_x(ui_home1, 324);
|
||||
lv_obj_set_y(ui_home1, 5);
|
||||
lv_obj_set_x(ui_home1, 325);
|
||||
lv_obj_set_y(ui_home1, 3);
|
||||
lv_obj_set_align(ui_home1, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_home1, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
lv_obj_set_style_radius(ui_home1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
@ -145,102 +153,239 @@ void ui_Home_screen_init(void)
|
||||
lv_obj_set_align(ui_Panel2, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Panel2, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
lv_obj_set_style_radius(ui_Panel2, 10, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_Panel2, lv_color_hex(0xF8F2F2), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_Panel2, lv_color_hex(0xFAF8F8), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_Panel2, 120, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_width(ui_Panel2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Label3 = lv_label_create(ui_Panel2);
|
||||
lv_obj_set_width(ui_Label3, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label3, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label3, 29);
|
||||
lv_obj_set_y(ui_Label3, 7);
|
||||
lv_obj_set_align(ui_Label3, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label3, "电池信息、wifi连接、蓝牙");
|
||||
lv_obj_set_style_text_font(ui_Label3, &ui_font_MiSansN14, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_ToolIcon = lv_img_create(ui_Panel2);
|
||||
lv_img_set_src(ui_ToolIcon, &ui_img_345713082);
|
||||
lv_obj_set_width(ui_ToolIcon, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_ToolIcon, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_ToolIcon, -109);
|
||||
lv_obj_set_y(ui_ToolIcon, 0);
|
||||
lv_obj_set_align(ui_ToolIcon, LV_ALIGN_CENTER);
|
||||
lv_obj_add_flag(ui_ToolIcon, LV_OBJ_FLAG_CLICKABLE | LV_OBJ_FLAG_ADV_HITTEST); /// Flags
|
||||
lv_obj_clear_flag(ui_ToolIcon, LV_OBJ_FLAG_PRESS_LOCK | LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
lv_obj_set_style_border_color(ui_Panel2, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_opa(ui_Panel2, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_width(ui_Panel2, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Label2 = lv_label_create(ui_Panel2);
|
||||
lv_obj_set_width(ui_Label2, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label2, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label2, -22);
|
||||
lv_obj_set_y(ui_Label2, -20);
|
||||
lv_obj_set_x(ui_Label2, -92);
|
||||
lv_obj_set_y(ui_Label2, 0);
|
||||
lv_obj_set_align(ui_Label2, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label2, "系统设置");
|
||||
lv_obj_set_style_text_font(ui_Label2, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_Label2, &ui_font_homePlusText, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_home2 = lv_obj_create(ui_Body);
|
||||
lv_obj_set_width(ui_home2, 300);
|
||||
lv_obj_set_height(ui_home2, 65);
|
||||
lv_obj_set_align(ui_home2, LV_ALIGN_TOP_MID);
|
||||
lv_obj_clear_flag(ui_home2, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
lv_obj_set_style_radius(ui_home2, 50, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_home2, lv_color_hex(0x221E1E), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_home2, 230, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_color(ui_home2, lv_color_hex(0xEDEAEA), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_opa(ui_home2, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_width(ui_home2, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
ui_Panel6 = lv_obj_create(ui_home1);
|
||||
lv_obj_set_width(ui_Panel6, 300);
|
||||
lv_obj_set_height(ui_Panel6, 75);
|
||||
lv_obj_set_x(ui_Panel6, -1);
|
||||
lv_obj_set_y(ui_Panel6, -33);
|
||||
lv_obj_set_align(ui_Panel6, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Panel6, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
lv_obj_set_style_radius(ui_Panel6, 10, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_Panel6, lv_color_hex(0xFAF8F8), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_Panel6, 120, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_color(ui_Panel6, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_opa(ui_Panel6, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_width(ui_Panel6, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Label1 = lv_label_create(ui_home2);
|
||||
ui_Label3 = lv_label_create(ui_Panel6);
|
||||
lv_obj_set_width(ui_Label3, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label3, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label3, -92);
|
||||
lv_obj_set_y(ui_Label3, 0);
|
||||
lv_obj_set_align(ui_Label3, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label3, "测试日志");
|
||||
lv_obj_set_style_text_font(ui_Label3, &ui_font_homePlusText, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Panel7 = lv_obj_create(ui_home1);
|
||||
lv_obj_set_width(ui_Panel7, 300);
|
||||
lv_obj_set_height(ui_Panel7, 75);
|
||||
lv_obj_set_x(ui_Panel7, 0);
|
||||
lv_obj_set_y(ui_Panel7, 54);
|
||||
lv_obj_set_align(ui_Panel7, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Panel7, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
lv_obj_set_style_radius(ui_Panel7, 10, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_Panel7, lv_color_hex(0xFAF8F8), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_Panel7, 120, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_color(ui_Panel7, lv_color_hex(0x000000), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_opa(ui_Panel7, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_width(ui_Panel7, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Label9 = lv_label_create(ui_Panel7);
|
||||
lv_obj_set_width(ui_Label9, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label9, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label9, -92);
|
||||
lv_obj_set_y(ui_Label9, 0);
|
||||
lv_obj_set_align(ui_Label9, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label9, "设备信息");
|
||||
lv_obj_set_style_text_font(ui_Label9, &ui_font_homePlusText, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Panel3 = lv_obj_create(ui_Body);
|
||||
lv_obj_set_width(ui_Panel3, 297);
|
||||
lv_obj_set_height(ui_Panel3, 351);
|
||||
lv_obj_set_x(ui_Panel3, -1);
|
||||
lv_obj_set_y(ui_Panel3, 3);
|
||||
lv_obj_set_align(ui_Panel3, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Panel3, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
lv_obj_set_style_radius(ui_Panel3, 15, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Spinbox1 = lv_spinbox_create(ui_Panel3);
|
||||
lv_obj_set_width(ui_Spinbox1, 40);
|
||||
lv_obj_set_height(ui_Spinbox1, 55);
|
||||
lv_obj_set_x(ui_Spinbox1, -1);
|
||||
lv_obj_set_y(ui_Spinbox1, 142);
|
||||
lv_obj_set_align(ui_Spinbox1, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Spinbox1, LV_OBJ_FLAG_CLICKABLE); /// Flags
|
||||
lv_spinbox_set_digit_format(ui_Spinbox1, 1, 34);
|
||||
lv_spinbox_set_range(ui_Spinbox1, 0, 10);
|
||||
lv_spinbox_set_cursor_pos(ui_Spinbox1, 1 - 1);
|
||||
lv_spinbox_set_value(ui_Spinbox1, 1);
|
||||
lv_obj_set_style_text_color(ui_Spinbox1, lv_color_hex(0x030000), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui_Spinbox1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_align(ui_Spinbox1, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_Spinbox1, &ui_font_homePanelLabel, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_ButtonMinus = lv_btn_create(ui_Panel3);
|
||||
lv_obj_set_width(ui_ButtonMinus, 94);
|
||||
lv_obj_set_height(ui_ButtonMinus, 50);
|
||||
lv_obj_set_x(ui_ButtonMinus, -89);
|
||||
lv_obj_set_y(ui_ButtonMinus, 140);
|
||||
lv_obj_set_align(ui_ButtonMinus, LV_ALIGN_CENTER);
|
||||
lv_obj_set_style_bg_color(ui_ButtonMinus, lv_color_hex(0xE0E4E3), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_ButtonMinus, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_color(ui_ButtonMinus, lv_color_hex(0x050000), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui_ButtonMinus, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_ButtonMinus1 = lv_btn_create(ui_Panel3);
|
||||
lv_obj_set_width(ui_ButtonMinus1, 100);
|
||||
lv_obj_set_height(ui_ButtonMinus1, 50);
|
||||
lv_obj_set_x(ui_ButtonMinus1, 88);
|
||||
lv_obj_set_y(ui_ButtonMinus1, 140);
|
||||
lv_obj_set_align(ui_ButtonMinus1, LV_ALIGN_CENTER);
|
||||
lv_obj_set_style_bg_color(ui_ButtonMinus1, lv_color_hex(0xE0E4E3), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_ButtonMinus1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_color(ui_ButtonMinus1, lv_color_hex(0x050000), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui_ButtonMinus1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Label1 = lv_label_create(ui_Panel3);
|
||||
lv_obj_set_width(ui_Label1, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label1, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label1, -4);
|
||||
lv_obj_set_y(ui_Label1, 1);
|
||||
lv_obj_set_x(ui_Label1, 85);
|
||||
lv_obj_set_y(ui_Label1, 142);
|
||||
lv_obj_set_align(ui_Label1, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label1, "12:30");
|
||||
lv_obj_set_style_text_color(ui_Label1, lv_color_hex(0xFFFFFF), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui_Label1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_Label1, &ui_font_MiSansB40, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_label_set_text(ui_Label1, "+");
|
||||
lv_obj_set_style_text_font(ui_Label1, &ui_font_homePanelLabel, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Panel1 = lv_obj_create(ui_Home);
|
||||
lv_obj_set_width(ui_Panel1, 300);
|
||||
lv_obj_set_height(ui_Panel1, 70);
|
||||
lv_obj_set_x(ui_Panel1, 0);
|
||||
lv_obj_set_y(ui_Panel1, 190);
|
||||
lv_obj_set_align(ui_Panel1, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Panel1, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
lv_obj_set_style_radius(ui_Panel1, 15, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_Panel1, lv_color_hex(0xFFFFFF), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_Panel1, 100, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_color(ui_Panel1, lv_color_hex(0xFFFFFF), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_opa(ui_Panel1, 100, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_width(ui_Panel1, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Label4 = lv_label_create(ui_Panel1);
|
||||
lv_obj_set_width(ui_Label4, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label4, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label4, -42);
|
||||
lv_obj_set_y(ui_Label4, -17);
|
||||
lv_obj_set_align(ui_Label4, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label4, "相册");
|
||||
lv_obj_set_style_text_font(ui_Label4, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Image2 = lv_img_create(ui_Panel1);
|
||||
lv_img_set_src(ui_Image2, &ui_img_2109873719);
|
||||
lv_obj_set_width(ui_Image2, LV_SIZE_CONTENT); /// 60
|
||||
lv_obj_set_height(ui_Image2, LV_SIZE_CONTENT); /// 60
|
||||
lv_obj_set_align(ui_Image2, LV_ALIGN_LEFT_MID);
|
||||
lv_obj_add_flag(ui_Image2, LV_OBJ_FLAG_ADV_HITTEST); /// Flags
|
||||
lv_obj_clear_flag(ui_Image2, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
|
||||
ui_Label5 = lv_label_create(ui_Panel1);
|
||||
ui_Label5 = lv_label_create(ui_Panel3);
|
||||
lv_obj_set_width(ui_Label5, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label5, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label5, -27);
|
||||
lv_obj_set_y(ui_Label5, 8);
|
||||
lv_obj_set_x(ui_Label5, -92);
|
||||
lv_obj_set_y(ui_Label5, 141);
|
||||
lv_obj_set_align(ui_Label5, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label5, "SD卡相册");
|
||||
lv_obj_set_style_text_font(ui_Label5, &ui_font_MiSansN14, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_label_set_text(ui_Label5, "-");
|
||||
lv_obj_set_style_text_font(ui_Label5, &ui_font_homePanelLabel, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Panel4 = lv_obj_create(ui_Panel3);
|
||||
lv_obj_set_width(ui_Panel4, 266);
|
||||
lv_obj_set_height(ui_Panel4, 70);
|
||||
lv_obj_set_x(ui_Panel4, 2);
|
||||
lv_obj_set_y(ui_Panel4, 60);
|
||||
lv_obj_set_align(ui_Panel4, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Panel4, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
|
||||
ui_Label6 = lv_label_create(ui_Panel4);
|
||||
lv_obj_set_width(ui_Label6, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label6, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label6, -61);
|
||||
lv_obj_set_y(ui_Label6, 1);
|
||||
lv_obj_set_align(ui_Label6, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label6, "标称体积ml");
|
||||
lv_obj_set_style_text_font(ui_Label6, &ui_font_homeText, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Spinbox2 = lv_spinbox_create(ui_Panel4);
|
||||
lv_obj_set_width(ui_Spinbox2, 101);
|
||||
lv_obj_set_height(ui_Spinbox2, 50);
|
||||
lv_obj_set_x(ui_Spinbox2, 70);
|
||||
lv_obj_set_y(ui_Spinbox2, 2);
|
||||
lv_obj_set_align(ui_Spinbox2, LV_ALIGN_CENTER);
|
||||
lv_spinbox_set_digit_format(ui_Spinbox2, 4, 0);
|
||||
lv_spinbox_set_range(ui_Spinbox2, 0, 9999);
|
||||
lv_spinbox_set_cursor_pos(ui_Spinbox2, 1 - 1);
|
||||
lv_obj_set_style_text_align(ui_Spinbox2, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_Spinbox2, &ui_font_homePanelLabel, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Panel1 = lv_obj_create(ui_Panel3);
|
||||
lv_obj_set_width(ui_Panel1, 266);
|
||||
lv_obj_set_height(ui_Panel1, 70);
|
||||
lv_obj_set_x(ui_Panel1, 3);
|
||||
lv_obj_set_y(ui_Panel1, -29);
|
||||
lv_obj_set_align(ui_Panel1, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Panel1, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
|
||||
ui_Label7 = lv_label_create(ui_Panel1);
|
||||
lv_obj_set_width(ui_Label7, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label7, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label7, -52);
|
||||
lv_obj_set_y(ui_Label7, 2);
|
||||
lv_obj_set_align(ui_Label7, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label7, "呼吸频率BPM");
|
||||
lv_obj_set_style_text_font(ui_Label7, &ui_font_homeText, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Spinbox3 = lv_spinbox_create(ui_Panel1);
|
||||
lv_obj_set_width(ui_Spinbox3, 74);
|
||||
lv_obj_set_height(ui_Spinbox3, 50);
|
||||
lv_obj_set_x(ui_Spinbox3, 79);
|
||||
lv_obj_set_y(ui_Spinbox3, 2);
|
||||
lv_obj_set_align(ui_Spinbox3, LV_ALIGN_CENTER);
|
||||
lv_spinbox_set_digit_format(ui_Spinbox3, 2, 0);
|
||||
lv_spinbox_set_range(ui_Spinbox3, 0, 9999);
|
||||
lv_spinbox_set_cursor_pos(ui_Spinbox3, 1 - 1);
|
||||
lv_obj_set_style_text_align(ui_Spinbox3, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_Spinbox3, &ui_font_homePanelLabel, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Panel5 = lv_obj_create(ui_Panel3);
|
||||
lv_obj_set_width(ui_Panel5, 266);
|
||||
lv_obj_set_height(ui_Panel5, 70);
|
||||
lv_obj_set_x(ui_Panel5, 1);
|
||||
lv_obj_set_y(ui_Panel5, -115);
|
||||
lv_obj_set_align(ui_Panel5, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Panel5, LV_OBJ_FLAG_SCROLLABLE); /// Flags
|
||||
|
||||
ui_Label8 = lv_label_create(ui_Panel5);
|
||||
lv_obj_set_width(ui_Label8, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label8, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label8, -61);
|
||||
lv_obj_set_y(ui_Label8, 1);
|
||||
lv_obj_set_align(ui_Label8, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label8, "实测体积ml");
|
||||
lv_obj_set_style_text_font(ui_Label8, &ui_font_homeText, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Spinbox4 = lv_spinbox_create(ui_Panel5);
|
||||
lv_obj_set_width(ui_Spinbox4, 101);
|
||||
lv_obj_set_height(ui_Spinbox4, 50);
|
||||
lv_obj_set_x(ui_Spinbox4, 70);
|
||||
lv_obj_set_y(ui_Spinbox4, 2);
|
||||
lv_obj_set_align(ui_Spinbox4, LV_ALIGN_CENTER);
|
||||
lv_spinbox_set_digit_format(ui_Spinbox4, 4, 0);
|
||||
lv_spinbox_set_range(ui_Spinbox4, 0, 9999);
|
||||
lv_spinbox_set_cursor_pos(ui_Spinbox4, 1 - 1);
|
||||
lv_obj_set_style_text_align(ui_Spinbox4, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_Spinbox4, &ui_font_homePanelLabel, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Button1 = lv_btn_create(ui_Home);
|
||||
lv_obj_set_width(ui_Button1, 296);
|
||||
lv_obj_set_height(ui_Button1, 61);
|
||||
lv_obj_set_x(ui_Button1, 3);
|
||||
lv_obj_set_y(ui_Button1, 194);
|
||||
lv_obj_set_align(ui_Button1, LV_ALIGN_CENTER);
|
||||
lv_obj_set_style_bg_color(ui_Button1, lv_color_hex(0x4A58DD), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_Button1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Label4 = lv_label_create(ui_Button1);
|
||||
lv_obj_set_width(ui_Label4, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label4, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label4, 5);
|
||||
lv_obj_set_y(ui_Label4, 1);
|
||||
lv_obj_set_align(ui_Label4, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label4, "开始测试:1档");
|
||||
lv_obj_set_style_text_font(ui_Label4, &ui_font_homePanelLabel, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
lv_obj_add_event_cb(ui_ToolIcon, ui_event_ToolIcon, LV_EVENT_ALL, NULL);
|
||||
lv_obj_add_event_cb(ui_Panel2, ui_event_Panel2, LV_EVENT_ALL, NULL);
|
||||
lv_obj_add_event_cb(ui_Panel6, ui_event_Panel6, LV_EVENT_ALL, NULL);
|
||||
lv_obj_add_event_cb(ui_Panel7, ui_event_Panel7, LV_EVENT_ALL, NULL);
|
||||
|
||||
}
|
||||
|
||||
@ -69,25 +69,20 @@ void ui_settings_screen_init(void)
|
||||
lv_obj_set_style_border_width(ui_Bat, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_side(ui_Bat, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Switch2 = lv_switch_create(ui_Bat);
|
||||
lv_obj_set_width(ui_Switch2, 49);
|
||||
lv_obj_set_height(ui_Switch2, 25);
|
||||
lv_obj_set_x(ui_Switch2, 125);
|
||||
lv_obj_set_y(ui_Switch2, -2);
|
||||
lv_obj_set_align(ui_Switch2, LV_ALIGN_CENTER);
|
||||
|
||||
ui_dianchi = lv_label_create(ui_Bat);
|
||||
lv_obj_set_width(ui_dianchi, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_dianchi, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_align(ui_dianchi, LV_ALIGN_LEFT_MID);
|
||||
lv_label_set_text(ui_dianchi, "电池");
|
||||
lv_label_set_text(ui_dianchi, "WIFI");
|
||||
lv_obj_set_style_text_font(ui_dianchi, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_dayu = lv_label_create(ui_Bat);
|
||||
lv_obj_set_width(ui_dayu, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_dayu, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_dayu, 0);
|
||||
lv_obj_set_y(ui_dayu, 3);
|
||||
lv_obj_set_align(ui_dayu, LV_ALIGN_RIGHT_MID);
|
||||
lv_label_set_text(ui_dayu, ">");
|
||||
lv_obj_add_flag(ui_dayu, LV_OBJ_FLAG_CLICKABLE); /// Flags
|
||||
lv_obj_set_style_text_color(ui_dayu, lv_color_hex(0x808080), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui_dayu, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_dayu, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Time = lv_obj_create(ui_StepPannel);
|
||||
lv_obj_set_width(ui_Time, 320);
|
||||
lv_obj_set_height(ui_Time, 40);
|
||||
@ -102,29 +97,121 @@ void ui_settings_screen_init(void)
|
||||
lv_obj_set_style_border_width(ui_Time, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_side(ui_Time, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Switch1 = lv_switch_create(ui_Time);
|
||||
lv_obj_set_width(ui_Switch1, 49);
|
||||
lv_obj_set_height(ui_Switch1, 25);
|
||||
lv_obj_set_x(ui_Switch1, 125);
|
||||
lv_obj_set_y(ui_Switch1, -2);
|
||||
lv_obj_set_align(ui_Switch1, LV_ALIGN_CENTER);
|
||||
|
||||
ui_dianchi1 = lv_label_create(ui_Time);
|
||||
lv_obj_set_width(ui_dianchi1, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_dianchi1, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_align(ui_dianchi1, LV_ALIGN_LEFT_MID);
|
||||
lv_label_set_text(ui_dianchi1, "日期和时间");
|
||||
lv_label_set_text(ui_dianchi1, "PUSH");
|
||||
lv_obj_set_style_text_font(ui_dianchi1, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_dayu1 = lv_label_create(ui_Time);
|
||||
lv_obj_set_width(ui_dayu1, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_dayu1, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_dayu1, 0);
|
||||
lv_obj_set_y(ui_dayu1, 3);
|
||||
lv_obj_set_align(ui_dayu1, LV_ALIGN_RIGHT_MID);
|
||||
lv_label_set_text(ui_dayu1, ">");
|
||||
lv_obj_add_flag(ui_dayu1, LV_OBJ_FLAG_CLICKABLE); /// Flags
|
||||
lv_obj_set_style_text_color(ui_dayu1, lv_color_hex(0x808080), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_opa(ui_dayu1, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_text_font(ui_dayu1, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
ui_Time2 = lv_obj_create(ui_StepPannel);
|
||||
lv_obj_set_width(ui_Time2, 320);
|
||||
lv_obj_set_height(ui_Time2, 40);
|
||||
lv_obj_set_align(ui_Time2, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Time2, LV_OBJ_FLAG_PRESS_LOCK | LV_OBJ_FLAG_CLICK_FOCUSABLE | LV_OBJ_FLAG_SCROLLABLE |
|
||||
LV_OBJ_FLAG_SCROLL_ELASTIC | LV_OBJ_FLAG_SCROLL_MOMENTUM | LV_OBJ_FLAG_SCROLL_CHAIN); /// Flags
|
||||
lv_obj_set_style_radius(ui_Time2, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_Time2, lv_color_hex(0xFFFFFF), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_Time2, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_color(ui_Time2, lv_color_hex(0xB4B4B4), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_opa(ui_Time2, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_width(ui_Time2, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_side(ui_Time2, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_dianchi3 = lv_label_create(ui_Time2);
|
||||
lv_obj_set_width(ui_dianchi3, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_dianchi3, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_align(ui_dianchi3, LV_ALIGN_LEFT_MID);
|
||||
lv_label_set_text(ui_dianchi3, "Light");
|
||||
lv_obj_set_style_text_font(ui_dianchi3, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Slider1 = lv_slider_create(ui_Time2);
|
||||
lv_slider_set_value(ui_Slider1, 0, LV_ANIM_OFF);
|
||||
if(lv_slider_get_mode(ui_Slider1) == LV_SLIDER_MODE_RANGE) lv_slider_set_left_value(ui_Slider1, 0, LV_ANIM_OFF);
|
||||
lv_obj_set_width(ui_Slider1, 211);
|
||||
lv_obj_set_height(ui_Slider1, 10);
|
||||
lv_obj_set_x(ui_Slider1, 42);
|
||||
lv_obj_set_y(ui_Slider1, 1);
|
||||
lv_obj_set_align(ui_Slider1, LV_ALIGN_CENTER);
|
||||
|
||||
ui_Time3 = lv_obj_create(ui_StepPannel);
|
||||
lv_obj_set_width(ui_Time3, 320);
|
||||
lv_obj_set_height(ui_Time3, 40);
|
||||
lv_obj_set_align(ui_Time3, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Time3, LV_OBJ_FLAG_PRESS_LOCK | LV_OBJ_FLAG_CLICK_FOCUSABLE | LV_OBJ_FLAG_SCROLLABLE |
|
||||
LV_OBJ_FLAG_SCROLL_ELASTIC | LV_OBJ_FLAG_SCROLL_MOMENTUM | LV_OBJ_FLAG_SCROLL_CHAIN); /// Flags
|
||||
lv_obj_set_style_radius(ui_Time3, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_Time3, lv_color_hex(0xFFFFFF), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_Time3, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_color(ui_Time3, lv_color_hex(0xB4B4B4), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_opa(ui_Time3, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_width(ui_Time3, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_side(ui_Time3, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Dropdown2 = lv_dropdown_create(ui_Time3);
|
||||
lv_dropdown_set_options(ui_Dropdown2, "Spirit-3\nSpirit-6\nYU-Lite8");
|
||||
lv_obj_set_width(ui_Dropdown2, 150);
|
||||
lv_obj_set_height(ui_Dropdown2, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Dropdown2, 78);
|
||||
lv_obj_set_y(ui_Dropdown2, 0);
|
||||
lv_obj_set_align(ui_Dropdown2, LV_ALIGN_CENTER);
|
||||
lv_obj_add_flag(ui_Dropdown2, LV_OBJ_FLAG_SCROLL_ON_FOCUS); /// Flags
|
||||
|
||||
ui_dianchi4 = lv_label_create(ui_Time3);
|
||||
lv_obj_set_width(ui_dianchi4, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_dianchi4, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_align(ui_dianchi4, LV_ALIGN_LEFT_MID);
|
||||
lv_label_set_text(ui_dianchi4, "Current Device");
|
||||
lv_obj_set_style_text_font(ui_dianchi4, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Time5 = lv_obj_create(ui_StepPannel);
|
||||
lv_obj_set_width(ui_Time5, 320);
|
||||
lv_obj_set_height(ui_Time5, 40);
|
||||
lv_obj_set_align(ui_Time5, LV_ALIGN_CENTER);
|
||||
lv_obj_clear_flag(ui_Time5, LV_OBJ_FLAG_PRESS_LOCK | LV_OBJ_FLAG_CLICK_FOCUSABLE | LV_OBJ_FLAG_SCROLLABLE |
|
||||
LV_OBJ_FLAG_SCROLL_ELASTIC | LV_OBJ_FLAG_SCROLL_MOMENTUM | LV_OBJ_FLAG_SCROLL_CHAIN); /// Flags
|
||||
lv_obj_set_style_radius(ui_Time5, 0, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_color(ui_Time5, lv_color_hex(0xFFFFFF), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_bg_opa(ui_Time5, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_color(ui_Time5, lv_color_hex(0xB4B4B4), LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_opa(ui_Time5, 255, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_width(ui_Time5, 1, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
lv_obj_set_style_border_side(ui_Time5, LV_BORDER_SIDE_BOTTOM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_dianchi6 = lv_label_create(ui_Time5);
|
||||
lv_obj_set_width(ui_dianchi6, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_dianchi6, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_dianchi6, 79);
|
||||
lv_obj_set_y(ui_dianchi6, 0);
|
||||
lv_obj_set_align(ui_dianchi6, LV_ALIGN_LEFT_MID);
|
||||
lv_label_set_text(ui_dianchi6, "Battery Information");
|
||||
lv_obj_set_style_text_font(ui_dianchi6, &ui_font_MiSansM, LV_PART_MAIN | LV_STATE_DEFAULT);
|
||||
|
||||
ui_Button3 = lv_btn_create(ui_settings);
|
||||
lv_obj_set_width(ui_Button3, 303);
|
||||
lv_obj_set_height(ui_Button3, 50);
|
||||
lv_obj_set_x(ui_Button3, 1);
|
||||
lv_obj_set_y(ui_Button3, 115);
|
||||
lv_obj_set_align(ui_Button3, LV_ALIGN_CENTER);
|
||||
|
||||
ui_Label10 = lv_label_create(ui_Button3);
|
||||
lv_obj_set_width(ui_Label10, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_height(ui_Label10, LV_SIZE_CONTENT); /// 1
|
||||
lv_obj_set_x(ui_Label10, -7);
|
||||
lv_obj_set_y(ui_Label10, 2);
|
||||
lv_obj_set_align(ui_Label10, LV_ALIGN_CENTER);
|
||||
lv_label_set_text(ui_Label10, "PULL");
|
||||
|
||||
lv_obj_add_event_cb(ui_HomeImg, ui_event_HomeImg, LV_EVENT_ALL, NULL);
|
||||
lv_obj_add_event_cb(ui_settingHeader, ui_event_settingHeader, LV_EVENT_ALL, NULL);
|
||||
lv_obj_add_event_cb(ui_Bat, ui_event_Bat, LV_EVENT_ALL, NULL);
|
||||
lv_obj_add_event_cb(ui_Time, ui_event_Time, LV_EVENT_ALL, NULL);
|
||||
lv_obj_add_event_cb(ui_Time5, ui_event_Time5, LV_EVENT_ALL, NULL);
|
||||
lv_obj_add_event_cb(ui_StepPannel, ui_event_StepPannel, LV_EVENT_ALL, NULL);
|
||||
|
||||
}
|
||||
|
||||
@ -13,25 +13,39 @@ void ui_Home_screen_init(void);
|
||||
lv_obj_t * ui_Home;
|
||||
lv_obj_t * ui_header;
|
||||
lv_obj_t * ui_WIFILabel;
|
||||
lv_obj_t * ui_WIFISymbel;
|
||||
lv_obj_t * ui_HeaderTimeHome;
|
||||
lv_obj_t * ui_SliderHeaderBat;
|
||||
lv_obj_t * ui_PanelBathead;
|
||||
lv_obj_t * ui_LabelHeaderBatValue;
|
||||
lv_obj_t * ui_wifiState;
|
||||
lv_obj_t * ui_Body;
|
||||
lv_obj_t * ui_home1;
|
||||
void ui_event_Panel2(lv_event_t * e);
|
||||
lv_obj_t * ui_Panel2;
|
||||
lv_obj_t * ui_Label3;
|
||||
void ui_event_ToolIcon(lv_event_t * e);
|
||||
lv_obj_t * ui_ToolIcon;
|
||||
lv_obj_t * ui_Label2;
|
||||
lv_obj_t * ui_home2;
|
||||
void ui_event_Panel6(lv_event_t * e);
|
||||
lv_obj_t * ui_Panel6;
|
||||
lv_obj_t * ui_Label3;
|
||||
void ui_event_Panel7(lv_event_t * e);
|
||||
lv_obj_t * ui_Panel7;
|
||||
lv_obj_t * ui_Label9;
|
||||
lv_obj_t * ui_Panel3;
|
||||
lv_obj_t * ui_Spinbox1;
|
||||
lv_obj_t * ui_ButtonMinus;
|
||||
lv_obj_t * ui_ButtonMinus1;
|
||||
lv_obj_t * ui_Label1;
|
||||
lv_obj_t * ui_Panel1;
|
||||
lv_obj_t * ui_Label4;
|
||||
lv_obj_t * ui_Image2;
|
||||
lv_obj_t * ui_Label5;
|
||||
lv_obj_t * ui_Panel4;
|
||||
lv_obj_t * ui_Label6;
|
||||
lv_obj_t * ui_Spinbox2;
|
||||
lv_obj_t * ui_Panel1;
|
||||
lv_obj_t * ui_Label7;
|
||||
lv_obj_t * ui_Spinbox3;
|
||||
lv_obj_t * ui_Panel5;
|
||||
lv_obj_t * ui_Label8;
|
||||
lv_obj_t * ui_Spinbox4;
|
||||
lv_obj_t * ui_Button1;
|
||||
lv_obj_t * ui_Label4;
|
||||
// CUSTOM VARIABLES
|
||||
|
||||
// SCREEN: ui_settings
|
||||
@ -44,14 +58,23 @@ lv_obj_t * ui_HomeImg;
|
||||
lv_obj_t * ui_Label11;
|
||||
void ui_event_StepPannel(lv_event_t * e);
|
||||
lv_obj_t * ui_StepPannel;
|
||||
void ui_event_Bat(lv_event_t * e);
|
||||
lv_obj_t * ui_Bat;
|
||||
lv_obj_t * ui_Switch2;
|
||||
lv_obj_t * ui_dianchi;
|
||||
lv_obj_t * ui_dayu;
|
||||
void ui_event_Time(lv_event_t * e);
|
||||
lv_obj_t * ui_Time;
|
||||
lv_obj_t * ui_Switch1;
|
||||
lv_obj_t * ui_dianchi1;
|
||||
lv_obj_t * ui_dayu1;
|
||||
lv_obj_t * ui_Time2;
|
||||
lv_obj_t * ui_dianchi3;
|
||||
lv_obj_t * ui_Slider1;
|
||||
lv_obj_t * ui_Time3;
|
||||
lv_obj_t * ui_Dropdown2;
|
||||
lv_obj_t * ui_dianchi4;
|
||||
void ui_event_Time5(lv_event_t * e);
|
||||
lv_obj_t * ui_Time5;
|
||||
lv_obj_t * ui_dianchi6;
|
||||
lv_obj_t * ui_Button3;
|
||||
lv_obj_t * ui_Label10;
|
||||
// CUSTOM VARIABLES
|
||||
|
||||
// SCREEN: ui_Batinfo
|
||||
@ -76,6 +99,17 @@ lv_obj_t * ui_valueVoltage;
|
||||
lv_obj_t * ui_valueVolume;
|
||||
// CUSTOM VARIABLES
|
||||
|
||||
// SCREEN: ui_DeviceInfo
|
||||
void ui_DeviceInfo_screen_init(void);
|
||||
lv_obj_t * ui_DeviceInfo;
|
||||
void ui_event_settingHeader3(lv_event_t * e);
|
||||
lv_obj_t * ui_settingHeader3;
|
||||
void ui_event_HomeImg3(lv_event_t * e);
|
||||
lv_obj_t * ui_HomeImg3;
|
||||
lv_obj_t * ui_Label17;
|
||||
lv_obj_t * ui_TextArea1;
|
||||
// CUSTOM VARIABLES
|
||||
|
||||
// EVENTS
|
||||
lv_obj_t * ui____initial_actions0;
|
||||
|
||||
@ -101,7 +135,7 @@ void ui_event_Panel2(lv_event_t * e)
|
||||
}
|
||||
}
|
||||
|
||||
void ui_event_ToolIcon(lv_event_t * e)
|
||||
void ui_event_Panel6(lv_event_t * e)
|
||||
{
|
||||
lv_event_code_t event_code = lv_event_get_code(e);
|
||||
|
||||
@ -110,6 +144,15 @@ void ui_event_ToolIcon(lv_event_t * e)
|
||||
}
|
||||
}
|
||||
|
||||
void ui_event_Panel7(lv_event_t * e)
|
||||
{
|
||||
lv_event_code_t event_code = lv_event_get_code(e);
|
||||
|
||||
if(event_code == LV_EVENT_CLICKED) {
|
||||
_ui_screen_change(&ui_DeviceInfo, LV_SCR_LOAD_ANIM_MOVE_LEFT, 500, 0, &ui_DeviceInfo_screen_init);
|
||||
}
|
||||
}
|
||||
|
||||
void ui_event_settingHeader(lv_event_t * e)
|
||||
{
|
||||
lv_event_code_t event_code = lv_event_get_code(e);
|
||||
@ -138,16 +181,7 @@ void ui_event_StepPannel(lv_event_t * e)
|
||||
}
|
||||
}
|
||||
|
||||
void ui_event_Bat(lv_event_t * e)
|
||||
{
|
||||
lv_event_code_t event_code = lv_event_get_code(e);
|
||||
|
||||
if(event_code == LV_EVENT_CLICKED) {
|
||||
_ui_screen_change(&ui_Batinfo, LV_SCR_LOAD_ANIM_OVER_LEFT, 500, 0, &ui_Batinfo_screen_init);
|
||||
}
|
||||
}
|
||||
|
||||
void ui_event_Time(lv_event_t * e)
|
||||
void ui_event_Time5(lv_event_t * e)
|
||||
{
|
||||
lv_event_code_t event_code = lv_event_get_code(e);
|
||||
|
||||
@ -175,6 +209,24 @@ void ui_event_Panel8(lv_event_t * e)
|
||||
}
|
||||
}
|
||||
|
||||
void ui_event_settingHeader3(lv_event_t * e)
|
||||
{
|
||||
lv_event_code_t event_code = lv_event_get_code(e);
|
||||
|
||||
if(event_code == LV_EVENT_CLICKED) {
|
||||
_ui_screen_change(&ui_Home, LV_SCR_LOAD_ANIM_MOVE_RIGHT, 500, 0, &ui_Home_screen_init);
|
||||
}
|
||||
}
|
||||
|
||||
void ui_event_HomeImg3(lv_event_t * e)
|
||||
{
|
||||
lv_event_code_t event_code = lv_event_get_code(e);
|
||||
|
||||
if(event_code == LV_EVENT_CLICKED) {
|
||||
_ui_screen_change(&ui_Home, LV_SCR_LOAD_ANIM_OVER_RIGHT, 500, 0, &ui_Home_screen_init);
|
||||
}
|
||||
}
|
||||
|
||||
///////////////////// SCREENS ////////////////////
|
||||
|
||||
void ui_init(void)
|
||||
@ -186,6 +238,7 @@ void ui_init(void)
|
||||
ui_Home_screen_init();
|
||||
ui_settings_screen_init();
|
||||
ui_Batinfo_screen_init();
|
||||
ui_DeviceInfo_screen_init();
|
||||
ui____initial_actions0 = lv_obj_create(NULL);
|
||||
lv_disp_load_scr(ui_Home);
|
||||
}
|
||||
|
||||
@ -21,25 +21,39 @@ void ui_Home_screen_init(void);
|
||||
extern lv_obj_t * ui_Home;
|
||||
extern lv_obj_t * ui_header;
|
||||
extern lv_obj_t * ui_WIFILabel;
|
||||
extern lv_obj_t * ui_WIFISymbel;
|
||||
extern lv_obj_t * ui_HeaderTimeHome;
|
||||
extern lv_obj_t * ui_SliderHeaderBat;
|
||||
extern lv_obj_t * ui_PanelBathead;
|
||||
extern lv_obj_t * ui_LabelHeaderBatValue;
|
||||
extern lv_obj_t * ui_wifiState;
|
||||
extern lv_obj_t * ui_Body;
|
||||
extern lv_obj_t * ui_home1;
|
||||
void ui_event_Panel2(lv_event_t * e);
|
||||
extern lv_obj_t * ui_Panel2;
|
||||
extern lv_obj_t * ui_Label3;
|
||||
void ui_event_ToolIcon(lv_event_t * e);
|
||||
extern lv_obj_t * ui_ToolIcon;
|
||||
extern lv_obj_t * ui_Label2;
|
||||
extern lv_obj_t * ui_home2;
|
||||
void ui_event_Panel6(lv_event_t * e);
|
||||
extern lv_obj_t * ui_Panel6;
|
||||
extern lv_obj_t * ui_Label3;
|
||||
void ui_event_Panel7(lv_event_t * e);
|
||||
extern lv_obj_t * ui_Panel7;
|
||||
extern lv_obj_t * ui_Label9;
|
||||
extern lv_obj_t * ui_Panel3;
|
||||
extern lv_obj_t * ui_Spinbox1;
|
||||
extern lv_obj_t * ui_ButtonMinus;
|
||||
extern lv_obj_t * ui_ButtonMinus1;
|
||||
extern lv_obj_t * ui_Label1;
|
||||
extern lv_obj_t * ui_Panel1;
|
||||
extern lv_obj_t * ui_Label4;
|
||||
extern lv_obj_t * ui_Image2;
|
||||
extern lv_obj_t * ui_Label5;
|
||||
extern lv_obj_t * ui_Panel4;
|
||||
extern lv_obj_t * ui_Label6;
|
||||
extern lv_obj_t * ui_Spinbox2;
|
||||
extern lv_obj_t * ui_Panel1;
|
||||
extern lv_obj_t * ui_Label7;
|
||||
extern lv_obj_t * ui_Spinbox3;
|
||||
extern lv_obj_t * ui_Panel5;
|
||||
extern lv_obj_t * ui_Label8;
|
||||
extern lv_obj_t * ui_Spinbox4;
|
||||
extern lv_obj_t * ui_Button1;
|
||||
extern lv_obj_t * ui_Label4;
|
||||
// CUSTOM VARIABLES
|
||||
|
||||
// SCREEN: ui_settings
|
||||
@ -52,14 +66,23 @@ extern lv_obj_t * ui_HomeImg;
|
||||
extern lv_obj_t * ui_Label11;
|
||||
void ui_event_StepPannel(lv_event_t * e);
|
||||
extern lv_obj_t * ui_StepPannel;
|
||||
void ui_event_Bat(lv_event_t * e);
|
||||
extern lv_obj_t * ui_Bat;
|
||||
extern lv_obj_t * ui_Switch2;
|
||||
extern lv_obj_t * ui_dianchi;
|
||||
extern lv_obj_t * ui_dayu;
|
||||
void ui_event_Time(lv_event_t * e);
|
||||
extern lv_obj_t * ui_Time;
|
||||
extern lv_obj_t * ui_Switch1;
|
||||
extern lv_obj_t * ui_dianchi1;
|
||||
extern lv_obj_t * ui_dayu1;
|
||||
extern lv_obj_t * ui_Time2;
|
||||
extern lv_obj_t * ui_dianchi3;
|
||||
extern lv_obj_t * ui_Slider1;
|
||||
extern lv_obj_t * ui_Time3;
|
||||
extern lv_obj_t * ui_Dropdown2;
|
||||
extern lv_obj_t * ui_dianchi4;
|
||||
void ui_event_Time5(lv_event_t * e);
|
||||
extern lv_obj_t * ui_Time5;
|
||||
extern lv_obj_t * ui_dianchi6;
|
||||
extern lv_obj_t * ui_Button3;
|
||||
extern lv_obj_t * ui_Label10;
|
||||
// CUSTOM VARIABLES
|
||||
|
||||
// SCREEN: ui_Batinfo
|
||||
@ -84,19 +107,32 @@ extern lv_obj_t * ui_valueVoltage;
|
||||
extern lv_obj_t * ui_valueVolume;
|
||||
// CUSTOM VARIABLES
|
||||
|
||||
// SCREEN: ui_DeviceInfo
|
||||
void ui_DeviceInfo_screen_init(void);
|
||||
extern lv_obj_t * ui_DeviceInfo;
|
||||
void ui_event_settingHeader3(lv_event_t * e);
|
||||
extern lv_obj_t * ui_settingHeader3;
|
||||
void ui_event_HomeImg3(lv_event_t * e);
|
||||
extern lv_obj_t * ui_HomeImg3;
|
||||
extern lv_obj_t * ui_Label17;
|
||||
extern lv_obj_t * ui_TextArea1;
|
||||
// CUSTOM VARIABLES
|
||||
|
||||
// EVENTS
|
||||
|
||||
extern lv_obj_t * ui____initial_actions0;
|
||||
|
||||
// IMAGES AND IMAGE SETS
|
||||
LV_IMG_DECLARE(ui_img_1623594766); // assets/iosDeskTop320-480.png
|
||||
LV_IMG_DECLARE(ui_img_345713082); // assets/Set60-60.png
|
||||
LV_IMG_DECLARE(ui_img_2109873719); // assets/PhotoAlberm60-60.png
|
||||
LV_IMG_DECLARE(ui_img_981464361); // assets/home40-40.png
|
||||
|
||||
// FONTS
|
||||
LV_FONT_DECLARE(ui_font_AlimamaAgileVF);
|
||||
LV_FONT_DECLARE(ui_font_AlimamaAgileVFFangyuan40);
|
||||
LV_FONT_DECLARE(ui_font_homePanelLabel);
|
||||
LV_FONT_DECLARE(ui_font_homePlusText);
|
||||
LV_FONT_DECLARE(ui_font_homeText);
|
||||
LV_FONT_DECLARE(ui_font_homeText_1);
|
||||
LV_FONT_DECLARE(ui_font_LenovoHTC);
|
||||
LV_FONT_DECLARE(ui_font_MiSansB40);
|
||||
LV_FONT_DECLARE(ui_font_MiSansM);
|
||||
|
||||
@ -36,7 +36,7 @@ dependencies:
|
||||
idf:
|
||||
source:
|
||||
type: idf
|
||||
version: 5.3.1
|
||||
version: 5.3.2
|
||||
lvgl/lvgl:
|
||||
component_hash: d7c1ac037ae6e85d94897f807d6e7ba0946a83e720074fc95a4f6241da9f9f53
|
||||
dependencies: []
|
||||
@ -47,7 +47,7 @@ dependencies:
|
||||
mb_example_common:
|
||||
dependencies: []
|
||||
source:
|
||||
path: C:\Espressif\frameworks\esp-idf-v5.3.1\examples\protocols\modbus\mb_example_common
|
||||
path: D:\espidfEnv\v5.3.2\esp-idf\examples\protocols\modbus\mb_example_common
|
||||
type: local
|
||||
version: '*'
|
||||
direct_dependencies:
|
||||
@ -55,6 +55,6 @@ direct_dependencies:
|
||||
- espressif/esp_lcd_touch_ft5x06
|
||||
- lvgl/lvgl
|
||||
- mb_example_common
|
||||
manifest_hash: 7bd740372f78c1d25e695e2a8ee35357efb49480f45dbadc74e6e9ffc63cb2ee
|
||||
manifest_hash: 2987343a2f5474c63dc3f8069d077763453f513a6ff712ebe7695f8ed27ea1f2
|
||||
target: esp32s3
|
||||
version: 2.0.0
|
||||
|
||||
@ -3,4 +3,4 @@ dependencies:
|
||||
esp_lcd_touch_ft5x06: ^1.0
|
||||
espressif/esp-modbus: ^1.0.13
|
||||
mb_example_common:
|
||||
path: ${IDF_PATH}/examples/protocols/modbus/mb_example_common
|
||||
path: D:\espidfEnv\v5.3.2\esp-idf/examples/protocols/modbus/mb_example_common
|
||||
|
||||
45
sdkconfig
45
sdkconfig
@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated file. DO NOT EDIT.
|
||||
# Espressif IoT Development Framework (ESP-IDF) 5.3.1 Project Configuration
|
||||
# Espressif IoT Development Framework (ESP-IDF) 5.3.2 Project Configuration
|
||||
#
|
||||
CONFIG_SOC_MPU_MIN_REGION_SIZE=0x20000000
|
||||
CONFIG_SOC_MPU_REGIONS_MAX_NUM=8
|
||||
@ -14,6 +14,8 @@ CONFIG_SOC_GDMA_SUPPORTED=y
|
||||
CONFIG_SOC_AHB_GDMA_SUPPORTED=y
|
||||
CONFIG_SOC_GPTIMER_SUPPORTED=y
|
||||
CONFIG_SOC_LCDCAM_SUPPORTED=y
|
||||
CONFIG_SOC_LCDCAM_I80_LCD_SUPPORTED=y
|
||||
CONFIG_SOC_LCDCAM_RGB_LCD_SUPPORTED=y
|
||||
CONFIG_SOC_MCPWM_SUPPORTED=y
|
||||
CONFIG_SOC_DEDICATED_GPIO_SUPPORTED=y
|
||||
CONFIG_SOC_CACHE_SUPPORT_WRAP=y
|
||||
@ -119,6 +121,7 @@ CONFIG_SOC_GPIO_OUT_RANGE_MAX=48
|
||||
CONFIG_SOC_GPIO_VALID_DIGITAL_IO_PAD_MASK=0x0001FFFFFC000000
|
||||
CONFIG_SOC_GPIO_CLOCKOUT_BY_IO_MUX=y
|
||||
CONFIG_SOC_GPIO_CLOCKOUT_CHANNEL_NUM=3
|
||||
CONFIG_SOC_GPIO_SUPPORT_HOLD_IO_IN_DSLP=y
|
||||
CONFIG_SOC_DEDIC_GPIO_OUT_CHANNELS_NUM=8
|
||||
CONFIG_SOC_DEDIC_GPIO_IN_CHANNELS_NUM=8
|
||||
CONFIG_SOC_DEDIC_GPIO_OUT_AUTO_ENABLE=y
|
||||
@ -189,6 +192,10 @@ CONFIG_SOC_LCD_RGB_PANELS=1
|
||||
CONFIG_SOC_LCD_I80_BUS_WIDTH=16
|
||||
CONFIG_SOC_LCD_RGB_DATA_WIDTH=16
|
||||
CONFIG_SOC_LCD_SUPPORT_RGB_YUV_CONV=y
|
||||
CONFIG_SOC_LCDCAM_I80_NUM_BUSES=1
|
||||
CONFIG_SOC_LCDCAM_I80_BUS_WIDTH=16
|
||||
CONFIG_SOC_LCDCAM_RGB_NUM_PANELS=1
|
||||
CONFIG_SOC_LCDCAM_RGB_DATA_WIDTH=16
|
||||
CONFIG_SOC_RTC_CNTL_CPU_PD_DMA_BUS_WIDTH=128
|
||||
CONFIG_SOC_RTC_CNTL_CPU_PD_REG_FILE_NUM=549
|
||||
CONFIG_SOC_RTC_CNTL_TAGMEM_PD_DMA_BUS_WIDTH=128
|
||||
@ -331,6 +338,7 @@ CONFIG_SOC_SPI_MEM_SUPPORT_CONFIG_GPIO_BY_EFUSE=y
|
||||
CONFIG_SOC_SPI_MEM_SUPPORT_WRAP=y
|
||||
CONFIG_SOC_MEMSPI_TIMING_TUNING_BY_MSPI_DELAY=y
|
||||
CONFIG_SOC_MEMSPI_CORE_CLK_SHARED_WITH_PSRAM=y
|
||||
CONFIG_SOC_SPI_MEM_SUPPORT_CACHE_32BIT_ADDR_MAP=y
|
||||
CONFIG_SOC_COEX_HW_PTI=y
|
||||
CONFIG_SOC_EXTERNAL_COEX_LEADER_TX_LINE=y
|
||||
CONFIG_SOC_SDMMC_USE_GPIO_MATRIX=y
|
||||
@ -702,6 +710,7 @@ CONFIG_ESP_TLS_USE_DS_PERIPHERAL=y
|
||||
#
|
||||
CONFIG_ESP_COEX_ENABLED=y
|
||||
# CONFIG_ESP_COEX_EXTERNAL_COEXIST_ENABLE is not set
|
||||
# CONFIG_ESP_COEX_GPIO_DEBUG is not set
|
||||
# end of Wireless Coexistence
|
||||
|
||||
#
|
||||
@ -892,6 +901,12 @@ CONFIG_ESP_REV_MIN_FULL=0
|
||||
#
|
||||
CONFIG_ESP32S3_REV_MAX_FULL=99
|
||||
CONFIG_ESP_REV_MAX_FULL=99
|
||||
CONFIG_ESP_EFUSE_BLOCK_REV_MIN_FULL=0
|
||||
CONFIG_ESP_EFUSE_BLOCK_REV_MAX_FULL=199
|
||||
|
||||
#
|
||||
# Maximum Supported ESP32-S3 eFuse Block Revision (eFuse Block Rev v1.99)
|
||||
#
|
||||
# end of Chip revision
|
||||
|
||||
#
|
||||
@ -968,7 +983,6 @@ CONFIG_ESP_SPI_BUS_LOCK_ISR_FUNCS_IN_IRAM=y
|
||||
#
|
||||
# LCD Peripheral Configuration
|
||||
#
|
||||
CONFIG_LCD_PANEL_IO_FORMAT_BUF_SIZE=32
|
||||
# CONFIG_LCD_ENABLE_DEBUG_LOG is not set
|
||||
# CONFIG_LCD_RGB_ISR_IRAM_SAFE is not set
|
||||
# CONFIG_LCD_RGB_RESTART_IN_VSYNC is not set
|
||||
@ -985,6 +999,7 @@ CONFIG_ESP_NETIF_USES_TCPIP_WITH_BSD_API=y
|
||||
# CONFIG_ESP_NETIF_RECEIVE_REPORT_ERRORS is not set
|
||||
# CONFIG_ESP_NETIF_L2_TAP is not set
|
||||
# CONFIG_ESP_NETIF_BRIDGE_EN is not set
|
||||
# CONFIG_ESP_NETIF_SET_DNS_PER_DEFAULT_NETIF is not set
|
||||
# end of ESP NETIF Adapter
|
||||
|
||||
#
|
||||
@ -1014,6 +1029,7 @@ CONFIG_ESP_PHY_CALIBRATION_MODE=0
|
||||
# Power Management
|
||||
#
|
||||
# CONFIG_PM_ENABLE is not set
|
||||
# CONFIG_PM_SLP_IRAM_OPT is not set
|
||||
CONFIG_PM_POWER_DOWN_CPU_IN_LIGHT_SLEEP=y
|
||||
CONFIG_PM_RESTORE_CACHE_TAGMEM_AFTER_LIGHT_SLEEP=y
|
||||
# end of Power Management
|
||||
@ -1051,6 +1067,7 @@ CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=16384
|
||||
# CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP is not set
|
||||
CONFIG_SPIRAM_MALLOC_RESERVE_INTERNAL=32768
|
||||
# CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY is not set
|
||||
# CONFIG_SPIRAM_ALLOW_NOINIT_SEG_EXTERNAL_MEMORY is not set
|
||||
# end of SPI RAM config
|
||||
# end of ESP PSRAM
|
||||
|
||||
@ -1391,6 +1408,7 @@ CONFIG_HAL_DEFAULT_ASSERTION_LEVEL=2
|
||||
CONFIG_HAL_WDT_USE_ROM_IMPL=y
|
||||
CONFIG_HAL_SPI_MASTER_FUNC_IN_IRAM=y
|
||||
CONFIG_HAL_SPI_SLAVE_FUNC_IN_IRAM=y
|
||||
# CONFIG_HAL_ECDSA_GEN_SIG_CM is not set
|
||||
# end of Hardware Abstraction Layer (HAL) and Low Level (LL)
|
||||
|
||||
#
|
||||
@ -1537,6 +1555,9 @@ CONFIG_LWIP_TCPIP_TASK_AFFINITY_NO_AFFINITY=y
|
||||
# CONFIG_LWIP_TCPIP_TASK_AFFINITY_CPU0 is not set
|
||||
# CONFIG_LWIP_TCPIP_TASK_AFFINITY_CPU1 is not set
|
||||
CONFIG_LWIP_TCPIP_TASK_AFFINITY=0x7FFFFFFF
|
||||
CONFIG_LWIP_IPV6_ND6_NUM_PREFIXES=5
|
||||
CONFIG_LWIP_IPV6_ND6_NUM_ROUTERS=3
|
||||
CONFIG_LWIP_IPV6_ND6_NUM_DESTINATIONS=10
|
||||
# CONFIG_LWIP_PPP_SUPPORT is not set
|
||||
CONFIG_LWIP_IPV6_MEMP_NUM_ND6_QUEUE=3
|
||||
CONFIG_LWIP_IPV6_ND6_NUM_NEIGHBORS=5
|
||||
@ -1569,8 +1590,10 @@ CONFIG_LWIP_SNTP_MAXIMUM_STARTUP_DELAY=5000
|
||||
#
|
||||
# DNS
|
||||
#
|
||||
CONFIG_LWIP_DNS_MAX_HOST_IP=1
|
||||
CONFIG_LWIP_DNS_MAX_SERVERS=3
|
||||
# CONFIG_LWIP_FALLBACK_DNS_SERVER_SUPPORT is not set
|
||||
# CONFIG_LWIP_DNS_SETSERVER_WITH_NETIF is not set
|
||||
# end of DNS
|
||||
|
||||
CONFIG_LWIP_BRIDGEIF_MAX_PORTS=7
|
||||
@ -1594,6 +1617,8 @@ CONFIG_LWIP_HOOK_IP6_SELECT_SRC_ADDR_NONE=y
|
||||
CONFIG_LWIP_HOOK_NETCONN_EXT_RESOLVE_NONE=y
|
||||
# CONFIG_LWIP_HOOK_NETCONN_EXT_RESOLVE_DEFAULT is not set
|
||||
# CONFIG_LWIP_HOOK_NETCONN_EXT_RESOLVE_CUSTOM is not set
|
||||
CONFIG_LWIP_HOOK_DNS_EXT_RESOLVE_NONE=y
|
||||
# CONFIG_LWIP_HOOK_DNS_EXT_RESOLVE_CUSTOM is not set
|
||||
# CONFIG_LWIP_HOOK_IP6_INPUT_NONE is not set
|
||||
CONFIG_LWIP_HOOK_IP6_INPUT_DEFAULT=y
|
||||
# CONFIG_LWIP_HOOK_IP6_INPUT_CUSTOM is not set
|
||||
@ -1657,6 +1682,7 @@ CONFIG_MBEDTLS_HAVE_TIME=y
|
||||
# CONFIG_MBEDTLS_HAVE_TIME_DATE is not set
|
||||
CONFIG_MBEDTLS_ECDSA_DETERMINISTIC=y
|
||||
CONFIG_MBEDTLS_SHA512_C=y
|
||||
# CONFIG_MBEDTLS_SHA3_C is not set
|
||||
CONFIG_MBEDTLS_TLS_SERVER_AND_CLIENT=y
|
||||
# CONFIG_MBEDTLS_TLS_SERVER_ONLY is not set
|
||||
# CONFIG_MBEDTLS_TLS_CLIENT_ONLY is not set
|
||||
@ -1733,6 +1759,7 @@ CONFIG_MBEDTLS_ECP_NIST_OPTIM=y
|
||||
# CONFIG_MBEDTLS_HKDF_C is not set
|
||||
# CONFIG_MBEDTLS_THREADING_C is not set
|
||||
CONFIG_MBEDTLS_ERROR_STRINGS=y
|
||||
CONFIG_MBEDTLS_FS_IO=y
|
||||
# end of mbedTLS
|
||||
|
||||
#
|
||||
@ -1860,6 +1887,7 @@ CONFIG_SPI_FLASH_HPM_DC_AUTO=y
|
||||
CONFIG_SPI_FLASH_SUSPEND_QVL_SUPPORTED=y
|
||||
# CONFIG_SPI_FLASH_AUTO_SUSPEND is not set
|
||||
CONFIG_SPI_FLASH_SUSPEND_TSUS_VAL_US=50
|
||||
# CONFIG_SPI_FLASH_FORCE_ENABLE_XMC_C_SUSPEND is not set
|
||||
# end of Optional and Experimental Features (READ DOCS FIRST)
|
||||
# end of Main Flash configuration
|
||||
|
||||
@ -1985,16 +2013,22 @@ CONFIG_USB_HOST_HW_BUFFER_BIAS_BALANCED=y
|
||||
# CONFIG_USB_HOST_HW_BUFFER_BIAS_PERIODIC_OUT is not set
|
||||
|
||||
#
|
||||
# Root Hub configuration
|
||||
# Hub Driver Configuration
|
||||
#
|
||||
|
||||
#
|
||||
# Root Port configuration
|
||||
#
|
||||
CONFIG_USB_HOST_DEBOUNCE_DELAY_MS=250
|
||||
CONFIG_USB_HOST_RESET_HOLD_MS=30
|
||||
CONFIG_USB_HOST_RESET_RECOVERY_MS=30
|
||||
CONFIG_USB_HOST_SET_ADDR_RECOVERY_MS=10
|
||||
# end of Root Hub configuration
|
||||
# end of Root Port configuration
|
||||
|
||||
# CONFIG_USB_HOST_HUBS_SUPPORTED is not set
|
||||
# end of Hub Driver Configuration
|
||||
|
||||
# CONFIG_USB_HOST_ENABLE_ENUM_FILTER_CALLBACK is not set
|
||||
# CONFIG_USB_HOST_EXT_HUB_SUPPORT is not set
|
||||
CONFIG_USB_OTG_SUPPORTED=y
|
||||
# end of USB-OTG
|
||||
|
||||
@ -2029,7 +2063,6 @@ CONFIG_WL_SECTOR_SIZE=4096
|
||||
#
|
||||
CONFIG_WIFI_PROV_SCAN_MAX_ENTRIES=16
|
||||
CONFIG_WIFI_PROV_AUTOSTOP_TIMEOUT=30
|
||||
# CONFIG_WIFI_PROV_BLE_FORCE_ENCRYPTION is not set
|
||||
CONFIG_WIFI_PROV_STA_ALL_CHANNEL_SCAN=y
|
||||
# CONFIG_WIFI_PROV_STA_FAST_SCAN is not set
|
||||
# end of Wi-Fi Provisioning Manager
|
||||
|
||||
Loading…
Reference in New Issue
Block a user