refactor(color): use LVGL styles and objects for UI, legacy cleanup (#4407)

This commit is contained in:
philmoz
2024-04-05 17:33:14 +10:00
committed by GitHub
parent 5ff5c2ab8e
commit f28c1150ed
392 changed files with 18929 additions and 19492 deletions
+18 -9
View File
@@ -131,7 +131,7 @@
*With complex image decoders (e.g. PNG or JPG) caching can save the continuous open/decode of images.
*However the opened images might consume additional RAM.
*0: to disable caching*/
#define LV_IMG_CACHE_DEF_SIZE 0
#define LV_IMG_CACHE_DEF_SIZE 8
/*Number of stops allowed per gradient. Increase this to allow more stops.
*This adds (sizeof(lv_color_t) + 1) bytes per additional stop*/
@@ -514,7 +514,7 @@
/*Documentation of the widgets: https://docs.lvgl.io/latest/en/html/widgets/index.html*/
#if !defined(BOOT)
#define LV_USE_ARC 0
#define LV_USE_ARC 1
#define LV_USE_ANIMIMG 0
@@ -538,7 +538,7 @@
#define LV_LABEL_LONG_TXT_HINT 1 /*Store some extra info in labels to speed up drawing of very long texts*/
#endif
#define LV_USE_LINE 0
#define LV_USE_LINE 1
#define LV_USE_ROLLER 0 /*Requires: lv_label*/
#if LV_USE_ROLLER
@@ -715,21 +715,25 @@
#endif
/*API for FATFS (needs to be added separately). Uses f_open, f_read, etc*/
#if defined(BOOT)
#define LV_USE_FS_FATFS 0
#if LV_USE_FS_FATFS
#define LV_FS_FATFS_LETTER '\0' /*Set an upper cased letter on which the drive will accessible (e.g. 'A')*/
#define LV_FS_FATFS_CACHE_SIZE 0 /*>0 to cache this number of bytes in lv_fs_read()*/
#endif
#else
#define LV_USE_FS_FATFS 1
#if LV_USE_FS_FATFS
#define LV_FS_FATFS_LETTER 'A' /*Set an upper cased letter on which the drive will accessible (e.g. 'A')*/
#define LV_FS_FATFS_CACHE_SIZE 0 /*>0 to cache this number of bytes in lv_fs_read()*/
#endif
#endif
/*PNG decoder library*/
#if !defined(BOOT)
#define LV_USE_PNG 1
#endif
#define LV_USE_PNG 0
/*BMP decoder library*/
#if !defined(BOOT)
#define LV_USE_BMP 1
#endif
#define LV_USE_BMP 0
/* JPG + split JPG decoder library.
* Split JPG is a custom format optimized for embedded systems. */
@@ -738,8 +742,13 @@
/*GIF decoder library*/
#define LV_USE_GIF 0
#if defined(BOOT)
/*QR code library*/
#define LV_USE_QRCODE 0
#else
/*QR code library*/
#define LV_USE_QRCODE 1
#endif // !BOOT
/*FreeType library*/
#define LV_USE_FREETYPE 0