Browse Source

LVGL

master
sc 7 hours ago
parent
commit
b190bf7727
  1. 2
      .settings/language.settings.xml
  2. 2
      applications/lvgl/guider/custom/custom.c
  3. 20
      applications/lvgl/guider/generated/gui_guider.h
  4. 346
      applications/lvgl/guider/generated/guider_fonts/lv_font_simsun_21.c
  5. 163
      applications/lvgl/guider/generated/setup_scr_screen.c

2
.settings/language.settings.xml

@ -5,7 +5,7 @@
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="1336382746191491235" id="ilg.gnuarmeclipse.managedbuild.cross.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT ARM Cross GCC Built-in Compiler Settings " parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-1141698828038963161" id="ilg.gnuarmeclipse.managedbuild.cross.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT ARM Cross GCC Built-in Compiler Settings " parameter="${COMMAND} ${FLAGS} ${cross_toolchain_flags} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/>
</provider>

2
applications/lvgl/guider/custom/custom.c

@ -37,6 +37,8 @@
void custom_init(lv_ui *ui)
{
lv_obj_clear_flag(lv_tabview_get_content(ui->screen_tabview), LV_OBJ_FLAG_SCROLLABLE);//禁止左右滑动
lv_obj_clear_flag(lv_tabview_get_content(ui->screen_w_io), LV_OBJ_FLAG_SCROLLABLE);//禁止左右滑动
/* Add your codes here */
}

20
applications/lvgl/guider/generated/gui_guider.h

@ -49,22 +49,8 @@ typedef struct
lv_obj_t *screen_w_text;
lv_obj_t *screen_list_inf;
lv_obj_t *screen_list_inf_item0;
lv_obj_t *screen_p_p;
lv_obj_t *screen_p_p_item0;
lv_obj_t *screen_p_p_item1;
lv_obj_t *screen_p_p_item2;
lv_obj_t *screen_p_p_item3;
lv_obj_t *screen_p_p_item4;
lv_obj_t *screen_p_p_item5;
lv_obj_t *screen_p_p_item6;
lv_obj_t *screen_p_p_item7;
lv_obj_t *screen_p_p_item8;
lv_obj_t *screen_p_p_item9;
lv_obj_t *screen_p_p_item10;
lv_obj_t *screen_p_p_item11;
lv_obj_t *screen_p_p_item12;
lv_obj_t *screen_p_p_item13;
lv_obj_t *screen_p_p_item14;
lv_obj_t *screen_cont_p;
lv_obj_t *screen_table_1;
lv_obj_t *screen_chart_temp;
lv_chart_series_t *screen_chart_temp_0;
lv_obj_t *screen_step_id;
@ -403,8 +389,6 @@ LV_FONT_DECLARE(lv_font_montserratMedium_12)
LV_FONT_DECLARE(lv_font_simsun_16)
LV_FONT_DECLARE(lv_font_montserratMedium_15)
LV_FONT_DECLARE(lv_font_Alatsi_Regular_20)
LV_FONT_DECLARE(lv_font_simsun_21)
LV_FONT_DECLARE(lv_font_Acme_Regular_16)
LV_FONT_DECLARE(lv_font_Alatsi_Regular_18)
LV_FONT_DECLARE(lv_font_simsun_14)
LV_FONT_DECLARE(lv_font_simsun_32)

346
applications/lvgl/guider/generated/guider_fonts/lv_font_simsun_21.c

