This commit is contained in:
2025-12-10 11:08:15 +08:00
parent 792e50d477
commit a47cd445fa
755 changed files with 85753 additions and 71257 deletions
+40 -40
View File
@@ -46,7 +46,7 @@
#if LV_USE_STDLIB_MALLOC == LV_STDLIB_BUILTIN
/*Size of the memory available for `lv_malloc()` in bytes (>= 2kB)*/
#define LV_MEM_SIZE (16U * 1024U)
#define LV_MEM_SIZE (64U * 1024U)
/*Size of the memory expand for `lv_malloc()` in bytes*/
#define LV_MEM_POOL_EXPAND_SIZE 0
@@ -114,12 +114,12 @@
* and can't be drawn in chunks. */
/*The target buffer size[bytes] for simple layer chunks.*/
#define LV_DRAW_LAYER_SIMPLE_BUF_SIZE (24U * 1024U)
#define LV_DRAW_LAYER_SIMPLE_BUF_SIZE (4U * 1024U)
/* The stack size of the drawing thread.
* NOTE: If FreeType or ThorVG is enabled, it is recommended to set it to 32KB or more.
*/
#define LV_DRAW_THREAD_STACK_SIZE (8U * 1024U)
#define LV_DRAW_THREAD_STACK_SIZE (4U * 1024U)
#define LV_USE_DRAW_SW 1
#if LV_USE_DRAW_SW
@@ -448,7 +448,7 @@
*https://fonts.google.com/specimen/Montserrat*/
#define LV_FONT_MONTSERRAT_8 0
#define LV_FONT_MONTSERRAT_10 0
#define LV_FONT_MONTSERRAT_12 1
#define LV_FONT_MONTSERRAT_12 0
#define LV_FONT_MONTSERRAT_14 1
#define LV_FONT_MONTSERRAT_16 0
#define LV_FONT_MONTSERRAT_18 0
@@ -552,17 +552,17 @@
#define LV_WIDGETS_HAS_DEFAULT_VALUE 1
#define LV_USE_ANIMIMG 1
#define LV_USE_ANIMIMG 0
#define LV_USE_ARC 1
#define LV_USE_ARC 0
#define LV_USE_BAR 1
#define LV_USE_BAR 0
#define LV_USE_BUTTON 1
#define LV_USE_BUTTONMATRIX 1
#define LV_USE_BUTTONMATRIX 0
#define LV_USE_CALENDAR 1
#define LV_USE_CALENDAR 0
#if LV_USE_CALENDAR
#define LV_CALENDAR_WEEK_STARTS_MONDAY 0
#if LV_CALENDAR_WEEK_STARTS_MONDAY
@@ -571,20 +571,20 @@
#define LV_CALENDAR_DEFAULT_DAY_NAMES {"Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"}
#endif /* LV_CALENDAR_WEEK_STARTS_MONDAY */
#define LV_CALENDAR_DEFAULT_MONTH_NAMES {"January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"}
#define LV_USE_CALENDAR_HEADER_ARROW 1
#define LV_USE_CALENDAR_HEADER_DROPDOWN 1
#define LV_USE_CALENDAR_HEADER_ARROW 0
#define LV_USE_CALENDAR_HEADER_DROPDOWN 0
#define LV_USE_CALENDAR_CHINESE 0
#endif /* LV_USE_CALENDAR */
#define LV_USE_CANVAS 1
#define LV_USE_CANVAS 0
#define LV_USE_CAROUSEL 1
#define LV_USE_CAROUSEL 0
#define LV_USE_CHART 1
#define LV_USE_CHART 0
#define LV_USE_CHECKBOX 1
#define LV_USE_CHECKBOX 0
#define LV_USE_DROPDOWN 1
#define LV_USE_DROPDOWN 0
#define LV_USE_IMAGE 1
@@ -602,50 +602,50 @@
#define LV_LABEL_WAIT_CHAR_COUNT 3
#endif /* LV_USE_LABEL */
#define LV_USE_LED 1
#define LV_USE_LED 0
#define LV_USE_LINE 1
#define LV_USE_LINE 0
#define LV_USE_LIST 1
#define LV_USE_LIST 0
#define LV_USE_LOTTIE 0
#define LV_USE_MENU 1
#define LV_USE_MENU 0
#define LV_USE_MSGBOX 1
#define LV_USE_MSGBOX 0
#define LV_USE_ROLLER 1
#define LV_USE_ROLLER 0
#define LV_USE_SCALE 1
#define LV_USE_SCALE 0
#define LV_USE_SLIDER 1
#define LV_USE_SLIDER 0
#define LV_USE_SPAN 1
#define LV_USE_SPAN 0
#if LV_USE_SPAN
/*A line text can contain maximum num of span descriptor */
#define LV_SPAN_SNIPPET_STACK_SIZE 64
#endif /* LV_USE_SPAN */
#define LV_USE_SPINBOX 1
#define LV_USE_SPINBOX 0
#define LV_USE_SPINNER 1
#define LV_USE_SPINNER 0
#define LV_USE_SWITCH 1
#define LV_USE_SWITCH 0
#define LV_USE_TEXTAREA 1
#define LV_USE_TEXTAREA 0
#if LV_USE_TEXTAREA
#define LV_TEXTAREA_DEF_PWD_SHOW_TIME 1500
#endif /* LV_USE_TEXTAREA */
#define LV_USE_TABLE 1
#define LV_USE_TABLE 0
#define LV_USE_TABVIEW 1
#define LV_USE_TABVIEW 0
#define LV_USE_TILEVIEW 1
#define LV_USE_TILEVIEW 0
#define LV_USE_VIDEO 0
#define LV_USE_WIN 1
#define LV_USE_WIN 0
/*====================
* THEMES
@@ -657,26 +657,26 @@
/*0: Light mode; 1: Dark mode*/
#define LV_THEME_DEFAULT_DARK 0
/*1: Enable grow on press*/
#define LV_THEME_DEFAULT_GROW 1
#define LV_THEME_DEFAULT_GROW 0
/*Default transition time in [ms]*/
#define LV_THEME_DEFAULT_TRANSITION_TIME 80
#endif /* LV_USE_THEME_DEFAULT */
/*A very simple theme that is a good starting point for a custom theme*/
#define LV_USE_THEME_SIMPLE 1
#define LV_USE_THEME_SIMPLE 0
/*A theme designed for monochrome displays*/
#define LV_USE_THEME_MONO 1
#define LV_USE_THEME_MONO 0
/*====================
* LAYOUTS
*====================*/
/*A layout similar to Flexbox in CSS.*/
#define LV_USE_FLEX 1
#define LV_USE_FLEX 0
/*A layout similar to Grid in CSS.*/
#define LV_USE_GRID 1
#define LV_USE_GRID 0
/*====================
* 3RD PARTS LIBRARIES
@@ -953,7 +953,7 @@
*====================*/
/*Use SDL to open window on PC and handle mouse and keyboard*/
#define LV_USE_SDL 1
#define LV_USE_SDL 0
#if LV_USE_SDL
#define LV_SDL_INCLUDE_PATH <SDL2/SDL.h>
/*LV_DISPLAY_RENDER_MODE_DIRECT is recommended for best performance*/
@@ -1080,7 +1080,7 @@
#endif /* LV_USE_QNX */
/*Gui Guider simulator*/
#define LV_USE_GUIDER_SIMULATOR 1
#define LV_USE_GUIDER_SIMULATOR 0
#if LV_USE_GUIDER_SIMULATOR
/* Resize the simulator window. */
#define LV_GUIDER_SIMULATOR_WINDOW_ZOOM 1