A39-3.9演示demo完成

This commit is contained in:
2024-03-09 16:57:12 +08:00
parent 1fd5ebbff4
commit c0b6bd173d
18 changed files with 149019 additions and 146473 deletions

View File

@ -56388,7 +56388,7 @@
1709781199 e:\mxc_a39\mxc-a39\lv_user_code\include\equipment.h
"lan_str_table.h"
1709893488 source:e:\mxc_a39\mxc-a39\lv_user_code\app\generatormainui.c
1709964149 source:e:\mxc_a39\mxc-a39\lv_user_code\app\generatormainui.c
"lvgl.h"
"img_def.h"
"mxc_meter.h"
@ -57750,7 +57750,7 @@
"../misc/lv_txt.h"
"../misc/lv_math.h"
1709891223 source:e:\mxc_a39\mxc-a39\main.c
1709973093 source:e:\mxc_a39\mxc-a39\main.c
<stdlib.h>
<unistd.h>
"lvgl/lvgl.h"

View File

@ -2,97 +2,6 @@
<CodeBlocks_layout_file>
<FileVersion major="1" minor="0" />
<ActiveTarget name="Debug" />
<File name="lv_user_code\include\language_table.h" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="140" topLine="306" />
</Cursor>
</File>
<File name="lv_drivers\indev\mouse.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="519" topLine="16" />
</Cursor>
</File>
<File name="lvgl\src\widgets\lv_bar.h" open="0" top="0" tabpos="22" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1829" topLine="55" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_refr.c" open="0" top="0" tabpos="26" split="0" active="1" splitpos="0" zoom_1="1" zoom_2="0">
<Cursor>
<Cursor1 position="6684" topLine="203" />
</Cursor>
</File>
<File name="lv_user_code\resource\lan_str_table.c" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="20" topLine="72" />
</Cursor>
</File>
<File name="lv_drv_conf.h" open="0" top="0" tabpos="13" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="4281" topLine="102" />
</Cursor>
</File>
<File name="lvgl\src\lv_misc\lv_area.h" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="212" topLine="0" />
</Cursor>
</File>
<File name="lvgl\examples\porting\lv_port_indev_template.c" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="8201" topLine="288" />
</Cursor>
</File>
<File name="lvgl\src\misc\lv_anim.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="3241" topLine="101" />
</Cursor>
</File>
<File name="lvgl\src\extra\widgets\meter\lv_meter.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="5800" topLine="181" />
</Cursor>
</File>
<File name="lv_user_code\resource\MXC_MSYAHEI_CT_bpp4_18px.c" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="35049" topLine="814" />
</Cursor>
</File>
<File name="lvgl\src\extra\widgets\tileview\lv_tileview.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="3585" topLine="101" />
</Cursor>
</File>
<File name="lvgl\src\extra\widgets\colorwheel\lv_colorwheel.h" open="0" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1261" topLine="27" />
</Cursor>
</File>
<File name="lv_user_code\resource\HarmonyOS_Sans_SC_Medium_32px.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="330" topLine="0" />
</Cursor>
</File>
<File name="lv_examples\src\lv_demo_music\README.md" open="0" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="402" topLine="0" />
</Cursor>
</File>
<File name="lv_user_code\app\GeneratorMainUI.c" open="1" top="1" tabpos="2" split="0" active="1" splitpos="0" zoom_1="1" zoom_2="0">
<Cursor>
<Cursor1 position="36557" topLine="542" />
</Cursor>
<Folding>
<Collapse line="21" />
<Collapse line="57" />
<Collapse line="93" />
<Collapse line="444" />
</Folding>
</File>
<File name="lvgl\src\widgets\lv_label.c" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="3538" topLine="104" />
</Cursor>
</File>
<File name="lv_user_code\app\mxc_meter.c" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="65" topLine="0" />
@ -106,174 +15,9 @@
<Collapse line="224" />
</Folding>
</File>
<File name="lv_user_code\resource\arialuni_field_bbp2_32px.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="lvgl\src\core\lv_refr.c" open="0" top="0" tabpos="26" split="0" active="1" splitpos="0" zoom_1="1" zoom_2="0">
<Cursor>
<Cursor1 position="0" topLine="219" />
</Cursor>
</File>
<File name="lv_drivers\indev\keyboard.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="440" topLine="14" />
</Cursor>
</File>
<File name="lv_examples\lv_apps\benchmark\benchmark.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="209" topLine="0" />
</Cursor>
</File>
<File name="lvgl\src\extra\widgets\list\lv_list.c" open="0" top="0" tabpos="28" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="4407" topLine="126" />
</Cursor>
</File>
<File name="lvgl\src\widgets\lv_arc.h" open="0" top="0" tabpos="10" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="3840" topLine="119" />
</Cursor>
</File>
<File name="lvgl\src\misc\lv_mem.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2687" topLine="113" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_obj_class.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="829" topLine="33" />
</Cursor>
</File>
<File name="lvgl\src\misc\lv_anim.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="106" topLine="0" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_group.c" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="4737" topLine="156" />
</Cursor>
</File>
<File name="lv_user_code\include\equipment.h" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="338" topLine="0" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_indev_scroll.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1704" topLine="40" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_obj_tree.c" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="7222" topLine="261" />
</Cursor>
</File>
<File name="lv_user_code\include\setting_page.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="70" topLine="0" />
</Cursor>
</File>
<File name="lvgl\src\widgets\lv_objx_templ.c" open="0" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="103" topLine="0" />
</Cursor>
</File>
<File name="lvgl\src\extra\widgets\colorwheel\lv_colorwheel.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2430" topLine="45" />
</Cursor>
</File>
<File name="lvgl\src\hal\lv_hal_disp.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="9497" topLine="299" />
</Cursor>
</File>
<File name="lvgl\src\misc\lv_area.h" open="0" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="1" zoom_2="0">
<Cursor>
<Cursor1 position="6611" topLine="230" />
</Cursor>
</File>
<File name="lv_demo_conf.h" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1154" topLine="22" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_obj_scroll.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="6015" topLine="153" />
</Cursor>
</File>
<File name="lv_user_code\resource\MXC_FZHZGB_CT_bpp4_18px.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="0" topLine="39" />
</Cursor>
</File>
<File name="lv_drivers\win32drv\win32drv.c" open="0" top="0" tabpos="12" split="0" active="1" splitpos="0" zoom_1="3" zoom_2="0">
<Cursor>
<Cursor1 position="11567" topLine="608" />
</Cursor>
</File>
<File name="lvgl\src\lv_objx\lv_canvas.h" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2499" topLine="96" />
</Cursor>
</File>
<File name="lvgl\src\font\lv_font.h" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="5829" topLine="232" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_obj_style.h" open="0" top="0" tabpos="17" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="4997" topLine="139" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_obj_class.c" open="0" top="0" tabpos="12" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1009" topLine="40" />
</Cursor>
</File>
<File name="lvgl\examples\scroll\lv_example_scroll.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="488" topLine="0" />
</Cursor>
</File>
<File name="lv_drivers\win_drv.h" open="0" top="0" tabpos="10" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="585" topLine="14" />
</Cursor>
</File>
<File name="lvgl\src\extra\widgets\tileview\lv_tileview.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="862" topLine="0" />
</Cursor>
</File>
<File name="lvgl\examples\lv_examples.h" open="0" top="0" tabpos="8" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="0" topLine="0" />
</Cursor>
</File>
<File name="lv_user_code\include\lan_str_table.h" open="0" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1631" topLine="21" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_event.h" open="0" top="0" tabpos="28" split="0" active="1" splitpos="0" zoom_1="1" zoom_2="0">
<Cursor>
<Cursor1 position="6995" topLine="128" />
</Cursor>
</File>
<File name="lv_drivers\display\monitor.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="289" topLine="31" />
</Cursor>
</File>
<File name="lv_user_code\resource\HarmonyOS_number_50px.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="0" topLine="159" />
</Cursor>
</File>
<File name="lv_user_code\include\mxc_meter.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="3202" topLine="0" />
<Cursor1 position="6684" topLine="203" />
</Cursor>
</File>
<File name="lvgl\examples\widgets\textarea\lv_example_textarea_1.c" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
@ -281,19 +25,19 @@
<Cursor1 position="126" topLine="0" />
</Cursor>
</File>
<File name="lvgl\examples\styles\lv_example_style_1.c" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="lv_user_code\include\equipment.h" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="223" topLine="3" />
<Cursor1 position="338" topLine="0" />
</Cursor>
</File>
<File name="lvgl\src\misc\lv_mem.h" open="0" top="0" tabpos="13" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="lvgl\src\extra\widgets\animimg\lv_animimg.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1695" topLine="70" />
<Cursor1 position="2532" topLine="27" />
</Cursor>
</File>
<File name="lvgl\src\widgets\lv_slider.h" open="0" top="0" tabpos="21" split="0" active="1" splitpos="0" zoom_1="5" zoom_2="0">
<File name="lv_drivers\win_drv.h" open="0" top="0" tabpos="10" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1855" topLine="66" />
<Cursor1 position="585" topLine="14" />
</Cursor>
</File>
<File name="lvgl\src\misc\lv_style.h" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
@ -301,22 +45,9 @@
<Cursor1 position="10133" topLine="288" />
</Cursor>
</File>
<File name="lvgl\src\widgets\lv_img.c" open="0" top="0" tabpos="11" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="lvgl\src\widgets\lv_label.c" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1431" topLine="30" />
</Cursor>
<Folding>
<Collapse line="69" />
</Folding>
</File>
<File name="lvgl\src\extra\widgets\animimg\lv_animimg.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2532" topLine="27" />
</Cursor>
</File>
<File name="lvgl\src\widgets\lv_bar.c" open="0" top="0" tabpos="23" split="0" active="1" splitpos="0" zoom_1="3" zoom_2="0">
<Cursor>
<Cursor1 position="3069" topLine="98" />
<Cursor1 position="3538" topLine="104" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_obj.h" open="0" top="0" tabpos="20" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
@ -329,118 +60,127 @@
<Cursor1 position="4491" topLine="139" />
</Cursor>
</File>
<File name="lvgl\lv_conf_template.h" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="lv_user_code\resource\arialuni_field_bbp2_32px.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="3931" topLine="89" />
<Cursor1 position="0" topLine="219" />
</Cursor>
</File>
<File name="lv_examples\src\lv_demo_widgets\lv_demo_widgets.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="lv_demo_conf.h" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="403" topLine="14" />
<Cursor1 position="1154" topLine="22" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_obj_style_gen.c" open="0" top="0" tabpos="16" split="0" active="1" splitpos="0" zoom_1="3" zoom_2="0">
<File name="lvgl\src\extra\widgets\meter\lv_meter.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="10034" topLine="310" />
<Cursor1 position="5800" topLine="181" />
</Cursor>
</File>
<File name="lvgl\examples\widgets\btnmatrix\lv_example_btnmatrix_1.c" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="311" topLine="0" />
</Cursor>
</File>
<File name="lvgl\src\misc\lv_fs.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="3619" topLine="148" />
</Cursor>
</File>
<File name="lvgl\examples\widgets\switch\lv_example_switch_1.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="164" topLine="0" />
</Cursor>
</File>
<File name="lv_examples\src\lv_demo_music\lv_demo_music.c" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1941" topLine="90" />
</Cursor>
</File>
<File name="lv_user_code\app\img_basic.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2037" topLine="0" />
</Cursor>
<Folding>
<Collapse line="5" />
<Collapse line="29" />
</Folding>
</File>
<File name="lvgl\examples\widgets\btn\lv_example_btn_3.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="66" topLine="21" />
</Cursor>
</File>
<File name="lvgl\src\misc\lv_printf.h" open="0" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2580" topLine="48" />
</Cursor>
</File>
<File name="lvgl\lvgl.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="361" topLine="0" />
</Cursor>
</File>
<File name="lvgl\src\widgets\lv_arc.c" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="14929" topLine="534" />
</Cursor>
</File>
<File name="lv_examples\src\lv_demo_music\lv_demo_music_main.c" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="20691" topLine="558" />
</Cursor>
</File>
<File name="lv_examples\src\lv_demo_stress\lv_demo_stress.c" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="136" topLine="0" />
</Cursor>
</File>
<File name="lvgl\src\draw\lv_draw_img.c" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="15577" topLine="423" />
</Cursor>
</File>
<File name="main.c" open="1" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="lv_user_code\resource\HarmonyOS_Sans_SC_Medium_32px.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2404" topLine="69" />
<Cursor1 position="330" topLine="0" />
</Cursor>
</File>
<File name="lvgl\src\misc\lv_color.h" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="-1" zoom_2="0">
<File name="lvgl\src\misc\lv_mem.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="22001" topLine="561" />
<Cursor1 position="2687" topLine="113" />
</Cursor>
</File>
<File name="lv_user_code\include\img_def.h" open="0" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="1" zoom_2="0">
<File name="lvgl\src\extra\widgets\list\lv_list.c" open="0" top="0" tabpos="28" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1515" topLine="6" />
<Cursor1 position="4407" topLine="126" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_obj_style_gen.h" open="0" top="0" tabpos="15" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="lvgl\lv_conf_template.h" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="23360" topLine="572" />
<Cursor1 position="3931" topLine="89" />
</Cursor>
</File>
<File name="lvgl\src\widgets\lv_img.h" open="0" top="0" tabpos="10" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="lv_user_code\include\lan_str_table.h" open="0" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1437" topLine="42" />
<Cursor1 position="1631" topLine="21" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_obj_draw.c" open="0" top="0" tabpos="25" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="lvgl\src\misc\lv_anim.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="0" topLine="315" />
<Cursor1 position="3241" topLine="101" />
</Cursor>
</File>
<File name="lv_examples\src\lv_demo_music\lv_demo_music_list.c" open="0" top="0" tabpos="8" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="lvgl\src\widgets\lv_img.c" open="0" top="0" tabpos="11" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1223" topLine="38" />
<Cursor1 position="1431" topLine="30" />
</Cursor>
<Folding>
<Collapse line="69" />
</Folding>
</File>
<File name="lv_user_code\include\setting_page.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="70" topLine="0" />
</Cursor>
</File>
<File name="lv_conf.h" open="0" top="0" tabpos="19" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="16431" topLine="480" />
</Cursor>
</File>
<File name="lvgl\src\lv_draw\lv_draw_img.h" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="6355" topLine="138" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_obj_style_gen.c" open="0" top="0" tabpos="16" split="0" active="1" splitpos="0" zoom_1="3" zoom_2="0">
<Cursor>
<Cursor1 position="10034" topLine="310" />
</Cursor>
</File>
<File name="lvgl\src\misc\lv_area.h" open="0" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="1" zoom_2="0">
<Cursor>
<Cursor1 position="6611" topLine="230" />
</Cursor>
</File>
<File name="lvgl\src\extra\widgets\tileview\lv_tileview.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="862" topLine="0" />
</Cursor>
</File>
<File name="lv_drivers\display\monitor.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="289" topLine="31" />
</Cursor>
</File>
<File name="lv_examples\src\lv_demo_music\lv_demo_music_main.c" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="20691" topLine="558" />
</Cursor>
</File>
<File name="lvgl\src\extra\widgets\meter\lv_meter.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="4743" topLine="122" />
</Cursor>
</File>
<File name="lvgl\src\widgets\lv_arc.h" open="0" top="0" tabpos="10" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="3840" topLine="119" />
</Cursor>
</File>
<File name="lvgl\examples\widgets\switch\lv_example_switch_1.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="164" topLine="0" />
</Cursor>
</File>
<File name="lv_user_code\resource\MXC_MSYAHEI_CT_bpp4_18px.c" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="35049" topLine="814" />
</Cursor>
</File>
<File name="lv_user_code\hal\hal_key_handle.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
@ -454,54 +194,29 @@
<Collapse line="68" />
</Folding>
</File>
<File name="lvgl\src\misc\lv_printf.c" open="0" top="0" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="4923" topLine="144" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_obj_style.c" open="0" top="0" tabpos="19" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="17456" topLine="476" />
</Cursor>
</File>
<File name="lvgl\src\misc\lv_anim_timeline.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2274" topLine="41" />
</Cursor>
</File>
<File name="lv_conf.h" open="0" top="0" tabpos="19" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="16431" topLine="480" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_group.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="721" topLine="0" />
</Cursor>
</File>
<File name="lv_user_code\mode\spde_ipc.h" open="0" top="0" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="223" topLine="0" />
</Cursor>
</File>
<File name="lvgl\src\lv_draw\lv_draw_img.h" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="6355" topLine="138" />
</Cursor>
</File>
<File name="lvgl\src\lv_misc\lv_anim.h" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1444" topLine="24" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_obj_pos.c" open="0" top="0" tabpos="24" split="0" active="1" splitpos="0" zoom_1="2" zoom_2="0">
<File name="lvgl\src\widgets\lv_bar.c" open="0" top="0" tabpos="23" split="0" active="1" splitpos="0" zoom_1="3" zoom_2="0">
<Cursor>
<Cursor1 position="10445" topLine="350" />
<Cursor1 position="3069" topLine="98" />
</Cursor>
</File>
<File name="lvgl\src\gpu\lv_gpu_stm32_dma2d.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<File name="lv_drv_conf.h" open="0" top="0" tabpos="13" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="3087" topLine="78" />
<Cursor1 position="4281" topLine="102" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_obj_class.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="829" topLine="33" />
</Cursor>
</File>
<File name="lv_user_code\include\img_def.h" open="0" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="1" zoom_2="0">
<Cursor>
<Cursor1 position="1515" topLine="6" />
</Cursor>
</File>
<File name="lvgl\examples\scroll\lv_example_scroll_3.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
@ -509,19 +224,308 @@
<Cursor1 position="699" topLine="0" />
</Cursor>
</File>
<File name="lvgl\examples\widgets\win\lv_example_win_1.c" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="113" topLine="0" />
</Cursor>
</File>
<File name="lvgl\src\extra\widgets\meter\lv_meter.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="4743" topLine="122" />
</Cursor>
</File>
<File name="lv_examples\src\lv_demo_widgets\lv_demo_widgets.c" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="45741" topLine="976" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_obj_scroll.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="6015" topLine="153" />
</Cursor>
</File>
<File name="lvgl\src\widgets\lv_slider.h" open="0" top="0" tabpos="21" split="0" active="1" splitpos="0" zoom_1="5" zoom_2="0">
<Cursor>
<Cursor1 position="1855" topLine="66" />
</Cursor>
</File>
<File name="lv_user_code\mode\spde_ipc.h" open="0" top="0" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="223" topLine="0" />
</Cursor>
</File>
<File name="lvgl\src\gpu\lv_gpu_stm32_dma2d.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="3087" topLine="78" />
</Cursor>
</File>
<File name="lv_drivers\indev\keyboard.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="440" topLine="14" />
</Cursor>
</File>
<File name="lvgl\examples\scroll\lv_example_scroll.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="488" topLine="0" />
</Cursor>
</File>
<File name="lv_user_code\app\img_basic.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2037" topLine="0" />
</Cursor>
<Folding>
<Collapse line="5" />
<Collapse line="29" />
</Folding>
</File>
<File name="lvgl\src\misc\lv_printf.c" open="0" top="0" tabpos="7" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="4923" topLine="144" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_group.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="721" topLine="0" />
</Cursor>
</File>
<File name="lv_user_code\include\language_table.h" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="140" topLine="306" />
</Cursor>
</File>
<File name="lvgl\src\misc\lv_anim_timeline.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2274" topLine="41" />
</Cursor>
</File>
<File name="lvgl\src\widgets\lv_bar.h" open="0" top="0" tabpos="22" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1829" topLine="55" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_event.h" open="0" top="0" tabpos="28" split="0" active="1" splitpos="0" zoom_1="1" zoom_2="0">
<Cursor>
<Cursor1 position="6995" topLine="128" />
</Cursor>
</File>
<File name="lv_examples\src\lv_demo_music\lv_demo_music.c" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1941" topLine="90" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_obj_style.c" open="0" top="0" tabpos="19" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="17456" topLine="476" />
</Cursor>
</File>
<File name="lvgl\src\font\lv_font.h" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="5829" topLine="232" />
</Cursor>
</File>
<File name="lvgl\src\extra\widgets\colorwheel\lv_colorwheel.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2430" topLine="45" />
</Cursor>
</File>
<File name="lv_examples\src\lv_demo_widgets\lv_demo_widgets.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="403" topLine="14" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_obj_class.c" open="0" top="0" tabpos="12" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1009" topLine="40" />
</Cursor>
</File>
<File name="lvgl\src\misc\lv_printf.h" open="0" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2580" topLine="48" />
</Cursor>
</File>
<File name="lvgl\src\widgets\lv_objx_templ.c" open="0" top="0" tabpos="9" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="103" topLine="0" />
</Cursor>
</File>
<File name="lvgl\examples\lv_examples.h" open="0" top="0" tabpos="8" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="0" topLine="0" />
</Cursor>
</File>
<File name="lv_user_code\resource\HarmonyOS_number_50px.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="0" topLine="159" />
</Cursor>
</File>
<File name="lv_user_code\app\GeneratorMainUI.c" open="1" top="1" tabpos="2" split="0" active="1" splitpos="0" zoom_1="1" zoom_2="0">
<Cursor>
<Cursor1 position="48216" topLine="686" />
</Cursor>
<Folding>
<Collapse line="21" />
<Collapse line="57" />
<Collapse line="94" />
<Collapse line="131" />
<Collapse line="167" />
<Collapse line="319" />
<Collapse line="529" />
<Collapse line="855" />
</Folding>
</File>
<File name="lvgl\src\lv_misc\lv_area.h" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="212" topLine="0" />
</Cursor>
</File>
<File name="lvgl\examples\widgets\btnmatrix\lv_example_btnmatrix_1.c" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="311" topLine="0" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_group.c" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="4737" topLine="156" />
</Cursor>
</File>
<File name="lvgl\src\misc\lv_anim.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="106" topLine="0" />
</Cursor>
</File>
<File name="lvgl\src\widgets\lv_img.h" open="0" top="0" tabpos="10" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1437" topLine="42" />
</Cursor>
</File>
<File name="lvgl\src\hal\lv_hal_disp.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="9497" topLine="299" />
</Cursor>
</File>
<File name="lv_user_code\resource\MXC_FZHZGB_CT_bpp4_18px.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="0" topLine="39" />
</Cursor>
</File>
<File name="lvgl\src\lv_objx\lv_canvas.h" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2499" topLine="96" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_obj_pos.c" open="0" top="0" tabpos="24" split="0" active="1" splitpos="0" zoom_1="2" zoom_2="0">
<Cursor>
<Cursor1 position="10445" topLine="350" />
</Cursor>
</File>
<File name="lvgl\examples\porting\lv_port_indev_template.c" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="8201" topLine="288" />
</Cursor>
</File>
<File name="lv_drivers\win32drv\win32drv.c" open="0" top="0" tabpos="12" split="0" active="1" splitpos="0" zoom_1="3" zoom_2="0">
<Cursor>
<Cursor1 position="11567" topLine="608" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_obj_tree.c" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="7222" topLine="261" />
</Cursor>
</File>
<File name="lvgl\examples\widgets\win\lv_example_win_1.c" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="113" topLine="0" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_obj_style_gen.h" open="0" top="0" tabpos="15" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="23360" topLine="572" />
</Cursor>
</File>
<File name="lvgl\src\misc\lv_mem.h" open="0" top="0" tabpos="13" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1695" topLine="70" />
</Cursor>
</File>
<File name="lv_user_code\resource\lan_str_table.c" open="0" top="0" tabpos="5" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="20" topLine="72" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_obj_draw.c" open="0" top="0" tabpos="25" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="0" topLine="315" />
</Cursor>
</File>
<File name="lv_user_code\include\mxc_meter.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="3202" topLine="0" />
</Cursor>
</File>
<File name="lvgl\lvgl.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="361" topLine="0" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_obj_style.h" open="0" top="0" tabpos="17" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="4997" topLine="139" />
</Cursor>
</File>
<File name="lvgl\src\extra\widgets\tileview\lv_tileview.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="3585" topLine="101" />
</Cursor>
</File>
<File name="lv_drivers\indev\mouse.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="519" topLine="16" />
</Cursor>
</File>
<File name="lv_examples\src\lv_demo_music\lv_demo_music_list.c" open="0" top="0" tabpos="8" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1223" topLine="38" />
</Cursor>
</File>
<File name="lv_examples\src\lv_demo_stress\lv_demo_stress.c" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="136" topLine="0" />
</Cursor>
</File>
<File name="main.c" open="1" top="0" tabpos="1" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="2392" topLine="54" />
</Cursor>
</File>
<File name="lvgl\examples\styles\lv_example_style_1.c" open="0" top="0" tabpos="3" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="223" topLine="3" />
</Cursor>
</File>
<File name="lv_examples\src\lv_demo_music\README.md" open="0" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="402" topLine="0" />
</Cursor>
</File>
<File name="lvgl\src\core\lv_indev_scroll.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1704" topLine="40" />
</Cursor>
</File>
<File name="lvgl\src\widgets\lv_arc.c" open="0" top="0" tabpos="2" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="14929" topLine="534" />
</Cursor>
</File>
<File name="lvgl\src\misc\lv_color.h" open="0" top="0" tabpos="4" split="0" active="1" splitpos="0" zoom_1="-1" zoom_2="0">
<Cursor>
<Cursor1 position="22001" topLine="561" />
</Cursor>
</File>
<File name="lv_examples\lv_apps\benchmark\benchmark.h" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="209" topLine="0" />
</Cursor>
</File>
<File name="lvgl\src\misc\lv_fs.c" open="0" top="0" tabpos="0" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="3619" topLine="148" />
</Cursor>
</File>
<File name="lvgl\src\extra\widgets\colorwheel\lv_colorwheel.h" open="0" top="0" tabpos="6" split="0" active="1" splitpos="0" zoom_1="0" zoom_2="0">
<Cursor>
<Cursor1 position="1261" topLine="27" />
</Cursor>
</File>
</CodeBlocks_layout_file>

