vscode 插件 需安装以下插件并配置: C/C++ Extension Pack CMake CMake Tools 然后选择编译器。 下载 LVGL 相关 (1)下载 Releases · lvgl/lvgl
使用内置字体 LVGL内置字体和图标:Font (lv_font) - LVGL 9.4 documentation 自带的字体如果使用的话,在 lv_conf.h 文件中设置为 1: #define LV_FONT_MONTSERRAT_8 0 #define LV_FONT_MONTSERRAT
创建动画 //(1) static lv_anim_t anim_template; static lv_anim_t * running_anim; lv_anim_init(&anim_template); //(2)必须的设置 /* Set the "animator" functi
基于 V9.4 版本 图层 LVGL具有图层概念,从顶层到底层依次是 sys_layer、top_layer、act_scr。 sys_layer:系统层,比如鼠标、光标、滚动条等始终可见的。不理解 top_layer:一些浮动控件,比如