@ -972,6 +972,204 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
0x0, 0x5, 0x5, 0x0, 0xc, 0x90, 0x35, 0x0,
0x0, 0x0, 0x9c, 0x70,
/* U+5165 "入" */
0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x0, 0x0,
0x0, 0x0, 0x0, 0x0, 0x0, 0xa, 0xfa, 0x10,
0x0, 0x0, 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0, 0x6d, 0xf0, 0x2, 0xe0, 0xe, 0x10, 0x3c,
0x0, 0xf0, 0x0, 0x0, 0x4e, 0x0, 0x2e, 0x0,
0xe1, 0x3, 0xc0, 0xf, 0x0, 0x0, 0x5, 0xd0,
0x2, 0xe0, 0xe, 0x10, 0x3c, 0x0, 0xf0, 0x0,
0x0, 0x9d, 0x0, 0x2e, 0x0, 0xe1, 0x3, 0xc0,
0xf, 0x1, 0x0, 0x8, 0xe3, 0x67, 0xf6, 0x6f,
0x76, 0x8d, 0x67, 0xf9, 0xe2, 0x0, 0x1, 0x2,
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
/* U+F001 "" */
0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
0x0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0,
@ -2645,66 +2843,73 @@ static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
{.bitmap_index = 5610, .adv_w = 168, .box_w = 2, .box_h = 22, .ofs_x = 4, .ofs_y = -3},
{.bitmap_index = 5632, .adv_w = 168, .box_w = 6, .box_h = 20, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 5692, .adv_w = 168, .box_w = 10, .box_h = 4, .ofs_x = 0, .ofs_y = 14},
{.bitmap_index = 5712, .adv_w = 336, .box_w = 22, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 5954, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 6122, .adv_w = 336, .box_w = 21, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 6332, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 6500, .adv_w = 231, .box_w = 15, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 6620, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 6851, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 7082, .adv_w = 378, .box_w = 24, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 7322, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 7553, .adv_w = 378, .box_w = 24, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 7745, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 7976, .adv_w = 168, .box_w = 11, .box_h = 17, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 8070, .adv_w = 252, .box_w = 16, .box_h = 17, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 8206, .adv_w = 378, .box_w = 24, .box_h = 21, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 8458, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 8626, .adv_w = 231, .box_w = 15, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 8791, .adv_w = 294, .box_w = 14, .box_h = 20, .ofs_x = 2, .ofs_y = -2},
{.bitmap_index = 8931, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 9140, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 9330, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 9520, .adv_w = 294, .box_w = 14, .box_h = 20, .ofs_x = 2, .ofs_y = -2},
{.bitmap_index = 9660, .adv_w = 294, .box_w = 20, .box_h = 20, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 9860, .adv_w = 210, .box_w = 12, .box_h = 19, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 9974, .adv_w = 210, .box_w = 12, .box_h = 19, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 10088, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 10278, .adv_w = 294, .box_w = 19, .box_h = 5, .ofs_x = 0, .ofs_y = 5},
{.bitmap_index = 10326, .adv_w = 378, .box_w = 24, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 10518, .adv_w = 420, .box_w = 27, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 10815, .adv_w = 378, .box_w = 25, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 11090, .adv_w = 336, .box_w = 21, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 11300, .adv_w = 294, .box_w = 19, .box_h = 12, .ofs_x = 0, .ofs_y = 2},
{.bitmap_index = 11414, .adv_w = 294, .box_w = 19, .box_h = 12, .ofs_x = 0, .ofs_y = 2},
{.bitmap_index = 11528, .adv_w = 420, .box_w = 27, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 11744, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 11912, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 12143, .adv_w = 336, .box_w = 22, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 12385, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 12575, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 12784, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 12974, .adv_w = 294, .box_w = 19, .box_h = 17, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 13136, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 13304, .adv_w = 210, .box_w = 15, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 13469, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 13678, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 13887, .adv_w = 378, .box_w = 24, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 14079, .adv_w = 336, .box_w = 23, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 14332, .adv_w = 252, .box_w = 16, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 14508, .adv_w = 420, .box_w = 27, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 14778, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 14967, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 15156, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 15345, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 15534, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 15723, .adv_w = 420, .box_w = 27, .box_h = 17, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 15953, .adv_w = 294, .box_w = 17, .box_h = 22, .ofs_x = 1, .ofs_y = -3},
{.bitmap_index = 16140, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 16349, .adv_w = 336, .box_w = 22, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 16591, .adv_w = 420, .box_w = 27, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 16807, .adv_w = 252, .box_w = 16, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 16983, .adv_w = 338, .box_w = 22, .box_h = 14, .ofs_x = 0, .ofs_y = 1}
{.bitmap_index = 5712, .adv_w = 336, .box_w = 21, .box_h = 19, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 5912, .adv_w = 336, .box_w = 20, .box_h = 21, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 6122, .adv_w = 336, .box_w = 20, .box_h = 21, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 6332, .adv_w = 336, .box_w = 20, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 6532, .adv_w = 336, .box_w = 21, .box_h = 21, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 6753, .adv_w = 336, .box_w = 21, .box_h = 20, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 6963, .adv_w = 336, .box_w = 21, .box_h = 19, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 7163, .adv_w = 336, .box_w = 22, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 7405, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 7573, .adv_w = 336, .box_w = 21, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 7783, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 7951, .adv_w = 231, .box_w = 15, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 8071, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 8302, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 8533, .adv_w = 378, .box_w = 24, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 8773, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 9004, .adv_w = 378, .box_w = 24, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 9196, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 9427, .adv_w = 168, .box_w = 11, .box_h = 17, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 9521, .adv_w = 252, .box_w = 16, .box_h = 17, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 9657, .adv_w = 378, .box_w = 24, .box_h = 21, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 9909, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 10077, .adv_w = 231, .box_w = 15, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 10242, .adv_w = 294, .box_w = 14, .box_h = 20, .ofs_x = 2, .ofs_y = -2},
{.bitmap_index = 10382, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 10591, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 10781, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 10971, .adv_w = 294, .box_w = 14, .box_h = 20, .ofs_x = 2, .ofs_y = -2},
{.bitmap_index = 11111, .adv_w = 294, .box_w = 20, .box_h = 20, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 11311, .adv_w = 210, .box_w = 12, .box_h = 19, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 11425, .adv_w = 210, .box_w = 12, .box_h = 19, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 11539, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 11729, .adv_w = 294, .box_w = 19, .box_h = 5, .ofs_x = 0, .ofs_y = 5},
{.bitmap_index = 11777, .adv_w = 378, .box_w = 24, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 11969, .adv_w = 420, .box_w = 27, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 12266, .adv_w = 378, .box_w = 25, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 12541, .adv_w = 336, .box_w = 21, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 12751, .adv_w = 294, .box_w = 19, .box_h = 12, .ofs_x = 0, .ofs_y = 2},
{.bitmap_index = 12865, .adv_w = 294, .box_w = 19, .box_h = 12, .ofs_x = 0, .ofs_y = 2},
{.bitmap_index = 12979, .adv_w = 420, .box_w = 27, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 13195, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 13363, .adv_w = 336, .box_w = 21, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 13594, .adv_w = 336, .box_w = 22, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 13836, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 14026, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 14235, .adv_w = 294, .box_w = 19, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 14425, .adv_w = 294, .box_w = 19, .box_h = 17, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 14587, .adv_w = 336, .box_w = 21, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 14755, .adv_w = 210, .box_w = 15, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 14920, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 15129, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 15338, .adv_w = 378, .box_w = 24, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 15530, .adv_w = 336, .box_w = 23, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 15783, .adv_w = 252, .box_w = 16, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 15959, .adv_w = 420, .box_w = 27, .box_h = 20, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 16229, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 16418, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 16607, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 16796, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 16985, .adv_w = 420, .box_w = 27, .box_h = 14, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 17174, .adv_w = 420, .box_w = 27, .box_h = 17, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 17404, .adv_w = 294, .box_w = 17, .box_h = 22, .ofs_x = 1, .ofs_y = -3},
{.bitmap_index = 17591, .adv_w = 294, .box_w = 19, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 17800, .adv_w = 336, .box_w = 22, .box_h = 22, .ofs_x = -1, .ofs_y = -3},
{.bitmap_index = 18042, .adv_w = 420, .box_w = 27, .box_h = 16, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 18258, .adv_w = 252, .box_w = 16, .box_h = 22, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 18434, .adv_w = 338, .box_w = 22, .box_h = 14, .ofs_x = 0, .ofs_y = 1}
};
/*---------------------
@ -2712,14 +2917,15 @@ static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
*--------------------*/
static const uint16_t unicode_list_1[] = {
0x0, 0x7, 0xa, 0xb, 0xc, 0x10, 0x12, 0x14,
0x18, 0x1b, 0x20, 0x25, 0x26, 0x27, 0x3d, 0x42,
0x47, 0x4a, 0x4b, 0x4c, 0x50, 0x51, 0x52, 0x53,
0x66, 0x67, 0x6d, 0x6f, 0x70, 0x73, 0x76, 0x77,
0x78, 0x7a, 0x92, 0x94, 0xc3, 0xc4, 0xc6, 0xc8,
0xdf, 0xe6, 0xe9, 0xf2, 0x11b, 0x123, 0x15a, 0x1ea,
0x23f, 0x240, 0x241, 0x242, 0x243, 0x286, 0x292, 0x2ec,
0x303, 0x559, 0x7c1, 0x8a1
0x0, 0xd1, 0xd41, 0x122d, 0x1242, 0x1acf, 0x1cc4, 0x9e9c,
0x9ea3, 0x9ea6, 0x9ea7, 0x9ea8, 0x9eac, 0x9eae, 0x9eb0, 0x9eb4,
0x9eb7, 0x9ebc, 0x9ec1, 0x9ec2, 0x9ec3, 0x9ed9, 0x9ede, 0x9ee3,
0x9ee6, 0x9ee7, 0x9ee8, 0x9eec, 0x9eed, 0x9eee, 0x9eef, 0x9f02,
0x9f03, 0x9f09, 0x9f0b, 0x9f0c, 0x9f0f, 0x9f12, 0x9f13, 0x9f14,
0x9f16, 0x9f2e, 0x9f30, 0x9f5f, 0x9f60, 0x9f62, 0x9f64, 0x9f7b,
0x9f82, 0x9f85, 0x9f8e, 0x9fb7, 0x9fbf, 0x9ff6, 0xa086, 0xa0db,
0xa0dc, 0xa0dd, 0xa0de, 0xa0df, 0xa122, 0xa12e, 0xa188, 0xa19f,
0xa3f5, 0xa65d, 0xa73d
};
/*Collect the unicode lists and glyph_id offsets*/
@ -2730,8 +2936,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 = 61441, .range_length = 2210, .glyph_id_start = 96,
.unicode_list = unicode_list_1, .glyph_id_ofs_list = NULL, .list_length = 60, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY
.range_start = 20837, .range_length = 42814, .glyph_id_start = 96,
.unicode_list = unicode_list_1, .glyph_id_ofs_list = NULL, .list_length = 67, .type = LV_FONT_FMT_TXT_CMAP_SPARSE_TINY
}
};