View File

@ -82,7 +82,8 @@ static void WinKey_event_GtorToErr_handle(lv_event_t* e)
pTime_refresh_timer = NULL;
}
//主界面进入到类型界面
Generator_SubUI_ERROR_src_win(get_root_win());
// Generator_SubUI_ERROR_src_win(get_root_win());
Generator_test1_src_win(get_root_win());
break;
default:
break;
@ -106,6 +107,79 @@ static void WinKey_event_ErrToMain_handle(lv_event_t* e)
key_code = (uint8_t)*key;
printf("key_code = 0x%02x . code = 0x%02d \n", key_code, code);
switch (key_code)
{
case LV_KEY_W:
printf("LV_KEY_ENTER.\n");
//close_ui_refresh_timer();
close_all_win();
if(pTime_refresh_timer!=NULL){
lv_timer_del(pTime_refresh_timer);
pTime_refresh_timer = NULL;
}
//主界面进入到类型界面
// Generator_src_win(get_root_win());
Generator_test1_src_win(get_root_win());
break;
default:
break;
}
}
}
static void test_win1_handle(lv_event_t* e)
{
lv_event_code_t code = lv_event_get_code(e);
uint8_t key_code = 0;
uint32_t *key = lv_event_get_param(e);
key_code = (uint8_t)*key;
printf("=============test_win1_handle==========.\n");
if (code == LV_EVENT_KEY)
{
uint32_t *key = lv_event_get_param(e);
key_code = (uint8_t)*key;
// printf("key_code = 0x%02x . code = 0x%02d \n", key_code, code);
switch (key_code)
{
case LV_KEY_W:
printf("LV_KEY_ENTER.\n");
//close_ui_refresh_timer();
close_all_win();
if(pTime_refresh_timer!=NULL){
lv_timer_del(pTime_refresh_timer);
pTime_refresh_timer = NULL;
}
//主界面进入到类型界面
Generator_test2_src_win(get_root_win());
break;
default:
break;
}
}
}
static void test_win2_handle(lv_event_t* e)
{
lv_event_code_t code = lv_event_get_code(e);
uint8_t key_code = 0;
uint32_t *key = lv_event_get_param(e);
key_code = (uint8_t)*key;
printf("=============test_win2_handle==========.\n");
if (code == LV_EVENT_KEY)
{
uint32_t *key = lv_event_get_param(e);
key_code = (uint8_t)*key;
// printf("key_code = 0x%02x . code = 0x%02d \n", key_code, code);
switch (key_code)
{
case LV_KEY_W:
@ -126,6 +200,7 @@ static void WinKey_event_ErrToMain_handle(lv_event_t* e)
}
}
/******************3.定时器******************/
void refresh_MainUItimer_cb(lv_timer_t* pTimer)
{
@ -179,6 +254,16 @@ void refresh_MainUItimer_cb(lv_timer_t* pTimer)
lv_label_set_text_fmt(pPercentNum, "%d", frequency_num);
lv_label_set_text_fmt(pPowerNum, "%d", power);
if((time_num/10)%2==0){
lv_obj_clear_flag(img_bt,LV_OBJ_FLAG_HIDDEN);
lv_obj_clear_flag(img_power,LV_OBJ_FLAG_HIDDEN);
lv_obj_clear_flag(img_error,LV_OBJ_FLAG_HIDDEN);
}else{
lv_obj_add_flag(img_bt,LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(img_power,LV_OBJ_FLAG_HIDDEN);
lv_obj_add_flag(img_error,LV_OBJ_FLAG_HIDDEN);
}
speed+=100;
if(speed >=10000)
@ -379,7 +464,7 @@ void Generator_src_win(lv_obj_t * scr_parent_main)
// 10
lv_obj_t* pbar_Oilcolor = lv_bar_create(MainUI_win);
lv_bar_set_value(pbar_Oilcolor, 10, LV_ANIM_OFF);
lv_obj_set_size(pbar_Oilcolor, 150, 37);
lv_obj_set_size(pbar_Oilcolor, 150, 35);
lv_obj_align(pbar_Oilcolor, LV_ALIGN_TOP_LEFT, 60, 240);
lv_obj_add_style(pbar_Oilcolor, &style, LV_PART_INDICATOR);
lv_obj_set_style_bg_color(pbar_Oilcolor, lv_color_black(), LV_PART_MAIN);
@ -767,25 +852,6 @@ void Generator_SubUI_Gtor_src_win(lv_obj_t * scr_parent_main)
}
#endif
void roller_refresh(lv_timer_t *t){
lv_obj_t *parent = t->user_data;
if(!lv_obj_is_valid(parent)){
printf("parent lv_obj_is_valid fail.\n");
return;
}
if(parent ==NULL){
printf("parent ==NULL\n");
return;
}
uint8_t num = lv_roller_get_selected(parent);
printf("num=%d .\r\n",num);
num++;
lv_roller_set_selected(parent, num, LV_ANIM_OFF);
}
void Generator_SubUI_ERROR_src_win(lv_obj_t * scr_parent_main)
{
// lv_obj_t * scr_parent_main = get_root_win();
@ -801,72 +867,24 @@ void Generator_SubUI_ERROR_src_win(lv_obj_t * scr_parent_main)
lv_obj_clear_flag(pSubUI_ERROR_win, LV_OBJ_FLAG_SCROLLABLE);
printf("enter Error_SubUI!\n");
//// lv_obj_t* pPanel_SubUI_Img = NULL; //定义图片指针
// lv_img_cache_invalidate_src(NULL); //将缓存全部清除
//
// //加载图像框架
// lv_obj_t*pPanel_SubUI_Img = lv_img_big_create(pSubUI_ERROR_win, panel_Error_SubUI_src, 40, 46, 6, 0);
//
// //逆变器故障代码label Inverter type
// lv_obj_t * pLabel_Inverter_Err = lv_label_create(pSubUI_ERROR_win);
// lv_obj_set_style_text_font(pLabel_Inverter_Err, LV_FONT_MXC_MSYAHEI_CT_18PX, LV_STATE_DEFAULT);
// lv_label_set_text(pLabel_Inverter_Err, "逆变器故障代码");
// lv_obj_align(pLabel_Inverter_Err, LV_ALIGN_TOP_LEFT, 178, 10);
//
// //反拖故障代码
// lv_obj_t * pLabel_Reverse_Err = lv_label_create(pSubUI_ERROR_win);
// lv_obj_set_style_text_font(pLabel_Reverse_Err, LV_FONT_MXC_MSYAHEI_CT_18PX, LV_STATE_DEFAULT);
// lv_label_set_text(pLabel_Reverse_Err, "反拖故障代码");
// lv_obj_align(pLabel_Reverse_Err, LV_ALIGN_TOP_LEFT, 187, 154);
// lv_obj_t* pPanel_SubUI_Img = NULL; //定义图片指针
lv_img_cache_invalidate_src(NULL); //将缓存全部清除
//加载图像框架
lv_obj_t*pPanel_SubUI_Img = lv_img_big_create(pSubUI_ERROR_win, panel_Error_SubUI_src, 40, 46, 6, 0);
//逆变器故障代码label Inverter type
lv_obj_t * pLabel_Inverter_Err = lv_label_create(pSubUI_ERROR_win);
lv_obj_set_style_text_font(pLabel_Inverter_Err, LV_FONT_MXC_MSYAHEI_CT_18PX, LV_STATE_DEFAULT);
lv_label_set_text(pLabel_Inverter_Err, "逆变器故障代码");
lv_obj_align(pLabel_Inverter_Err, LV_ALIGN_TOP_LEFT, 178, 10);
//反拖故障代码
lv_obj_t * pLabel_Reverse_Err = lv_label_create(pSubUI_ERROR_win);
lv_obj_set_style_text_font(pLabel_Reverse_Err, LV_FONT_MXC_MSYAHEI_CT_18PX, LV_STATE_DEFAULT);
lv_label_set_text(pLabel_Reverse_Err, "反拖故障代码");
lv_obj_align(pLabel_Reverse_Err, LV_ALIGN_TOP_LEFT, 187, 154);
static lv_style_t style;
lv_style_init(&style);
lv_style_set_bg_color(&style, lv_color_black());
lv_style_set_text_color(&style, lv_color_white());
lv_style_set_border_width(&style, 0);
lv_style_set_pad_all(&style, 0);
lv_obj_add_style(lv_scr_act(), &style, 0);
lv_obj_t *roller1 = lv_roller_create(pSubUI_ERROR_win);
lv_obj_align(roller1, LV_ALIGN_TOP_LEFT, 69, 84);
lv_obj_add_style(roller1,&style,0);
lv_obj_set_style_text_font(roller1, LV_FONT_MXC_MSYAHEI_CT_18PX, LV_STATE_DEFAULT);
lv_roller_set_options(roller1,
"JAAAAAAA\n"
"FBBBBBB\n"
"MC\n"
"ADDDD\n"
"MEEEEEEE\n"
"JFFFFFFFFFFF\n"
"JGGGG\n"
"AHHHHHHHHHHHH\n"
"SIIIII\n"
"OJJJ\n"
"NKKKKKKKK\n"
"DLLLL",
LV_ROLLER_MODE_INFINITE);
//LV_ROLLER_MODE_NORMAL);//正常滚动
lv_roller_set_visible_row_count(roller1, 3);
lv_obj_center(roller1);
lv_timer_t * time_refresh_timer = lv_timer_create(roller_refresh,1000,roller1);
//将GtorUI放到按键编组中,相应按钮时间,切换到Err界面
lv_obj_t* pDemo_group = get_key_group();
lv_group_add_obj(pDemo_group, pSubUI_ERROR_win);
@ -878,10 +896,336 @@ void Generator_SubUI_ERROR_src_win(lv_obj_t * scr_parent_main)
}
void roller1_refresh(lv_timer_t *t){
lv_obj_t *parent = t->user_data;
if(!lv_obj_is_valid(parent)){
printf("parent lv_obj_is_valid fail.\n");
return;
}
if(parent ==NULL){
printf("parent ==NULL\n");
return;
}
lv_obj_t * fault_codes1 = lv_obj_get_child(parent,0);
lv_obj_t * fault_codes2 = lv_obj_get_child(parent,1);
lv_obj_t * roller1 = lv_obj_get_child(fault_codes1,0);
lv_obj_t * roller2 = lv_obj_get_child(fault_codes2,0);
uint8_t num1 = lv_roller_get_selected(roller1);
uint8_t num2 = lv_roller_get_selected(roller1);
printf("roller1_refresh num1=%d ,num2=%d .\r\n",num1,num2);
num1++;
num2++;
lv_roller_set_selected(roller1, num1, LV_ANIM_OFF);
lv_roller_set_selected(roller2, num2, LV_ANIM_OFF);
}
void roller2_refresh(lv_timer_t *t){
lv_obj_t *parent = t->user_data;
if(!lv_obj_is_valid(parent)){
printf("parent lv_obj_is_valid fail.\n");
return;
}
if(parent ==NULL){
printf("parent ==NULL\n");
return;
}
lv_obj_t * fault_codes1 = lv_obj_get_child(parent,2);
lv_obj_t * fault_codes2 = lv_obj_get_child(parent,3);
lv_obj_t * roller1 = lv_obj_get_child(fault_codes1,0);
lv_obj_t * roller2 = lv_obj_get_child(fault_codes2,0);
uint8_t num1 = lv_roller_get_selected(roller1);
uint8_t num2 = lv_roller_get_selected(roller1);
printf("roller2_refresh num1=%d ,num2=%d .\r\n",num1,num2);
num1++;
num2++;
lv_roller_set_selected(roller1, num1, LV_ANIM_OFF);
lv_roller_set_selected(roller2, num2, LV_ANIM_OFF);
}
void Generator_test1_src_win(lv_obj_t * scr_parent_main)
{
// lv_obj_t * scr_parent_main = get_root_win();
lv_obj_t* pSubUI_ERROR_win = lv_obj_create(scr_parent_main);
lv_obj_set_scrollbar_mode(pSubUI_ERROR_win, LV_SCROLLBAR_MODE_OFF); //关闭滑轮功能
lv_obj_set_size(pSubUI_ERROR_win, LV_PCT(100), LV_PCT(100)); //设置主界面100%显示
lv_obj_set_style_pad_all(pSubUI_ERROR_win, 0, 0); //
lv_obj_set_style_radius(pSubUI_ERROR_win, 0, 0); //圆角大小为0
lv_obj_set_style_border_width(pSubUI_ERROR_win, 0, LV_PART_MAIN); //设置边界宽度为主窗口默认宽度
lv_obj_set_style_border_color(pSubUI_ERROR_win, lv_color_black(), 0); //设置边界为全黑
lv_obj_set_style_bg_color(pSubUI_ERROR_win, lv_color_black(), 0); //设置背景为全黑
lv_obj_clear_flag(pSubUI_ERROR_win, LV_OBJ_FLAG_SCROLLABLE);
printf("enter Error_SubUI!\n");
static lv_style_t frame_style;
lv_style_init(&frame_style);
/*Set a background color and a radius*/
lv_style_set_radius(&frame_style, 20);
lv_style_set_bg_opa(&frame_style, LV_OPA_COVER);
lv_style_set_bg_color(&frame_style, lv_color_hex(0x000000));
lv_style_set_border_width(&frame_style, 2);
lv_style_set_border_color(&frame_style, lv_color_hex(0xffffff));
lv_obj_t * fault_codes1 = lv_obj_create(pSubUI_ERROR_win);
lv_obj_add_style(fault_codes1, &frame_style, 0);
lv_obj_set_size(fault_codes1,LV_PCT(85),110);
lv_obj_align(fault_codes1,LV_ALIGN_CENTER,0,-70);
lv_obj_clear_flag(fault_codes1, LV_OBJ_FLAG_SCROLLABLE);
lv_obj_t * fault_codes2 = lv_obj_create(pSubUI_ERROR_win);
lv_obj_add_style(fault_codes2, &frame_style, 0);
lv_obj_set_size(fault_codes2,LV_PCT(85),110);
lv_obj_align(fault_codes2,LV_ALIGN_CENTER,0,80);
lv_obj_clear_flag(fault_codes2, LV_OBJ_FLAG_SCROLLABLE);
//逆变器故障代码label Inverter type
lv_obj_t * pLabel_Inverter_Err = lv_label_create(pSubUI_ERROR_win);
lv_obj_set_style_text_font(pLabel_Inverter_Err, LV_FONT_MXC_MSYAHEI_CT_18PX, LV_STATE_DEFAULT);
lv_label_set_text(pLabel_Inverter_Err, "逆变器故障代码");
lv_obj_align(pLabel_Inverter_Err, LV_ALIGN_TOP_LEFT, 178, 10);
//反拖故障代码
lv_obj_t * pLabel_Reverse_Err = lv_label_create(pSubUI_ERROR_win);
lv_obj_set_style_text_font(pLabel_Reverse_Err, LV_FONT_MXC_MSYAHEI_CT_18PX, LV_STATE_DEFAULT);
lv_label_set_text(pLabel_Reverse_Err, "反拖故障代码");
lv_obj_align(pLabel_Reverse_Err, LV_ALIGN_TOP_LEFT, 187, 154);
static lv_style_t roller_style;
lv_style_init(&roller_style);
// lv_style_set_bg_color(&roller_style, lv_color_black());
lv_style_set_bg_color(&roller_style, lv_color_hex(0x000000));
lv_style_set_text_color(&roller_style, lv_color_white());
lv_style_set_border_width(&roller_style, 0);
lv_style_set_pad_all(&roller_style, 0);
lv_obj_t *roller1 = lv_roller_create(fault_codes1);
lv_obj_set_size(roller1,LV_PCT(100),LV_PCT(70));
lv_obj_add_style(roller1,&roller_style,0);
lv_obj_set_style_bg_opa(roller1, LV_OPA_TRANSP, LV_PART_SELECTED);
lv_obj_set_style_text_color(roller1,lv_color_hex(0xff0000),LV_PART_SELECTED);
lv_obj_set_style_text_font(roller1, LV_FONT_MXC_MSYAHEI_CT_18PX, LV_STATE_DEFAULT);
lv_roller_set_options(roller1,
"0001输出短路\n"
"0002直流母线高\n"
"0003直流母线低\n"
"0004输出电压高\n"
"0005输出电压低\n"
"0006IGBT温度高\n"
"0007输出过流\n"
"0008发动机转速丢失\n"
"0009单片机温度高\n"
"0010硬件峰值电流保护\n"
"0011基准电压错误\n"
"0012END",
LV_ROLLER_MODE_INFINITE);
// LV_ROLLER_MODE_NORMAL);//正常滚动
lv_roller_set_visible_row_count(roller1, 3);
lv_obj_center(roller1);
lv_roller_set_selected(roller1, 1, LV_ANIM_OFF);
// pTime_refresh_timer = lv_timer_create(roller_refresh,2000,roller1);
// lv_obj_t * list = lv_list_create(fault_codes2);
// lv_obj_add_style(list,&roller_style,0);
// lv_obj_set_size(list, LV_PCT(100), LV_PCT(100));
// lv_obj_center(list);
// lv_obj_set_align(list,LV_ALIGN_CENTER);
//
// for(uint8_t btn_cnt = 1; btn_cnt <= 2; btn_cnt++) {
// char buf[32];
// lv_snprintf(buf, sizeof(buf), "Track %d", (int)btn_cnt);
// lv_list_add_btn(list, LV_SYMBOL_AUDIO, buf);
// }
lv_obj_t *roller2 = lv_roller_create(fault_codes2);
lv_obj_set_size(roller2,LV_PCT(100),LV_PCT(70));
lv_obj_add_style(roller2,&roller_style,0);
// lv_obj_set_style_bg_opa(roller2, LV_OPA_TRANSP, LV_PART_SELECTED);//
lv_obj_set_style_text_font(roller2, LV_FONT_MXC_MSYAHEI_CT_18PX, LV_STATE_DEFAULT);
lv_roller_set_options(roller2,
"0001\n"
"0002\n"
"0003\n"
"0004\n"
"0005\n"
"0006\n"
"0007\n"
"0008\n"
"0009\n"
"0010\n"
"0011\n"
"0012",
LV_ROLLER_MODE_INFINITE);
// LV_ROLLER_MODE_NORMAL);//正常滚动
lv_roller_set_visible_row_count(roller2, 3);
lv_obj_center(roller2);
lv_roller_set_selected(roller2, 1, LV_ANIM_OFF);
pTime_refresh_timer = lv_timer_create(roller1_refresh,2000,pSubUI_ERROR_win);
//将GtorUI放到按键编组中,相应按钮时间,切换到Err界面
lv_obj_t* pDemo_group = get_key_group();
lv_group_add_obj(pDemo_group, pSubUI_ERROR_win);
lv_obj_add_event_cb(pSubUI_ERROR_win, test_win1_handle, LV_EVENT_KEY, NULL);
}
void Generator_test2_src_win(lv_obj_t * scr_parent_main)
{
// lv_obj_t * scr_parent_main = get_root_win();
lv_obj_t* pSubUI_ERROR_win = lv_obj_create(scr_parent_main);
lv_obj_set_scrollbar_mode(pSubUI_ERROR_win, LV_SCROLLBAR_MODE_OFF); //关闭滑轮功能
lv_obj_set_size(pSubUI_ERROR_win, LV_PCT(100), LV_PCT(100)); //设置主界面100%显示
lv_obj_set_style_pad_all(pSubUI_ERROR_win, 0, 0); //
lv_obj_set_style_radius(pSubUI_ERROR_win, 0, 0); //圆角大小为0
lv_obj_set_style_border_width(pSubUI_ERROR_win, 0, LV_PART_MAIN); //设置边界宽度为主窗口默认宽度
lv_obj_set_style_border_color(pSubUI_ERROR_win, lv_color_black(), 0); //设置边界为全黑
lv_obj_set_style_bg_color(pSubUI_ERROR_win, lv_color_black(), 0); //设置背景为全黑
lv_obj_clear_flag(pSubUI_ERROR_win, LV_OBJ_FLAG_SCROLLABLE);
printf("enter Error_SubUI!\n");
static lv_style_t frame_style;
lv_style_init(&frame_style);
/*Set a background color and a radius*/
lv_style_set_radius(&frame_style, 20);
lv_style_set_bg_opa(&frame_style, LV_OPA_COVER);
lv_style_set_bg_color(&frame_style, lv_color_hex(0x4C96C7));
lv_style_set_border_width(&frame_style, 2);
lv_style_set_border_color(&frame_style, lv_color_hex(0xffffff));
lv_obj_t * labet_view1 = lv_obj_create(pSubUI_ERROR_win);
lv_obj_add_style(labet_view1, &frame_style, 0);
lv_obj_set_style_radius(labet_view1,12,0);
lv_obj_set_size(labet_view1,180,37);
lv_obj_set_pos(labet_view1, 35, 12);
lv_obj_clear_flag(labet_view1, LV_OBJ_FLAG_SCROLLABLE);
lv_obj_t * labet_view2 = lv_obj_create(pSubUI_ERROR_win);
lv_obj_add_style(labet_view2, &frame_style, 0);
lv_obj_set_style_radius(labet_view2,12,0);
lv_obj_set_size(labet_view2, 180,37);
lv_obj_set_pos(labet_view2, 267, 12);
lv_obj_clear_flag(labet_view2, LV_OBJ_FLAG_SCROLLABLE);
lv_obj_t * fault_codes1 = lv_obj_create(pSubUI_ERROR_win);
lv_obj_add_style(fault_codes1, &frame_style, 0);
lv_obj_set_size(fault_codes1,180,LV_PCT(78));
lv_obj_set_pos(fault_codes1, 35, 59);
lv_obj_clear_flag(fault_codes1, LV_OBJ_FLAG_SCROLLABLE);
lv_obj_t * fault_codes2 = lv_obj_create(pSubUI_ERROR_win);
lv_obj_add_style(fault_codes2, &frame_style, 0);
lv_obj_set_size(fault_codes2, 180,LV_PCT(78));
lv_obj_set_pos(fault_codes2, 267, 59);
lv_obj_clear_flag(fault_codes2, LV_OBJ_FLAG_SCROLLABLE);
//逆变器故障代码label Inverter type
lv_obj_t * pLabel_Inverter_Err = lv_label_create(labet_view1);
lv_obj_set_style_text_font(pLabel_Inverter_Err, LV_FONT_MXC_MSYAHEI_CT_18PX, LV_STATE_DEFAULT);
lv_label_set_text(pLabel_Inverter_Err, "逆变器故障代码");
lv_obj_center(pLabel_Inverter_Err);
//反拖故障代码
lv_obj_t * pLabel_Reverse_Err = lv_label_create(labet_view2);
lv_obj_set_style_text_font(pLabel_Reverse_Err, LV_FONT_MXC_MSYAHEI_CT_18PX, LV_STATE_DEFAULT);
lv_label_set_text(pLabel_Reverse_Err, "反拖故障代码");
lv_obj_center(pLabel_Reverse_Err);
//lv_obj_align(pLabel_Reverse_Err, LV_ALIGN_TOP_LEFT, 187, 154);
static lv_style_t roller_style;
lv_style_init(&roller_style);
// lv_style_set_bg_color(&roller_style, lv_color_black());
lv_style_set_bg_color(&roller_style, lv_color_hex(0x000000));
lv_style_set_bg_opa(&roller_style, 0);
lv_style_set_text_color(&roller_style, lv_color_white());
lv_style_set_border_width(&roller_style, 0);
lv_style_set_pad_all(&roller_style, 0);
lv_obj_t *roller1 = lv_roller_create(fault_codes1);
lv_obj_set_size(roller1,LV_PCT(100),LV_PCT(100));
lv_obj_add_style(roller1,&roller_style,0);
lv_obj_set_style_bg_opa(roller1, LV_OPA_TRANSP, LV_PART_SELECTED);
lv_obj_set_style_text_color(roller1,lv_color_hex(0xff0000),LV_PART_SELECTED);
lv_obj_set_style_text_font(roller1, LV_FONT_MXC_MSYAHEI_CT_18PX, LV_STATE_DEFAULT);
lv_roller_set_options(roller1,
"输出短路\n"
"直流母线高\n"
"直流母线低\n"
"输出电压高\n"
"输出电压低\n"
"IGBT温度高\n"
"输出过流\n"
"发动机转速丢失\n"
"单片机温度高\n"
"硬件峰值电流保护\n"
"基准电压错误\n"
"END",
LV_ROLLER_MODE_INFINITE);
// LV_ROLLER_MODE_NORMAL);//正常滚动
lv_roller_set_visible_row_count(roller1, 9);
lv_obj_center(roller1);
lv_roller_set_selected(roller1, 1, LV_ANIM_OFF);
// pTime_refresh_timer = lv_timer_create(roller_refresh,2000,roller1);
lv_obj_t *roller2 = lv_roller_create(fault_codes2);
lv_obj_set_size(roller2,LV_PCT(100),LV_PCT(70));
lv_obj_add_style(roller2,&roller_style,0);
// lv_obj_set_style_text_color(roller1,lv_color_hex(0xff0000),LV_PART_SELECTED);
lv_obj_set_style_bg_color(roller2,lv_color_hex(0xff0000),LV_PART_SELECTED);
// lv_obj_set_style_bg_opa(roller2, LV_OPA_TRANSP, LV_PART_SELECTED);//
lv_obj_set_style_text_font(roller2, LV_FONT_MXC_MSYAHEI_CT_18PX, LV_STATE_DEFAULT);
lv_roller_set_options(roller2,
"低压保护\n"
"软件电流保护\n"
"硬件电流保护\n"
"堵转保护\n"
"峰值过流保护\n"
"温度故障\n"
"点火失败\n"
"过压保护\n"
"机油故障\n"
"END",
LV_ROLLER_MODE_INFINITE);
// LV_ROLLER_MODE_NORMAL);//正常滚动
lv_roller_set_visible_row_count(roller2, 7);
lv_obj_center(roller2);
lv_roller_set_selected(roller2, 1, LV_ANIM_OFF);
pTime_refresh_timer = lv_timer_create(roller2_refresh,2000,pSubUI_ERROR_win);
//将GtorUI放到按键编组中,相应按钮时间,切换到Err界面
lv_obj_t* pDemo_group = get_key_group();
lv_group_add_obj(pDemo_group, pSubUI_ERROR_win);
lv_obj_add_event_cb(pSubUI_ERROR_win, test_win2_handle, LV_EVENT_KEY, NULL);
}

View File

@ -83,7 +83,7 @@ int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLi
lv_port_indev_init();
//发电机主界面
Generator_SubUI_ERROR_src_win(get_root_win());
Generator_src_win(get_root_win());
// test_win(get_root_win());
#endif