163
applications/lvgl/guider/generated/setup_scr_screen.c

@ -21,7 +21,7 @@ void setup_scr_screen(lv_ui *ui)
//Write codes screen
ui->screen = lv_obj_create(NULL);
lv_obj_set_size(ui->screen, 1024, 600);
lv_obj_set_scrollbar_mode(ui->screen, LV_SCROLLBAR_MODE_OFF);
lv_obj_set_scrollbar_mode(ui->screen, LV_SCROLLBAR_MODE_AUTO);
//Write style for screen, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_bg_opa(ui->screen, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -545,105 +545,60 @@ void setup_scr_screen(lv_ui *ui)
lv_obj_t * screen_tabview_tab_2_label = lv_label_create(ui->screen_tabview_tab_2);
lv_label_set_text(screen_tabview_tab_2_label, "");
//Write codes screen_p_p
ui->screen_p_p = lv_list_create(ui->screen_tabview_tab_2);
ui->screen_p_p_item0 =lv_list_add_text(ui->screen_p_p, "save_1");
ui->screen_p_p_item1 =lv_list_add_text(ui->screen_p_p, "save_2");
ui->screen_p_p_item2 =lv_list_add_text(ui->screen_p_p, "save_3");
ui->screen_p_p_item3 =lv_list_add_text(ui->screen_p_p, "save_4");
ui->screen_p_p_item4 =lv_list_add_text(ui->screen_p_p, "save_5");
ui->screen_p_p_item5 =lv_list_add_text(ui->screen_p_p, "save_6");
ui->screen_p_p_item6 =lv_list_add_text(ui->screen_p_p, "save_7");
ui->screen_p_p_item7 =lv_list_add_text(ui->screen_p_p, "save_8");
ui->screen_p_p_item8 =lv_list_add_text(ui->screen_p_p, "save_9");
ui->screen_p_p_item9 =lv_list_add_text(ui->screen_p_p, "save_10");
ui->screen_p_p_item10 =lv_list_add_text(ui->screen_p_p, "save_11");
ui->screen_p_p_item11 =lv_list_add_text(ui->screen_p_p, "save_12");
ui->screen_p_p_item12 =lv_list_add_text(ui->screen_p_p, "save_13");
ui->screen_p_p_item13 =lv_list_add_text(ui->screen_p_p, "save_14");
ui->screen_p_p_item14 =lv_list_add_text(ui->screen_p_p, "save_15");
lv_obj_set_pos(ui->screen_p_p, 0, 65);
lv_obj_set_size(ui->screen_p_p, 450, 335);
lv_obj_set_scrollbar_mode(ui->screen_p_p, LV_SCROLLBAR_MODE_ACTIVE);
//Write style state: LV_STATE_DEFAULT for &style_screen_p_p_main_main_default
static lv_style_t style_screen_p_p_main_main_default;
ui_init_style(&style_screen_p_p_main_main_default);
lv_style_set_pad_top(&style_screen_p_p_main_main_default, 5);
lv_style_set_pad_left(&style_screen_p_p_main_main_default, 5);
lv_style_set_pad_right(&style_screen_p_p_main_main_default, 5);
lv_style_set_pad_bottom(&style_screen_p_p_main_main_default, 5);
lv_style_set_bg_opa(&style_screen_p_p_main_main_default, 255);
lv_style_set_bg_color(&style_screen_p_p_main_main_default, lv_color_hex(0xffffff));
lv_style_set_bg_grad_dir(&style_screen_p_p_main_main_default, LV_GRAD_DIR_NONE);
lv_style_set_border_width(&style_screen_p_p_main_main_default, 1);
lv_style_set_border_opa(&style_screen_p_p_main_main_default, 255);
lv_style_set_border_color(&style_screen_p_p_main_main_default, lv_color_hex(0xe1e6ee));
lv_style_set_border_side(&style_screen_p_p_main_main_default, LV_BORDER_SIDE_NONE);
lv_style_set_radius(&style_screen_p_p_main_main_default, 3);
lv_style_set_shadow_width(&style_screen_p_p_main_main_default, 0);
lv_obj_add_style(ui->screen_p_p, &style_screen_p_p_main_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write style state: LV_STATE_DEFAULT for &style_screen_p_p_main_scrollbar_default
static lv_style_t style_screen_p_p_main_scrollbar_default;
ui_init_style(&style_screen_p_p_main_scrollbar_default);
lv_style_set_radius(&style_screen_p_p_main_scrollbar_default, 3);
lv_style_set_bg_opa(&style_screen_p_p_main_scrollbar_default, 255);
lv_style_set_bg_color(&style_screen_p_p_main_scrollbar_default, lv_color_hex(0xffffff));
lv_style_set_bg_grad_dir(&style_screen_p_p_main_scrollbar_default, LV_GRAD_DIR_NONE);
lv_obj_add_style(ui->screen_p_p, &style_screen_p_p_main_scrollbar_default, LV_PART_SCROLLBAR|LV_STATE_DEFAULT);
//Write style state: LV_STATE_DEFAULT for &style_screen_p_p_extra_btns_main_default
static lv_style_t style_screen_p_p_extra_btns_main_default;
ui_init_style(&style_screen_p_p_extra_btns_main_default);
lv_style_set_pad_top(&style_screen_p_p_extra_btns_main_default, 5);
lv_style_set_pad_left(&style_screen_p_p_extra_btns_main_default, 5);
lv_style_set_pad_right(&style_screen_p_p_extra_btns_main_default, 5);
lv_style_set_pad_bottom(&style_screen_p_p_extra_btns_main_default, 5);
lv_style_set_border_width(&style_screen_p_p_extra_btns_main_default, 0);
lv_style_set_text_color(&style_screen_p_p_extra_btns_main_default, lv_color_hex(0x0D3055));
lv_style_set_text_font(&style_screen_p_p_extra_btns_main_default, &lv_font_montserratMedium_12);
lv_style_set_text_opa(&style_screen_p_p_extra_btns_main_default, 255);
lv_style_set_radius(&style_screen_p_p_extra_btns_main_default, 3);
lv_style_set_bg_opa(&style_screen_p_p_extra_btns_main_default, 255);
lv_style_set_bg_color(&style_screen_p_p_extra_btns_main_default, lv_color_hex(0xffffff));
lv_style_set_bg_grad_dir(&style_screen_p_p_extra_btns_main_default, LV_GRAD_DIR_NONE);
//Write style state: LV_STATE_DEFAULT for &style_screen_p_p_extra_texts_main_default
static lv_style_t style_screen_p_p_extra_texts_main_default;
ui_init_style(&style_screen_p_p_extra_texts_main_default);
lv_style_set_pad_top(&style_screen_p_p_extra_texts_main_default, 5);
lv_style_set_pad_left(&style_screen_p_p_extra_texts_main_default, 5);
lv_style_set_pad_right(&style_screen_p_p_extra_texts_main_default, 5);
lv_style_set_pad_bottom(&style_screen_p_p_extra_texts_main_default, 5);
lv_style_set_border_width(&style_screen_p_p_extra_texts_main_default, 0);
lv_style_set_text_color(&style_screen_p_p_extra_texts_main_default, lv_color_hex(0x0D3055));
lv_style_set_text_font(&style_screen_p_p_extra_texts_main_default, &lv_font_simsun_21);
lv_style_set_text_opa(&style_screen_p_p_extra_texts_main_default, 255);
lv_style_set_radius(&style_screen_p_p_extra_texts_main_default, 3);
lv_style_set_transform_width(&style_screen_p_p_extra_texts_main_default, 0);
lv_style_set_bg_opa(&style_screen_p_p_extra_texts_main_default, 255);
lv_style_set_bg_color(&style_screen_p_p_extra_texts_main_default, lv_color_hex(0xffffff));
lv_style_set_bg_grad_dir(&style_screen_p_p_extra_texts_main_default, LV_GRAD_DIR_NONE);
lv_obj_add_style(ui->screen_p_p_item14, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_add_style(ui->screen_p_p_item13, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_add_style(ui->screen_p_p_item12, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_add_style(ui->screen_p_p_item11, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_add_style(ui->screen_p_p_item10, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_add_style(ui->screen_p_p_item9, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_add_style(ui->screen_p_p_item8, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_add_style(ui->screen_p_p_item7, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_add_style(ui->screen_p_p_item6, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_add_style(ui->screen_p_p_item5, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_add_style(ui->screen_p_p_item4, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_add_style(ui->screen_p_p_item3, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_add_style(ui->screen_p_p_item2, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_add_style(ui->screen_p_p_item1, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_add_style(ui->screen_p_p_item0, &style_screen_p_p_extra_texts_main_default, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_cont_p
ui->screen_cont_p = lv_obj_create(ui->screen_tabview_tab_2);
lv_obj_set_pos(ui->screen_cont_p, 0, 64);
lv_obj_set_size(ui->screen_cont_p, 450, 335);
lv_obj_set_scrollbar_mode(ui->screen_cont_p, LV_SCROLLBAR_MODE_ON);
//Write style for screen_cont_p, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_border_width(ui->screen_cont_p, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_cont_p, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_cont_p, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_cont_p, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_cont_p, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_cont_p, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_cont_p, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_cont_p, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_cont_p, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_cont_p, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write codes screen_table_1
ui->screen_table_1 = lv_table_create(ui->screen_cont_p);
lv_table_set_col_cnt(ui->screen_table_1,3);
lv_table_set_row_cnt(ui->screen_table_1,1);
lv_table_set_cell_value(ui->screen_table_1,0,0,"Name");
lv_table_set_cell_value(ui->screen_table_1,0,1,"Price");
lv_table_set_cell_value(ui->screen_table_1,0,2,"title");
lv_obj_set_pos(ui->screen_table_1, 0, -1);
lv_obj_set_scrollbar_mode(ui->screen_table_1, LV_SCROLLBAR_MODE_OFF);
//Write style for screen_table_1, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_pad_top(ui->screen_table_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_table_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_table_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_table_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_table_1, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_color(ui->screen_table_1, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_bg_grad_dir(ui->screen_table_1, LV_GRAD_DIR_NONE, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_border_width(ui->screen_table_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_radius(ui->screen_table_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_shadow_width(ui->screen_table_1, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
//Write style for screen_table_1, Part: LV_PART_ITEMS, State: LV_STATE_DEFAULT.
lv_obj_set_style_text_color(ui->screen_table_1, lv_color_hex(0x393c41), LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_table_1, &lv_font_montserratMedium_12, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_table_1, 255, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_text_align(ui->screen_table_1, LV_TEXT_ALIGN_CENTER, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_bg_opa(ui->screen_table_1, 0, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_border_width(ui->screen_table_1, 3, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_border_opa(ui->screen_table_1, 255, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_border_color(ui->screen_table_1, lv_color_hex(0xd5dee6), LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_border_side(ui->screen_table_1, LV_BORDER_SIDE_FULL, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_pad_top(ui->screen_table_1, 10, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_pad_bottom(ui->screen_table_1, 10, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_pad_left(ui->screen_table_1, 10, LV_PART_ITEMS|LV_STATE_DEFAULT);
lv_obj_set_style_pad_right(ui->screen_table_1, 10, LV_PART_ITEMS|LV_STATE_DEFAULT);
//Write codes screen_chart_temp
ui->screen_chart_temp = lv_chart_create(ui->screen_tabview_tab_2);
@ -890,7 +845,7 @@ void setup_scr_screen(lv_ui *ui)
//Write style for screen_w_io, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
lv_obj_set_style_bg_opa(ui->screen_w_io, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_color(ui->screen_w_io, lv_color_hex(0x4d4d4d), LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_w_io, &lv_font_montserratMedium_12, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_font(ui->screen_w_io, &lv_font_simsun_12, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_opa(ui->screen_w_io, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_letter_space(ui->screen_w_io, 2, LV_PART_MAIN|LV_STATE_DEFAULT);
lv_obj_set_style_text_line_space(ui->screen_w_io, 16, LV_PART_MAIN|LV_STATE_DEFAULT);
@ -917,7 +872,7 @@ void setup_scr_screen(lv_ui *ui)
ui_init_style(&style_screen_w_io_extra_btnm_items_default);
lv_style_set_text_color(&style_screen_w_io_extra_btnm_items_default, lv_color_hex(0x291f1f));
lv_style_set_text_font(&style_screen_w_io_extra_btnm_items_default, &lv_font_Acme_Regular_16);
lv_style_set_text_font(&style_screen_w_io_extra_btnm_items_default, &lv_font_simsun_16);
lv_style_set_text_opa(&style_screen_w_io_extra_btnm_items_default, 255);
lv_obj_add_style(lv_tabview_get_tab_btns(ui->screen_w_io), &style_screen_w_io_extra_btnm_items_default, LV_PART_ITEMS|LV_STATE_DEFAULT);
@ -5108,7 +5063,7 @@ void setup_scr_screen(lv_ui *ui)
//Write codes screen_w_5
ui->screen_w_5 = lv_obj_create(ui->screen_tabview_tab_5);
lv_obj_set_pos(ui->screen_w_5, 0, 0);
lv_obj_set_size(ui->screen_w_5, 800, 460);
lv_obj_set_size(ui->screen_w_5, 800, 450);
lv_obj_set_scrollbar_mode(ui->screen_w_5, LV_SCROLLBAR_MODE_OFF);
//Write style for screen_w_5, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
@ -5262,7 +5217,7 @@ void setup_scr_screen(lv_ui *ui)
lv_obj_align(ui->screen_sys_save_label, LV_ALIGN_CENTER, 0, 0);
lv_obj_set_style_pad_all(ui->screen_sys_save, 0, LV_STATE_DEFAULT);
lv_obj_set_width(ui->screen_sys_save_label, LV_PCT(100));
lv_obj_set_pos(ui->screen_sys_save, 885, 413);
lv_obj_set_pos(ui->screen_sys_save, 880, 400);
lv_obj_set_size(ui->screen_sys_save, 100, 50);
//Write style for screen_sys_save, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.

Loading…
Cancel
Save