chore: update to LVGL 8.4 (#5038)

This commit is contained in:
philmoz
2025-05-05 11:39:38 +10:00
committed by GitHub
parent c8c62737d5
commit 75fb538663
19 changed files with 1452 additions and 1800 deletions
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -113,7 +113,7 @@ function make_bootloader_font() {
local size=$3
local dir=$4
lv_font_conv --no-prefilter --bpp 2 --size ${size} \
lv_font_conv --no-prefilter --bpp 1 --size ${size} --no-compress \
--font ${TTF_DIR}${ttf} -r ${ASCII} \
--font ${SYMBOLS_FONT} -r ${BL_SYMBOLS} \
--format lvgl -o ${dir}/lv_font_${name}.c --force-fast-kern-format
+220 -307
View File
@@ -1,7 +1,7 @@
/*******************************************************************************
* Size: 11 px
* Bpp: 2
* Opts: --no-prefilter --bpp 2 --size 11 --font ../Roboto/Roboto-Regular.ttf -r 0x20-0x7F --font ../../thirdparty/lvgl/scripts/built_in_font/FontAwesome5-Solid+Brands+Regular.woff -r 61671,63650,63426,61453,61787,61452,61931,62087 --format lvgl -o sml/lv_font_bl.c --force-fast-kern-format
* Bpp: 1
* Opts: --no-prefilter --bpp 1 --size 11 --no-compress --font ../Roboto/Roboto-Regular.ttf -r 0x20-0x7F --font ../../thirdparty/lvgl/scripts/built_in_font/FontAwesome5-Solid+Brands+Regular.woff -r 61671,63650,63426,61453,61787,61452,61931,62087 --format lvgl -o sml/lv_font_bl.c --force-fast-kern-format
******************************************************************************/
#ifdef LV_LVGL_H_INCLUDE_SIMPLE
@@ -23,410 +23,323 @@
/*Store the image of the glyphs*/
static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
/* U+0020 " " */
0x0,
/* U+0021 "!" */
0x30, 0x60, 0xc1, 0x83, 0x4, 0x1d, 0x80,
0xf9,
/* U+0022 "\"" */
0x54, 0xa8, 0x8,
0xf0,
/* U+0023 "#" */
0xa, 0x30, 0x94, 0x40, 0xbf, 0x20, 0x85, 0x5,
0x90, 0x1f, 0xe0, 0xa2, 0x9, 0x44, 0x0,
0x29, 0x2f, 0xd4, 0x53, 0xe5, 0x24,
/* U+0024 "$" */
0xf, 0xe8, 0x27, 0xc8, 0x30, 0x69, 0x81, 0x45,
0xa1, 0x9b, 0xe, 0x93, 0x4, 0x8f, 0xa0, 0x98,
0x0,
0x23, 0xa3, 0x14, 0x18, 0x31, 0x71, 0x0,
/* U+0025 "%" */
0x28, 0x86, 0x51, 0x10, 0x14, 0x4a, 0xa, 0x8c,
0x1e, 0x9a, 0x4, 0xd0, 0x60, 0x44, 0x8, 0x3a,
0x80,
0xe1, 0x4a, 0xa7, 0x81, 0xe5, 0x52, 0x87,
/* U+0026 "&" */
0x7, 0x90, 0xa4, 0xc2, 0x95, 0x6, 0xe0, 0xdd,
0x88, 0xc3, 0x63, 0x3, 0xc0, 0xbd, 0x68,
0x71, 0x45, 0x18, 0x62, 0x59, 0x9d,
/* U+0027 "'" */
0x5e, 0x0,
0xc0,
/* U+0028 "(" */
0x2, 0x81, 0x82, 0x41, 0x85, 0x81, 0x82, 0xc2,
0xc2, 0xc2, 0x60, 0xa0, 0xe0,
0x29, 0x49, 0x24, 0x89, 0x10,
/* U+0029 ")" */
0x83, 0x61, 0x48, 0x18, 0x2c, 0x2c, 0x2c, 0x2c,
0xc, 0x8, 0xc, 0x1e,
0x89, 0x12, 0x49, 0x29, 0x0,
/* U+002A "*" */
0x6, 0x5, 0x6a, 0x2d, 0x6, 0xc0, 0x44,
0x25, 0x5c, 0xa1, 0x0,
/* U+002B "+" */
0x2, 0x83, 0x30, 0x66, 0x5, 0xfa, 0x3, 0x6,
0x60, 0x0,
0x21, 0x9, 0xf2, 0x10,
/* U+002C "," */
0x66, 0x40,
0x50,
/* U+002D "-" */
0xb8,
0xe0,
/* U+002E "." */
0xd, 0x80,
0x80,
/* U+002F "/" */
0xb, 0xd, 0x5, 0x21, 0x61, 0x28, 0x28, 0x34,
0x14, 0x84, 0x86,
0x11, 0x22, 0x24, 0x48, 0x80,
/* U+0030 "0" */
0x1f, 0x40, 0xc1, 0x8c, 0x9, 0x50, 0x19, 0x80,
0xcc, 0x9, 0x30, 0x60, 0x7d, 0x0,
0x74, 0x63, 0x18, 0xc6, 0x2e,
/* U+0031 "1" */
0x5, 0x9b, 0x85, 0x85, 0x85, 0x85, 0x85, 0x85,
0x80,
0x3c, 0x92, 0x49,
/* U+0032 "2" */
0x2f, 0x43, 0x83, 0x43, 0x48, 0x6c, 0x36, 0x85,
0x21, 0x48, 0x4f, 0xe8,
0x74, 0x62, 0x31, 0x11, 0x1f,
/* U+0033 "3" */
0x2f, 0x43, 0x3, 0x43, 0x61, 0x5c, 0x1d, 0x87,
0x4a, 0xc1, 0x82, 0xf2, 0x0,
0x74, 0x42, 0x60, 0x86, 0x2e,
/* U+0034 "4" */
0xa, 0xc3, 0x78, 0x2d, 0xc1, 0x26, 0xc, 0x19,
0x7f, 0x6, 0xc3, 0xb0,
0x8, 0x62, 0x8a, 0x4b, 0xf0, 0x82,
/* U+0035 "5" */
0x2f, 0x92, 0x43, 0x41, 0xdf, 0x40, 0x41, 0x40,
0xcc, 0x60, 0xa0, 0xfa, 0x0,
0x7a, 0x21, 0xe0, 0x86, 0x2e,
/* U+0036 "6" */
0x5, 0xa0, 0xa0, 0x6c, 0x3b, 0xb8, 0x70, 0x49,
0x1, 0x8c, 0x12, 0xf, 0x40,
0x32, 0x21, 0xe8, 0xc6, 0x2e,
/* U+0037 "7" */
0x7f, 0x41, 0xa4, 0x36, 0x1a, 0x43, 0x61, 0x98,
0x36, 0x19, 0x82,
0xf8, 0x44, 0x22, 0x11, 0x8,
/* U+0038 "8" */
0x1f, 0x40, 0xc1, 0xa6, 0xc, 0xf, 0xa0, 0x60,
0xd5, 0x1, 0x8c, 0x12, 0x3e, 0x80,
0x74, 0x62, 0xe8, 0xc6, 0x2e,
/* U+0039 "9" */
0x2f, 0x23, 0x83, 0x18, 0x12, 0xb0, 0x68, 0xf4,
0x43, 0x61, 0x9c, 0xf, 0x0,
0x74, 0x63, 0x17, 0x84, 0x4c,
/* U+003A ":" */
0x30, 0xfe, 0xc0,
0x84,
/* U+003B ";" */
0x60, 0xfc, 0xd1, 0x0,
0x40, 0x54,
/* U+003C "<" */
0x9, 0x87, 0x8b, 0xc, 0xf0, 0x66,
0x1b, 0xa0, 0xe0, 0x80,
/* U+003D "=" */
0x3f, 0x21, 0xf7, 0xe4,
0xf0, 0xf0,
/* U+003E ">" */
0x60, 0xe7, 0x90, 0xce, 0x8f, 0x5, 0x6,
0x83, 0x6, 0xc8, 0x0,
/* U+003F "?" */
0x2f, 0xc, 0x30, 0x4c, 0x16, 0x16, 0x85, 0x7,
0xf6, 0x0,
0x72, 0x42, 0x23, 0x10, 0x4,
/* U+0040 "@" */
0xa, 0xb2, 0x1a, 0xd, 0x20, 0x81, 0x44, 0x81,
0xa, 0x31, 0x14, 0x60, 0x85, 0xc6, 0x8, 0x5a,
0x31, 0x88, 0x19, 0x46, 0x88, 0x18, 0x3f, 0x9a,
0x90, 0x80,
0x1e, 0x30, 0x93, 0x72, 0x9a, 0x4d, 0x26, 0x93,
0xb6, 0x40, 0x1e, 0x0,
/* U+0041 "A" */
0xb, 0xf, 0x3c, 0x1d, 0x98, 0x76, 0x48, 0x52,
0x30, 0x5f, 0xc0, 0x60, 0xa4, 0x90, 0xd8,
0x10, 0x30, 0xa1, 0x44, 0x4f, 0x91, 0x41,
/* U+0042 "B" */
0x3f, 0x20, 0xc2, 0xc1, 0x81, 0xc1, 0xf9, 0x6,
0x16, 0xc, 0x2c, 0x18, 0x58, 0x3f, 0x20,
0xf4, 0x63, 0xe8, 0xc6, 0x3e,
/* U+0043 "C" */
0x5, 0xe4, 0x1a, 0xd, 0x30, 0x96, 0x83, 0x98,
0x3d, 0x84, 0xa3, 0x41, 0xa0, 0xbc, 0x80,
0x7b, 0x38, 0x60, 0x82, 0x1c, 0xde,
/* U+0044 "D" */
0x3e, 0x82, 0xc0, 0xe0, 0xc2, 0x93, 0x9, 0x8c,
0x26, 0x30, 0xa4, 0xc0, 0xe0, 0xfa, 0x0,
0xf2, 0x28, 0x61, 0x86, 0x18, 0xbc,
/* U+0045 "E" */
0x3f, 0x46, 0x1d, 0x87, 0x7e, 0x4c, 0x3b, 0xe,
0xc3, 0xbf, 0x80,
0xfc, 0x21, 0xe8, 0x42, 0x1f,
/* U+0046 "F" */
0x3f, 0x46, 0x1d, 0x87, 0x61, 0xdf, 0x81, 0x87,
0x61, 0xd8, 0x60,
0xfc, 0x21, 0xf, 0x42, 0x10,
/* U+0047 "G" */
0x5, 0xe4, 0x1a, 0xd, 0x30, 0xca, 0x83, 0x98,
0x1e, 0x8c, 0x26, 0x34, 0xc, 0xb, 0xd0,
0x7b, 0x38, 0x20, 0x9e, 0x14, 0x5e,
/* U+0048 "H" */
0x30, 0xd9, 0x86, 0xcc, 0x36, 0x7f, 0x8c, 0x36,
0x61, 0xb3, 0xd, 0x98, 0x6c,
0x86, 0x18, 0x7f, 0x86, 0x18, 0x61,
/* U+0049 "I" */
0x30, 0x60, 0xc1, 0x83, 0x6, 0xc, 0x18,
0xff,
/* U+004A "J" */
0xd, 0x87, 0x61, 0xd8, 0x76, 0x1d, 0x87, 0x65,
0x1, 0x82, 0xf2, 0x0,
0x8, 0x42, 0x10, 0x86, 0x2e,
/* U+004B "K" */
0x30, 0xb0, 0x60, 0xd0, 0x66, 0x85, 0xd8, 0x6e,
0xd0, 0xb0, 0x61, 0x60, 0x70, 0x61, 0x50,
0x8a, 0x4b, 0x38, 0xe2, 0x48, 0xa3,
/* U+004C "L" */
0x30, 0xec, 0x3b, 0xe, 0xc3, 0xb0, 0xec, 0x3b,
0xe, 0xfd, 0x0,
0x84, 0x21, 0x8, 0x42, 0x1f,
/* U+004D "M" */
0x34, 0x37, 0x1e, 0xd, 0xc7, 0x82, 0xa8, 0xd8,
0x1b, 0x19, 0x8c, 0xc6, 0x4e, 0x31, 0x83, 0xc3,
0x18, 0x34, 0x60,
0xc3, 0xc3, 0xc3, 0xa5, 0xa5, 0x99, 0x99, 0x99,
/* U+004E "N" */
0x34, 0x2c, 0xf0, 0x59, 0xd0, 0x19, 0x98, 0x33,
0x1c, 0xcc, 0x14, 0xcc, 0x2f, 0x18, 0x4e,
0x87, 0x1e, 0x69, 0x96, 0x78, 0xe1,
/* U+004F "O" */
0x5, 0xe4, 0x1a, 0xd, 0x30, 0x9d, 0x83, 0x6c,
0x1b, 0x30, 0x9c, 0xd0, 0x68, 0x2f, 0x20,
0x79, 0x28, 0x61, 0x86, 0x14, 0xde,
/* U+0050 "P" */
0x3f, 0x20, 0xc2, 0xd3, 0xa, 0x4c, 0x2d, 0x3f,
0x20, 0xc3, 0xd8, 0x7b, 0xe,
0xfa, 0x18, 0x61, 0xfa, 0x8, 0x20,
/* U+0051 "Q" */
0x5, 0xe4, 0x1a, 0xd, 0x30, 0x99, 0x83, 0x6c,
0x1b, 0x70, 0x98, 0xd0, 0x68, 0x2f, 0x83, 0xd4,
0xf, 0x80,
0x79, 0x28, 0x61, 0x86, 0x14, 0x9e, 0xc,
/* U+0052 "R" */
0x3f, 0x20, 0xc2, 0xc1, 0x85, 0x83, 0xb, 0x7,
0xe0, 0xb0, 0x61, 0x60, 0x60, 0x61, 0x68,
0xf4, 0x63, 0x1f, 0x4a, 0x51,
/* U+0053 "S" */
0x1f, 0x82, 0xc0, 0xe0, 0xc2, 0x41, 0x68, 0x7a,
0xd0, 0xf6, 0x38, 0x58, 0x1f, 0x90,
0x7a, 0x18, 0x18, 0x18, 0x18, 0x5e,
/* U+0054 "T" */
0xbf, 0x90, 0xb0, 0xf6, 0x1e, 0xc3, 0xd8, 0x7b,
0xf, 0x61, 0xec, 0x20,
0xfe, 0x20, 0x40, 0x81, 0x2, 0x4, 0x8,
/* U+0055 "U" */
0x70, 0xa5, 0x61, 0x4a, 0xc2, 0x95, 0x85, 0x2b,
0xa, 0x4c, 0x29, 0x30, 0xb0, 0xbe, 0x40,
0x86, 0x18, 0x61, 0x86, 0x1c, 0x5e,
/* U+0056 "V" */
0x90, 0x99, 0xc2, 0xd3, 0xb, 0x4, 0x8c, 0x16,
0x61, 0xb7, 0xc, 0xe8, 0x76, 0x10,
0x82, 0x89, 0x12, 0x22, 0x85, 0xa, 0x8,
/* U+0057 "W" */
0x90, 0x50, 0x12, 0xa0, 0x78, 0x18, 0x30, 0x58,
0x30, 0x62, 0xa5, 0x40, 0x98, 0x68, 0x81, 0xb0,
0x70, 0x6e, 0x5, 0x86, 0xd0, 0x30, 0x0,
0x8c, 0x93, 0x24, 0xc9, 0x52, 0x53, 0xc, 0xc3,
0x30, 0x84,
/* U+0058 "X" */
0x70, 0xb0, 0x50, 0xa0, 0x5b, 0x86, 0x74, 0x33,
0xa1, 0xb7, 0xa, 0x4a, 0xe, 0x16, 0x80,
0x44, 0xd8, 0xa0, 0x83, 0x5, 0x13, 0x22,
/* U+0059 "Y" */
0xa0, 0x58, 0x30, 0x30, 0x28, 0x61, 0xba, 0x6,
0xb0, 0xf6, 0x1e, 0xc3, 0xd8, 0x40,
0x44, 0x88, 0xa1, 0x41, 0x2, 0x4, 0x8,
/* U+005A "Z" */
0x7f, 0x83, 0xa4, 0x33, 0x87, 0x61, 0xd2, 0x19,
0xc3, 0xb0, 0xeb, 0xf8,
0xfc, 0x21, 0xc, 0x21, 0xc, 0x3f,
/* U+005B "[" */
0x38, 0xc1, 0x83, 0x6, 0xc, 0x18, 0x30, 0x60,
0xc1, 0xc0,
0xea, 0xaa, 0xac,
/* U+005C "\\" */
0x90, 0xd0, 0x6c, 0x33, 0x6, 0xc3, 0x48, 0x4c,
0x1b, 0xc, 0x80,
0x84, 0x44, 0x22, 0x11, 0x10,
/* U+005D "]" */
0xf0, 0x30, 0x60, 0xc1, 0x83, 0x6, 0xc, 0x18,
0x33, 0xc0,
0xd5, 0x55, 0x5c,
/* U+005E "^" */
0x1c, 0x2b, 0xb, 0x61, 0x46, 0x0,
0x26, 0x59,
/* U+005F "_" */
0xfe,
0xf8,
/* U+0060 "`" */
0x10, 0x40,
0xc8,
/* U+0061 "a" */
0x2f, 0x20, 0x41, 0x81, 0xa6, 0x38, 0x31, 0x81,
0x82, 0xe8, 0x80,
0x74, 0x5f, 0x18, 0xbc,
/* U+0062 "b" */
0x70, 0xce, 0x19, 0xee, 0x1c, 0x12, 0xb0, 0x33,
0x81, 0x9c, 0x12, 0xbb, 0x80,
0x84, 0x3d, 0x18, 0xc6, 0x3e,
/* U+0063 "c" */
0x1f, 0x20, 0xc1, 0x8c, 0x19, 0x83, 0xb0, 0x40,
0x7c, 0x80,
0x74, 0x61, 0x8, 0xb8,
/* U+0064 "d" */
0xd, 0x21, 0xa4, 0x7e, 0x4c, 0x1a, 0xa0, 0x4a,
0x81, 0x26, 0x9, 0x1e, 0xd0,
0x8, 0x5f, 0x18, 0xc6, 0x2f,
/* U+0065 "e" */
0x1f, 0x40, 0xc1, 0x8f, 0xe5, 0x41, 0xd8, 0x10,
0x3e, 0x80,
0x74, 0x7f, 0xc, 0xb8,
/* U+0066 "f" */
0x7, 0x12, 0xc, 0x17, 0x93, 0xb, 0xb, 0xb,
0xb, 0x0,
0x34, 0x4e, 0x44, 0x44, 0x40,
/* U+0067 "g" */
0x1f, 0x49, 0x83, 0x54, 0x9, 0x50, 0x24, 0xc1,
0xa3, 0xf2, 0x20, 0xc1, 0x79, 0x0,
0x7c, 0x63, 0x18, 0xbc, 0x2e,
/* U+0068 "h" */
0x70, 0xce, 0x19, 0xee, 0x1c, 0x18, 0xe0, 0x95,
0x82, 0x56, 0x9, 0x58, 0x24,
0x84, 0x3d, 0x18, 0xc6, 0x31,
/* U+0069 "i" */
0x30, 0xb3, 0x33, 0x33,
0xbf,
/* U+006A "j" */
0x4, 0x1d, 0x83, 0x6, 0xc, 0x18, 0x31, 0xdd,
0x45, 0x55, 0x70,
/* U+006B "k" */
0x70, 0xce, 0x19, 0xc7, 0x1d, 0xc0, 0xf8, 0x27,
0xb0, 0x39, 0x23, 0x83, 0x0,
0x84, 0x25, 0x4c, 0x52, 0x52,
/* U+006C "l" */
0x33, 0x33, 0x33, 0x33,
0xff,
/* U+006D "m" */
0x7b, 0x9f, 0x2b, 0x7, 0xe, 0xc0, 0x90, 0x6c,
0x9, 0x6, 0xc0, 0x90, 0x6c, 0x9, 0x6,
0xf7, 0x44, 0x62, 0x31, 0x18, 0x8c, 0x44,
/* U+006E "n" */
0x7b, 0x87, 0x6, 0x38, 0x25, 0x60, 0x95, 0x82,
0x56, 0x9,
0xf4, 0x63, 0x18, 0xc4,
/* U+006F "o" */
0x1f, 0x40, 0xc1, 0x2a, 0x3, 0x30, 0x18, 0xc1,
0x23, 0xe8,
0x74, 0x63, 0x18, 0xb8,
/* U+0070 "p" */
0x7b, 0x87, 0x4, 0xac, 0xc, 0xe0, 0x67, 0x4,
0xae, 0xe1, 0xc3, 0x38, 0x60,
0xf4, 0x63, 0x18, 0xfa, 0x10,
/* U+0071 "q" */
0x1f, 0x49, 0x82, 0x54, 0x9, 0x50, 0x24, 0xc1,
0x23, 0xf2, 0x1a, 0x43, 0x48,
0x7c, 0x63, 0x18, 0xbc, 0x21,
/* U+0072 "r" */
0xc, 0xf9, 0x58, 0x1c, 0xe, 0x7, 0x3, 0x80,
0xf2, 0x49, 0x0,
/* U+0073 "s" */
0x2f, 0x20, 0xc1, 0x83, 0x90, 0xcd, 0x8c, 0xc,
0x17, 0x90,
0x69, 0xc3, 0x9e,
/* U+0074 "t" */
0x10, 0xb0, 0x5e, 0x6, 0x16, 0x16, 0x16, 0x15,
0x80,
0x4b, 0xa4, 0x93,
/* U+0075 "u" */
0x60, 0x4a, 0x81, 0x2a, 0x4, 0xa8, 0x12, 0x60,
0xd2, 0xf9,
0x8c, 0x63, 0x18, 0xbc,
/* U+0076 "v" */
0x90, 0x63, 0xc, 0xc, 0x90, 0x4e, 0x13, 0xc1,
0xb0, 0x80,
0x8a, 0x54, 0xa3, 0x10,
/* U+0077 "w" */
0x91, 0x81, 0x8c, 0x58, 0xc0, 0xce, 0x64, 0x1a,
0xd6, 0x15, 0x83, 0x83, 0x60, 0x90, 0x0,
0x89, 0x59, 0x5a, 0x66, 0x66, 0x24,
/* U+0078 "x" */
0x61, 0xc1, 0xb8, 0x6e, 0xd, 0xc1, 0x6e, 0x6,
0x6, 0x0,
0x4a, 0x8c, 0x65, 0x24,
/* U+0079 "y" */
0x90, 0x63, 0xc, 0xc, 0xc2, 0x9c, 0x36, 0x86,
0xc3, 0xa0, 0x9c, 0x30,
0x8a, 0x54, 0xa2, 0x10, 0x98,
/* U+007A "z" */
0x7f, 0x6, 0xd0, 0xa8, 0x13, 0x86, 0xc3, 0x5f,
0x80,
0xf8, 0x88, 0x8c, 0x7c,
/* U+007B "{" */
0x2, 0x81, 0x81, 0x40, 0x90, 0x49, 0x61, 0x48,
0x24, 0xa, 0x3, 0x84, 0xa0,
0x29, 0x25, 0x12, 0x48, 0x80,
/* U+007C "|" */
0x22, 0x22, 0x22, 0x22, 0x21,
0xff, 0xc0,
/* U+007D "}" */
0x83, 0x61, 0x61, 0x61, 0x48, 0x5a, 0x48, 0x30,
0xb0, 0xb0, 0x41, 0x0,
0x89, 0x24, 0x52, 0x4a, 0x0,
/* U+007E "~" */
0x2e, 0x4, 0x43, 0xe0,
0xe6, 0x60,
/* U+F00C "" */
0xf, 0xfe, 0x3b, 0xc1, 0xf3, 0xf0, 0x86, 0x7e,
0x3d, 0x1, 0xf8, 0x17, 0xa7, 0xe0, 0xd7, 0xf0,
0x7a, 0xf8, 0x3f, 0x50, 0x3c,
0x0, 0x60, 0x1c, 0x7, 0x71, 0xcf, 0x70, 0xfc,
0xf, 0x0, 0xc0,
/* U+F00D "" */
0x60, 0x9c, 0xf8, 0x7c, 0x9f, 0xd0, 0x5f, 0x41,
0x3f, 0x80, 0xfa, 0xf8, 0xf4, 0xf, 0x2c, 0x1a,
0x0,
0xc3, 0xe7, 0x7e, 0x3c, 0x7e, 0xe7, 0xc3,
/* U+F0E7 "" */
0x7, 0xd0, 0x4f, 0xd0, 0x57, 0xc1, 0xaf, 0x96,
0x3f, 0xd1, 0xfe, 0x2, 0xde, 0x83, 0xbc, 0x1c,
0xe8, 0x75, 0x87, 0xb4, 0x3f, 0xe0,
0x78, 0xf3, 0xc7, 0xff, 0xff, 0x86, 0xc, 0x30,
0x60, 0x80,
/* U+F15B "" */
0x5e, 0xd, 0xfd, 0x60, 0xfe, 0xbc, 0x7f, 0xa,
0x3f, 0xf3, 0xff, 0x9f, 0xfc, 0xff, 0xe7, 0xff,
0x3f, 0xf9, 0xff, 0xca, 0xaf, 0x80,
0xfa, 0xfb, 0xf8, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff,
/* U+F1EB "" */
0xf, 0xfe, 0x2b, 0x7e, 0x90, 0xcf, 0xeb, 0xf9,
0x2f, 0x21, 0xeb, 0xca, 0x82, 0x68, 0x85, 0xa1,
0x5f, 0xe4, 0x39, 0xf2, 0x7, 0xc1, 0xe4, 0x3f,
0xf8, 0x9e, 0xf, 0xf9, 0xf0, 0x7f, 0xf0, 0x24,
0x3c,
0x0, 0x0, 0x7f, 0x87, 0x87, 0xb8, 0x7, 0xf,
0xc0, 0x61, 0x80, 0x0, 0x0, 0xc0, 0x7, 0x0,
0xc, 0x0,
/* U+F287 "" */
0xf, 0xfe, 0x45, 0xe0, 0xff, 0x65, 0x87, 0x3a,
0x41, 0xe4, 0x1f, 0x5d, 0x7b, 0xcd, 0xc0, 0x60,
0xd4, 0xf, 0xb0, 0xff, 0xe0, 0xb7, 0xa0, 0xff,
0xae, 0xf, 0xfe, 0x28,
0x1, 0x80, 0x1e, 0xe, 0x80, 0xbf, 0xff, 0xe2,
0x8, 0x8, 0x0, 0x16, 0x0, 0x38,
/* U+F7C2 "" */
0x9, 0x70, 0x4f, 0xf8, 0x76, 0x23, 0x7c, 0xc4,
0x6f, 0xfe, 0x7f, 0xf3, 0xff, 0x9f, 0xfc, 0xff,
0xe7, 0xff, 0x3f, 0xf8, 0x15, 0xe4,
0x3f, 0x55, 0xd5, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff,
/* U+F8A2 "" */
0xf, 0xfe, 0x56, 0x14, 0x87, 0x58, 0x3d, 0x7,
0x59, 0xff, 0xf0, 0xfd, 0x5f, 0x1, 0xd0, 0xff,
0x21, 0xfc
0x0, 0x24, 0xd, 0x81, 0xff, 0xf6, 0x0, 0x40,
0x0
};
@@ -436,109 +349,109 @@ static LV_ATTRIBUTE_LARGE_CONST const uint8_t glyph_bitmap[] = {
static const lv_font_fmt_txt_glyph_dsc_t glyph_dsc[] = {
{.bitmap_index = 0, .adv_w = 0, .box_w = 0, .box_h = 0, .ofs_x = 0, .ofs_y = 0} /* id = 0 reserved */,
{.bitmap_index = 0, .adv_w = 44, .box_w = 0, .box_h = 0, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 0, .adv_w = 45, .box_w = 3, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 7, .adv_w = 56, .box_w = 3, .box_h = 3, .ofs_x = 0, .ofs_y = 5},
{.bitmap_index = 10, .adv_w = 108, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 25, .adv_w = 99, .box_w = 6, .box_h = 11, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 42, .adv_w = 129, .box_w = 8, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 59, .adv_w = 109, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 74, .adv_w = 31, .box_w = 2, .box_h = 3, .ofs_x = 0, .ofs_y = 5},
{.bitmap_index = 76, .adv_w = 60, .box_w = 4, .box_h = 12, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 89, .adv_w = 61, .box_w = 4, .box_h = 12, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 101, .adv_w = 76, .box_w = 5, .box_h = 5, .ofs_x = 0, .ofs_y = 3},
{.bitmap_index = 108, .adv_w = 100, .box_w = 6, .box_h = 6, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 118, .adv_w = 35, .box_w = 2, .box_h = 3, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 120, .adv_w = 49, .box_w = 3, .box_h = 1, .ofs_x = 0, .ofs_y = 3},
{.bitmap_index = 121, .adv_w = 46, .box_w = 3, .box_h = 2, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 123, .adv_w = 73, .box_w = 5, .box_h = 9, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 134, .adv_w = 99, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 148, .adv_w = 99, .box_w = 4, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 157, .adv_w = 99, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 169, .adv_w = 99, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 182, .adv_w = 99, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 194, .adv_w = 99, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 207, .adv_w = 99, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 220, .adv_w = 99, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 231, .adv_w = 99, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 245, .adv_w = 99, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 258, .adv_w = 43, .box_w = 2, .box_h = 6, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 261, .adv_w = 37, .box_w = 2, .box_h = 8, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 265, .adv_w = 89, .box_w = 5, .box_h = 5, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 271, .adv_w = 97, .box_w = 6, .box_h = 3, .ofs_x = 0, .ofs_y = 2},
{.bitmap_index = 275, .adv_w = 92, .box_w = 6, .box_h = 5, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 282, .adv_w = 83, .box_w = 5, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 292, .adv_w = 158, .box_w = 10, .box_h = 10, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 318, .adv_w = 115, .box_w = 8, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 333, .adv_w = 110, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 348, .adv_w = 115, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 363, .adv_w = 115, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 378, .adv_w = 100, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 389, .adv_w = 97, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 400, .adv_w = 120, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 415, .adv_w = 125, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 428, .adv_w = 48, .box_w = 3, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 435, .adv_w = 97, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 447, .adv_w = 110, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 462, .adv_w = 95, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 473, .adv_w = 154, .box_w = 9, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 492, .adv_w = 125, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 507, .adv_w = 121, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 522, .adv_w = 111, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 535, .adv_w = 121, .box_w = 7, .box_h = 10, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 553, .adv_w = 108, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 568, .adv_w = 104, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 582, .adv_w = 105, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 594, .adv_w = 114, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 609, .adv_w = 112, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 623, .adv_w = 156, .box_w = 10, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 646, .adv_w = 110, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 661, .adv_w = 106, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 675, .adv_w = 105, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 687, .adv_w = 47, .box_w = 3, .box_h = 11, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 697, .adv_w = 72, .box_w = 5, .box_h = 9, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 708, .adv_w = 47, .box_w = 3, .box_h = 11, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 718, .adv_w = 74, .box_w = 5, .box_h = 4, .ofs_x = 0, .ofs_y = 4},
{.bitmap_index = 724, .adv_w = 79, .box_w = 5, .box_h = 1, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 725, .adv_w = 54, .box_w = 3, .box_h = 2, .ofs_x = 0, .ofs_y = 7},
{.bitmap_index = 727, .adv_w = 96, .box_w = 6, .box_h = 6, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 738, .adv_w = 99, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 751, .adv_w = 92, .box_w = 6, .box_h = 6, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 761, .adv_w = 99, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 774, .adv_w = 93, .box_w = 6, .box_h = 6, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 784, .adv_w = 61, .box_w = 4, .box_h = 9, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 794, .adv_w = 99, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 808, .adv_w = 97, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 821, .adv_w = 43, .box_w = 2, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 825, .adv_w = 42, .box_w = 3, .box_h = 10, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 833, .adv_w = 89, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 846, .adv_w = 43, .box_w = 2, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 850, .adv_w = 154, .box_w = 9, .box_h = 6, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 865, .adv_w = 97, .box_w = 6, .box_h = 6, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 875, .adv_w = 100, .box_w = 6, .box_h = 6, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 885, .adv_w = 99, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 898, .adv_w = 100, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 911, .adv_w = 60, .box_w = 4, .box_h = 7, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 919, .adv_w = 91, .box_w = 6, .box_h = 6, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 929, .adv_w = 57, .box_w = 4, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 938, .adv_w = 97, .box_w = 6, .box_h = 6, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 948, .adv_w = 85, .box_w = 6, .box_h = 6, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 958, .adv_w = 132, .box_w = 9, .box_h = 6, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 973, .adv_w = 87, .box_w = 6, .box_h = 6, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 983, .adv_w = 83, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 995, .adv_w = 87, .box_w = 6, .box_h = 6, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 1004, .adv_w = 60, .box_w = 4, .box_h = 11, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 1017, .adv_w = 43, .box_w = 2, .box_h = 10, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 1022, .adv_w = 60, .box_w = 4, .box_h = 11, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 1034, .adv_w = 120, .box_w = 7, .box_h = 2, .ofs_x = 0, .ofs_y = 2},
{.bitmap_index = 1038, .adv_w = 176, .box_w = 11, .box_h = 9, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 1059, .adv_w = 121, .box_w = 8, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 1076, .adv_w = 110, .box_w = 8, .box_h = 12, .ofs_x = -1, .ofs_y = -2},
{.bitmap_index = 1098, .adv_w = 132, .box_w = 9, .box_h = 12, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 1120, .adv_w = 220, .box_w = 14, .box_h = 11, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 1153, .adv_w = 220, .box_w = 14, .box_h = 10, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 1181, .adv_w = 132, .box_w = 9, .box_h = 12, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 1203, .adv_w = 177, .box_w = 12, .box_h = 8, .ofs_x = 0, .ofs_y = 0}
{.bitmap_index = 0, .adv_w = 44, .box_w = 1, .box_h = 1, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 1, .adv_w = 45, .box_w = 1, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 2, .adv_w = 56, .box_w = 2, .box_h = 2, .ofs_x = 1, .ofs_y = 6},
{.bitmap_index = 3, .adv_w = 108, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 9, .adv_w = 99, .box_w = 5, .box_h = 10, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 16, .adv_w = 129, .box_w = 7, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 23, .adv_w = 109, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 29, .adv_w = 31, .box_w = 1, .box_h = 2, .ofs_x = 1, .ofs_y = 6},
{.bitmap_index = 30, .adv_w = 60, .box_w = 3, .box_h = 12, .ofs_x = 1, .ofs_y = -3},
{.bitmap_index = 35, .adv_w = 61, .box_w = 3, .box_h = 12, .ofs_x = 0, .ofs_y = -3},
{.bitmap_index = 40, .adv_w = 76, .box_w = 5, .box_h = 5, .ofs_x = 0, .ofs_y = 3},
{.bitmap_index = 44, .adv_w = 100, .box_w = 5, .box_h = 6, .ofs_x = 1, .ofs_y = 1},
{.bitmap_index = 48, .adv_w = 35, .box_w = 2, .box_h = 3, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 49, .adv_w = 49, .box_w = 3, .box_h = 1, .ofs_x = 0, .ofs_y = 3},
{.bitmap_index = 50, .adv_w = 46, .box_w = 1, .box_h = 1, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 51, .adv_w = 73, .box_w = 4, .box_h = 9, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 56, .adv_w = 99, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 61, .adv_w = 99, .box_w = 3, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 64, .adv_w = 99, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 69, .adv_w = 99, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 74, .adv_w = 99, .box_w = 6, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 80, .adv_w = 99, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 85, .adv_w = 99, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 90, .adv_w = 99, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 95, .adv_w = 99, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 100, .adv_w = 99, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 105, .adv_w = 43, .box_w = 1, .box_h = 6, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 106, .adv_w = 37, .box_w = 2, .box_h = 7, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 108, .adv_w = 89, .box_w = 5, .box_h = 5, .ofs_x = 1, .ofs_y = 1},
{.bitmap_index = 112, .adv_w = 97, .box_w = 4, .box_h = 3, .ofs_x = 1, .ofs_y = 2},
{.bitmap_index = 114, .adv_w = 92, .box_w = 5, .box_h = 5, .ofs_x = 1, .ofs_y = 1},
{.bitmap_index = 118, .adv_w = 83, .box_w = 5, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 123, .adv_w = 158, .box_w = 9, .box_h = 10, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 135, .adv_w = 115, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 142, .adv_w = 110, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 147, .adv_w = 115, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 153, .adv_w = 115, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 159, .adv_w = 100, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 164, .adv_w = 97, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 169, .adv_w = 120, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 175, .adv_w = 125, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 181, .adv_w = 48, .box_w = 1, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 182, .adv_w = 97, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 187, .adv_w = 110, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 193, .adv_w = 95, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 198, .adv_w = 154, .box_w = 8, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 206, .adv_w = 125, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 212, .adv_w = 121, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 218, .adv_w = 111, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 224, .adv_w = 121, .box_w = 6, .box_h = 9, .ofs_x = 1, .ofs_y = -1},
{.bitmap_index = 231, .adv_w = 108, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 236, .adv_w = 104, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 242, .adv_w = 105, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 249, .adv_w = 114, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 255, .adv_w = 112, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 262, .adv_w = 156, .box_w = 10, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 272, .adv_w = 110, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 279, .adv_w = 106, .box_w = 7, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 286, .adv_w = 105, .box_w = 6, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 292, .adv_w = 47, .box_w = 2, .box_h = 11, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 295, .adv_w = 72, .box_w = 4, .box_h = 9, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 300, .adv_w = 47, .box_w = 2, .box_h = 11, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 303, .adv_w = 74, .box_w = 4, .box_h = 4, .ofs_x = 0, .ofs_y = 4},
{.bitmap_index = 305, .adv_w = 79, .box_w = 5, .box_h = 1, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 306, .adv_w = 54, .box_w = 3, .box_h = 2, .ofs_x = 0, .ofs_y = 7},
{.bitmap_index = 307, .adv_w = 96, .box_w = 5, .box_h = 6, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 311, .adv_w = 99, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 316, .adv_w = 92, .box_w = 5, .box_h = 6, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 320, .adv_w = 99, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 325, .adv_w = 93, .box_w = 5, .box_h = 6, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 329, .adv_w = 61, .box_w = 4, .box_h = 9, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 334, .adv_w = 99, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 339, .adv_w = 97, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 344, .adv_w = 43, .box_w = 1, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 345, .adv_w = 42, .box_w = 2, .box_h = 10, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 348, .adv_w = 89, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 353, .adv_w = 43, .box_w = 1, .box_h = 8, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 354, .adv_w = 154, .box_w = 9, .box_h = 6, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 361, .adv_w = 97, .box_w = 5, .box_h = 6, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 365, .adv_w = 100, .box_w = 5, .box_h = 6, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 369, .adv_w = 99, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 374, .adv_w = 100, .box_w = 5, .box_h = 8, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 379, .adv_w = 60, .box_w = 3, .box_h = 6, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 382, .adv_w = 91, .box_w = 4, .box_h = 6, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 385, .adv_w = 57, .box_w = 3, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 388, .adv_w = 97, .box_w = 5, .box_h = 6, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 392, .adv_w = 85, .box_w = 5, .box_h = 6, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 396, .adv_w = 132, .box_w = 8, .box_h = 6, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 402, .adv_w = 87, .box_w = 5, .box_h = 6, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 406, .adv_w = 83, .box_w = 5, .box_h = 8, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 411, .adv_w = 87, .box_w = 5, .box_h = 6, .ofs_x = 1, .ofs_y = 0},
{.bitmap_index = 415, .adv_w = 60, .box_w = 3, .box_h = 11, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 420, .adv_w = 43, .box_w = 1, .box_h = 10, .ofs_x = 1, .ofs_y = -2},
{.bitmap_index = 422, .adv_w = 60, .box_w = 3, .box_h = 11, .ofs_x = 0, .ofs_y = -2},
{.bitmap_index = 427, .adv_w = 120, .box_w = 6, .box_h = 2, .ofs_x = 1, .ofs_y = 2},
{.bitmap_index = 429, .adv_w = 176, .box_w = 11, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 440, .adv_w = 121, .box_w = 8, .box_h = 7, .ofs_x = 0, .ofs_y = 1},
{.bitmap_index = 447, .adv_w = 110, .box_w = 7, .box_h = 11, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 457, .adv_w = 132, .box_w = 8, .box_h = 10, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 467, .adv_w = 220, .box_w = 14, .box_h = 10, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 485, .adv_w = 220, .box_w = 14, .box_h = 8, .ofs_x = 0, .ofs_y = 0},
{.bitmap_index = 499, .adv_w = 132, .box_w = 8, .box_h = 10, .ofs_x = 0, .ofs_y = -1},
{.bitmap_index = 509, .adv_w = 177, .box_w = 11, .box_h = 6, .ofs_x = 0, .ofs_y = 1}
};
/*---------------------
@@ -814,9 +727,9 @@ static lv_font_fmt_txt_dsc_t font_dsc = {
.kern_dsc = &kern_classes,
.kern_scale = 16,
.cmap_num = 2,
.bpp = 2,
.bpp = 1,
.kern_classes = 1,
.bitmap_format = 2,
.bitmap_format = 0,
#if LVGL_VERSION_MAJOR == 8
.cache = &cache
#endif
File diff suppressed because it is too large Load Diff
+129 -48
View File
@@ -1,42 +1,41 @@
set(LVGL_SOURCES_MINIMAL
core/lv_refr.c
draw/lv_draw_img.c
draw/lv_draw_label.c
draw/lv_draw_line.c
draw/lv_draw_mask.c
draw/lv_draw_rect.c
draw/lv_draw.c
draw/lv_draw_img.c
draw/lv_img_buf.c
draw/lv_img_cache.c
draw/lv_img_decoder.c
draw/lv_draw_label.c
draw/lv_draw_line.c
draw/lv_draw_rect.c
draw/lv_draw_transform.c
draw/sw/lv_draw_sw.c
draw/sw/lv_draw_sw_arc.c
draw/sw/lv_draw_sw_blend.c
draw/sw/lv_draw_sw_img.c
draw/sw/lv_draw_sw_layer.c
draw/sw/lv_draw_sw_letter.c
draw/sw/lv_draw_sw_line.c
draw/sw/lv_draw_sw_polygon.c
draw/sw/lv_draw_sw_rect.c
draw/sw/lv_draw_sw.c
draw/sw/lv_draw_sw_transform.c
# STM32 specific
draw/stm32_dma2d/lv_gpu_stm32_dma2d.c
hal/lv_hal_disp.c
hal/lv_hal_tick.c
font/lv_font.c
font/lv_font_fmt_txt.c
hal/lv_hal_disp.c
hal/lv_hal_tick.c
misc/lv_area.c
misc/lv_async.c
misc/lv_color.c
misc/lv_gc.c
misc/lv_ll.c
misc/lv_math.c
misc/lv_mem.c
misc/lv_timer.c
misc/lv_txt.c
misc/lv_utils.c
)
@@ -44,70 +43,152 @@ set(LVGL_SOURCES_MINIMAL
set(LVGL_SOURCES
${LVGL_SOURCES_MINIMAL}
core/lv_disp.c
core/lv_event.c
core/lv_group.c
core/lv_indev_scroll.c
core/lv_indev.c
core/lv_obj_class.c
core/lv_obj_draw.c
core/lv_obj_pos.c
core/lv_obj_scroll.c
core/lv_obj_style_gen.c
core/lv_obj_style.c
core/lv_obj_tree.c
core/lv_obj.c
core/lv_event.c
core/lv_indev.c
core/lv_obj_scroll.c
core/lv_obj_draw.c
core/lv_disp.c
core/lv_obj_style.c
core/lv_theme.c
core/lv_obj_style_gen.c
core/lv_indev_scroll.c
core/lv_obj_class.c
core/lv_obj_tree.c
core/lv_obj_pos.c
draw/lv_draw_mask.c
draw/sw/lv_draw_sw_gradient.c
draw/sw/lv_draw_sw_dither.c
draw/lv_draw_layer.c
draw/lv_draw_arc.c
draw/lv_draw_triangle.c
draw/sw/lv_draw_sw_gradient.c
# SDL specific
draw/sdl/lv_draw_sdl_rect.c
draw/sdl/lv_draw_sdl_arc.c
draw/sdl/lv_draw_sdl.c
draw/sdl/lv_draw_sdl_mask.c
draw/sdl/lv_draw_sdl_polygon.c
draw/sdl/lv_draw_sdl_stack_blur.c
draw/sdl/lv_draw_sdl_utils.c
draw/sdl/lv_draw_sdl_img.c
draw/sdl/lv_draw_sdl_bg.c
draw/sdl/lv_draw_sdl_label.c
draw/sdl/lv_draw_sdl_texture_cache.c
draw/sdl/lv_draw_sdl_line.c
draw/sdl/lv_draw_sdl_composite.c
font/lv_font_loader.c
hal/lv_hal_indev.c
misc/lv_anim.c
misc/lv_bidi.c
misc/lv_fs.c
misc/lv_log.c
misc/lv_lru.c
misc/lv_printf.c
misc/lv_timer.c
misc/lv_style_gen.c
misc/lv_style.c
misc/lv_templ.c
misc/lv_fs.c
misc/lv_printf.c
misc/lv_style.c
misc/lv_log.c
misc/lv_math.c
misc/lv_lru.c
misc/lv_tlsf.c
misc/lv_anim_timeline.c
misc/lv_bidi.c
misc/lv_async.c
misc/lv_txt_ap.c
widgets/lv_arc.c
widgets/lv_bar.c
widgets/lv_btn.c
widgets/lv_btnmatrix.c
widgets/lv_canvas.c
widgets/lv_checkbox.c
widgets/lv_img.c
widgets/lv_label.c
# font/lv_font_unscii_8.c
# font/lv_font_unscii_16.c
# font/lv_font_simsun_16_cjk.c
# font/lv_font_dejavu_16_persian_hebrew.c
# font/lv_font_montserrat_8.c
# font/lv_font_montserrat_10.c
# font/lv_font_montserrat_12.c
# font/lv_font_montserrat_12_subpx.c
# font/lv_font_montserrat_14.c
# font/lv_font_montserrat_16.c
# font/lv_font_montserrat_18.c
# font/lv_font_montserrat_20.c
# font/lv_font_montserrat_22.c
# font/lv_font_montserrat_24.c
# font/lv_font_montserrat_26.c
# font/lv_font_montserrat_28.c
# font/lv_font_montserrat_28_compressed.c
# font/lv_font_montserrat_30.c
# font/lv_font_montserrat_32.c
# font/lv_font_montserrat_34.c
# font/lv_font_montserrat_36.c
# font/lv_font_montserrat_38.c
# font/lv_font_montserrat_40.c
# font/lv_font_montserrat_42.c
# font/lv_font_montserrat_44.c
# font/lv_font_montserrat_46.c
# font/lv_font_montserrat_48.c
widgets/lv_line.c
widgets/lv_dropdown.c
widgets/lv_objx_templ.c
widgets/lv_slider.c
widgets/lv_canvas.c
widgets/lv_switch.c
widgets/lv_btnmatrix.c
widgets/lv_bar.c
widgets/lv_roller.c
widgets/lv_img.c
widgets/lv_btn.c
widgets/lv_checkbox.c
widgets/lv_label.c
widgets/lv_table.c
widgets/lv_slider.c
widgets/lv_textarea.c
widgets/lv_arc.c
extra/lv_extra.c
extra/layouts/flex/lv_flex.c
extra/others/monkey/lv_monkey.c
extra/others/gridnav/lv_gridnav.c
extra/others/snapshot/lv_snapshot.c
extra/layouts/grid/lv_grid.c
extra/libs/fsdrv/lv_fs_fatfs.c
extra/layouts/flex/lv_flex.c
extra/libs/bmp/lv_bmp.c
extra/libs/ffmpeg/lv_ffmpeg.c
extra/libs/gif/lv_gif.c
extra/libs/gif/gifdec.c
extra/libs/freetype/lv_freetype.c
extra/libs/qrcode/lv_qrcode.c
extra/libs/qrcode/qrcodegen.c
extra/others/snapshot/lv_snapshot.c
extra/libs/sjpg/tjpgd.c
extra/libs/sjpg/lv_sjpg.c
extra/libs/fsdrv/lv_fs_win32.c
extra/libs/fsdrv/lv_fs_stdio.c
extra/libs/fsdrv/lv_fs_posix.c
extra/libs/fsdrv/lv_fs_fatfs.c
extra/libs/rlottie/lv_rlottie.c
extra/libs/png/lv_png.c
extra/libs/png/lodepng.c
extra/widgets/imgbtn/lv_imgbtn.c
extra/widgets/keyboard/lv_keyboard.c
extra/widgets/list/lv_list.c
extra/widgets/menu/lv_menu.c
extra/widgets/tabview/lv_tabview.c
extra/widgets/tileview/lv_tileview.c
extra/widgets/win/lv_win.c
extra/widgets/colorwheel/lv_colorwheel.c
extra/widgets/list/lv_list.c
extra/widgets/chart/lv_chart.c
extra/widgets/calendar/lv_calendar_header_arrow.c
extra/widgets/calendar/lv_calendar.c
extra/widgets/calendar/lv_calendar_header_dropdown.c
extra/widgets/tileview/lv_tileview.c
extra/widgets/led/lv_led.c
extra/widgets/spinner/lv_spinner.c
extra/widgets/tabview/lv_tabview.c
extra/widgets/meter/lv_meter.c
extra/widgets/spinbox/lv_spinbox.c
extra/widgets/animimg/lv_animimg.c
extra/widgets/span/lv_span.c
extra/widgets/keyboard/lv_keyboard.c
extra/widgets/msgbox/lv_msgbox.c
# extra/themes/basic/lv_theme_basic.c
# extra/themes/default/lv_theme_default.c
# extra/themes/mono/lv_theme_mono.c
)
set(LVGL_SRC_DIR thirdparty/lvgl/src)
+2 -2
View File
@@ -154,8 +154,8 @@ lv_color_t makeLvColor(uint32_t colorFlags);
constexpr uint32_t RGB888_FLAG = 0x1000000;
enum COLOR_EDITOR_FMT {
RGB565 = 0,
RGB888
ETX_RGB565 = 0,
ETX_RGB888
};
#define RGB32(r, g, b) \
@@ -462,7 +462,7 @@ ColorEditor::ColorEditor(Window* parent, const rect_t& rect, uint32_t color,
Window(parent, rect), _setValue(std::move(setValue)), _preview(std::move(preview)),
format(fmt)
{
if (format == RGB565) {
if (format == ETX_RGB565) {
if (color & RGB_FLAG) {
color = COLOR_VAL(color);
auto r = GET_RED(color);
@@ -510,7 +510,7 @@ void ColorEditor::setText()
_colorType->setText();
if (_setValue != nullptr) {
uint32_t c = _color;
if (format == RGB565) {
if (format == ETX_RGB565) {
if (c & RGB888_FLAG) {
auto r = GET_RED32(c);
auto g = GET_GREEN32(c);
@@ -40,7 +40,7 @@ class ColorEditor : public Window
ColorEditor(Window* parent, const rect_t& rect, uint32_t color,
std::function<void(uint32_t rgb)> setValue = nullptr,
std::function<void(uint32_t rgb)> preview = nullptr,
COLOR_EDITOR_FMT fmt = RGB565, COLOR_EDITOR_TYPE typ = HSV_COLOR_EDITOR);
COLOR_EDITOR_FMT fmt = ETX_RGB565, COLOR_EDITOR_TYPE typ = HSV_COLOR_EDITOR);
#if defined(DEBUG_WINDOWS)
std::string getName() const override { return "ColorEditor"; }
@@ -53,7 +53,7 @@ class ColorEditorPopup : public BaseDialog
uint8_t r, g, b;
if (format == RGB565) {
if (format == ETX_RGB565) {
auto rgb = COLOR_VAL(colorToRGB(m_color));
r = GET_RED(rgb); g = GET_GREEN(rgb); b = GET_BLUE(rgb);
} else {
@@ -208,7 +208,7 @@ void ColorPicker::updateColor(uint32_t c)
uint8_t r, g, b;
if (format == RGB565) {
if (format == ETX_RGB565) {
auto rgb = COLOR_VAL(colorToRGB(color));
r = GET_RED(rgb); g = GET_GREEN(rgb); b = GET_BLUE(rgb);
} else {
@@ -38,7 +38,7 @@ public:
std::function<uint32_t()> getValue,
std::function<void(uint32_t)> setValue = nullptr,
std::function<void(uint32_t)> preview = nullptr,
COLOR_EDITOR_FMT fmt = RGB565);
COLOR_EDITOR_FMT fmt = ETX_RGB565);
void setColor(uint32_t c);
uint32_t getColor() const { return color; }
+3 -27
View File
@@ -97,33 +97,6 @@ static void flushLcd(lv_disp_drv_t* disp_drv, const lv_area_t* area,
area->y2 - area->y1 + 1};
lcd_flush_cb(disp_drv, (uint16_t*)color_p, copy_area);
#if (!defined(LCD_VERTICAL_INVERT) || defined(RADIO_F16)) && !defined(BOOT)
#if defined(RADIO_F16)
if (hardwareOptions.pcbrev > 0)
#endif
{
uint16_t* src = (uint16_t*)color_p;
uint16_t* dst = nullptr;
if ((uint16_t*)color_p == LCD_FIRST_FRAME_BUFFER)
dst = LCD_SECOND_FRAME_BUFFER;
else
dst = LCD_FIRST_FRAME_BUFFER;
lv_disp_t* disp = _lv_refr_get_disp_refreshing();
for (int i = 0; i < disp->inv_p; i++) {
if (disp->inv_area_joined[i]) continue;
const lv_area_t& refr_area = disp->inv_areas[i];
auto area_w = refr_area.x2 - refr_area.x1 + 1;
auto area_h = refr_area.y2 - refr_area.y1 + 1;
DMACopyBitmap(dst, LCD_W, LCD_H, refr_area.x1, refr_area.y1, src, LCD_W,
LCD_H, refr_area.x1, refr_area.y1, area_w, area_h);
}
}
#endif
}
lv_disp_flush_ready(disp_drv);
@@ -150,10 +123,13 @@ static void init_lvgl_disp_drv()
disp_drv.full_refresh = 0;
#if !defined(LCD_VERTICAL_INVERT)
disp_drv.full_refresh = 1;
disp_drv.direct_mode = 1;
#elif defined(RADIO_F16)
disp_drv.full_refresh = 1;
disp_drv.direct_mode = (hardwareOptions.pcbrev > 0) ? 1 : 0;
#else
disp_drv.full_refresh = 0;
disp_drv.direct_mode = 0;
#endif
}
+2 -4
View File
@@ -203,7 +203,6 @@ void etx_img_color(lv_obj_t* obj, LcdColorIndex colorIdx,
#define LV_STYLE_CONST_SINGLE_INIT(var_name, prop, value) \
const lv_style_t var_name = {.v_p = {.value1 = {.num = value}}, \
.prop1 = prop, \
.is_const = 0, \
.has_group = 1 << ((prop & 0x1FF) >> 4), \
.prop_cnt = 1}
@@ -211,10 +210,9 @@ void etx_img_color(lv_obj_t* obj, LcdColorIndex colorIdx,
// Copied from lv_style.h and modified to compile with ARM GCC C++
#define LV_STYLE_CONST_MULTI_INIT(var_name, prop_array) \
const lv_style_t var_name = {.v_p = {.const_props = prop_array}, \
.prop1 = 0, \
.is_const = 1, \
.prop1 = LV_STYLE_PROP_ANY, \
.has_group = 0xFF, \
.prop_cnt = 0}
.prop_cnt = (sizeof(prop_array) / sizeof((prop_array)[0]))}
extern const lv_obj_class_t window_base_class;
extern const lv_obj_class_t field_edit_class;
+149 -80
View File
@@ -1,27 +1,21 @@
/*
* Copyright (C) EdgeTX
*
* Based on code named
* opentx - https://github.com/opentx/opentx
* th9x - http://code.google.com/p/th9x
* er9x - http://code.google.com/p/er9x
* gruvin9x - http://code.google.com/p/gruvin9x
*
* License GPLv2: http://www.gnu.org/licenses/gpl-2.0.html
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
/**
* @file lv_conf.h
* Configuration file for v8.4.0
*/
#pragma once
/*
* Copy this file as `lv_conf.h`
* 1. simply next to the `lvgl` folder
* 2. or any other places and
* - define `LV_CONF_INCLUDE_SIMPLE`
* - add the path as include path
*/
/* clang-format off */
#if 1 /*Set it to "1" to enable content*/
#ifndef LV_CONF_H
#define LV_CONF_H
#include <stdint.h>
#if !defined(LV_SKIP_DEFINES)
@@ -39,14 +33,14 @@
/*Swap the 2 bytes of RGB565 color. Useful if the display has an 8-bit interface (e.g. SPI)*/
#define LV_COLOR_16_SWAP 0
/*Enable more complex drawing routines to manage screens transparency.
*Can be used if the UI is above another layer, e.g. an OSD menu or video player.
*Requires `LV_COLOR_DEPTH = 32` colors and the screen's `bg_opa` should be set to non LV_OPA_COVER value*/
/*Enable features to draw on transparent background.
*It's required if opa, and transform_* style properties are used.
*Can be also used if the UI is above another layer, e.g. an OSD menu or video player.*/
#define LV_COLOR_SCREEN_TRANSP 0
/* Adjust color mix functions rounding. GPUs might calculate color mix (blending) differently.
* 0: round down, 64: round up from x.75, 128: round up from half, 192: round up from x.25, 254: round up */
#define LV_COLOR_MIX_ROUND_OFS (LV_COLOR_DEPTH == 32 ? 0: 128)
#define LV_COLOR_MIX_ROUND_OFS 0
/*Images pixels with this color will not be drawn if they are chroma keyed)*/
#define LV_COLOR_CHROMA_KEY lv_color_hex(0x00ff00) /*pure green*/
@@ -71,8 +65,8 @@
#if LV_MEM_ADR == 0
//#define LV_MEM_POOL_INCLUDE your_alloc_library /* Uncomment if using an external allocator*/
//#define LV_MEM_POOL_ALLOC your_alloc /* Uncomment if using an external allocator*/
#define LV_MEM_POOL_INCLUDE <stdlib.h>
#define LV_MEM_POOL_ALLOC malloc
#define LV_MEM_POOL_INCLUDE <unistd.h>
#define LV_MEM_POOL_ALLOC sbrk
#endif
#else /*LV_MEM_CUSTOM*/
@@ -105,6 +99,9 @@
#if LV_TICK_CUSTOM
#define LV_TICK_CUSTOM_INCLUDE "Arduino.h" /*Header for the system time function*/
#define LV_TICK_CUSTOM_SYS_TIME_EXPR (millis()) /*Expression evaluating to current system time in ms*/
/*If using lvgl as ESP32 component*/
// #define LV_TICK_CUSTOM_INCLUDE "esp_timer.h"
// #define LV_TICK_CUSTOM_SYS_TIME_EXPR ((esp_timer_get_time() / 1000LL))
#endif /*LV_TICK_CUSTOM*/
/*Default Dot Per Inch. Used to initialize default sizes such as widgets sized, style paddings.
@@ -142,33 +139,49 @@
#define LV_CIRCLE_CACHE_SIZE 4
#endif /*LV_DRAW_COMPLEX*/
/**
* "Simple layers" are used when a widget has `style_opa < 255` to buffer the widget into a layer
* and blend it as an image with the given opacity.
* Note that `bg_opa`, `text_opa` etc don't require buffering into layer)
* The widget can be buffered in smaller chunks to avoid using large buffers.
*
* - LV_LAYER_SIMPLE_BUF_SIZE: [bytes] the optimal target buffer size. LVGL will try to allocate it
* - LV_LAYER_SIMPLE_FALLBACK_BUF_SIZE: [bytes] used if `LV_LAYER_SIMPLE_BUF_SIZE` couldn't be allocated.
*
* Both buffer sizes are in bytes.
* "Transformed layers" (where transform_angle/zoom properties are used) use larger buffers
* and can't be drawn in chunks. So these settings affects only widgets with opacity.
*/
#define LV_LAYER_SIMPLE_BUF_SIZE (24 * 1024)
#define LV_LAYER_SIMPLE_FALLBACK_BUF_SIZE (3 * 1024)
/*Default image cache size. Image caching keeps the images opened.
*If only the built-in image formats are used there is no real advantage of caching. (I.e. if no new image decoder is added)
*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 8
#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*/
#define LV_GRADIENT_MAX_STOPS 2
#define LV_GRADIENT_MAX_STOPS 2
/*Default gradient buffer size.
*When LVGL calculates the gradient "maps" it can save them into a cache to avoid calculating them again.
*LV_GRAD_CACHE_DEF_SIZE sets the size of this cache in bytes.
*If the cache is too small the map will be allocated only while it's required for the drawing.
*0 mean no caching.*/
#define LV_GRAD_CACHE_DEF_SIZE 0
#define LV_GRAD_CACHE_DEF_SIZE 0
/*Allow dithering the gradients (to achieve visual smooth color gradients on limited color depth display)
*LV_DITHER_GRADIENT implies allocating one or two more lines of the object's rendering surface
*The increase in memory consumption is (32 bits * object width) plus 24 bits * object width if using error diffusion */
#define LV_DITHER_GRADIENT 0
#define LV_DITHER_GRADIENT 0
#if LV_DITHER_GRADIENT
/*Add support for error diffusion dithering.
*Error diffusion dithering gets a much better visual result, but implies more CPU consumption and memory when drawing.
*The increase in memory consumption is (24 bits * object's width)*/
#define LV_DITHER_ERROR_DIFFUSION 0
#define LV_DITHER_ERROR_DIFFUSION 0
#endif
/*Maximum buffer size to allocate for rotation.
@@ -179,6 +192,12 @@
* GPU
*-----------*/
/*Use TSi's (aka Think Silicon) acceleration library NemaGFX */
#define LV_USE_NEMA_GFX 0
/*Use Arm's 2D acceleration library Arm-2D */
#define LV_USE_GPU_ARM2D 0
/*Use STM32's DMA2D (aka Chrom Art) GPU*/
#if defined(SIMU)
#define LV_USE_GPU_STM32_DMA2D 0
@@ -196,21 +215,20 @@
#else
#define LV_GPU_DMA2D_CMSIS_INCLUDE "stm32f4xx.h"
#endif
// #if !defined(DMA2D_NLR_PL_Pos)
// #define DMA2D_NLR_PL_Pos 16
// #endif
// #if !defined(DMA2D_NLR_NL_Pos)
// #define DMA2D_NLR_NL_Pos 0
// #endif
// #if !defined(DMA2D_CR_START_Msk)
// #define DMA2D_CR_START_Msk DMA2D_CR_START
// #endif
// #if !defined(DMA2D_FGPFCCR_AM_Pos)
// #define DMA2D_FGPFCCR_AM_Pos 16
// #endif
// #if !defined(DMA2D_FGPFCCR_ALPHA_Pos)
// #define DMA2D_FGPFCCR_ALPHA_Pos 24
// #endif
/*Enable RA6M3 G2D GPU*/
#define LV_USE_GPU_RA6M3_G2D 0
#if LV_USE_GPU_RA6M3_G2D
/*include path of target processor
e.g. "hal_data.h"*/
#define LV_GPU_RA6M3_G2D_INCLUDE "hal_data.h"
#endif
/*Use SWM341's DMA2D GPU*/
#define LV_USE_GPU_SWM341_DMA2D 0
#if LV_USE_GPU_SWM341_DMA2D
#define LV_GPU_SWM341_DMA2D_INCLUDE "SWM341.h"
#endif
#endif
/*Use NXP's PXP GPU iMX RTxxx platforms*/
@@ -359,7 +377,8 @@
#define LV_ATTRIBUTE_LARGE_RAM_ARRAY
/*Place performance critical functions into a faster memory (e.g RAM)*/
#define LV_ATTRIBUTE_FAST_MEM __IRAM
// #define LV_ATTRIBUTE_FAST_MEM __IRAM // !!! Does not work with LVGL 8.4 - compile errors
#define LV_ATTRIBUTE_FAST_MEM
/*Prefix variables that are used in GPU accelerated operations, often these need to be placed in RAM sections that are DMA accessible*/
#define LV_ATTRIBUTE_DMA __DMA
@@ -450,11 +469,7 @@
#define LV_FONT_FMT_TXT_LARGE 0
/*Enables/disables support for compressed fonts.*/
#if defined(BOOT)
#define LV_USE_FONT_COMPRESSED 1
#else
#define LV_USE_FONT_COMPRESSED 0
#endif
/*Enable subpixel rendering*/
#define LV_USE_FONT_SUBPX 0
@@ -463,6 +478,9 @@
#define LV_FONT_SUBPX_BGR 0 /*0: RGB; 1:BGR order*/
#endif
/*Enable drawing placeholders when glyph dsc is not found*/
#define LV_USE_FONT_PLACEHOLDER 0
/*=================
* TEXT SETTINGS
*=================*/
@@ -518,8 +536,6 @@
#if !defined(BOOT)
#define LV_USE_ARC 1
#define LV_USE_ANIMIMG 0
#define LV_USE_BAR 1
#define LV_USE_BTN 1
@@ -565,6 +581,8 @@
/*-----------
* Widgets
*----------*/
#define LV_USE_ANIMIMG 0
#define LV_USE_CALENDAR 0
#if LV_USE_CALENDAR
#define LV_CALENDAR_WEEK_STARTS_MONDAY 0
@@ -597,6 +615,12 @@
#define LV_USE_MSGBOX 0
#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
#define LV_USE_SPINBOX 0
#define LV_USE_SPINNER 0
@@ -607,12 +631,6 @@
#define LV_USE_WIN 0
#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
/*-----------
* Themes
*----------*/
@@ -649,7 +667,6 @@
#else
#define LV_USE_ARC 0
#define LV_USE_ANIMIMG 0
#define LV_USE_BAR 0
#define LV_USE_BTN 0
#define LV_USE_BTNMATRIX 0
@@ -664,6 +681,7 @@
#define LV_USE_SWITCH 0
#define LV_USE_TEXTAREA 0 /*Requires: lv_label*/
#define LV_USE_TABLE 0
#define LV_USE_ANIMIMG 0
#define LV_USE_CALENDAR 0
#define LV_USE_CHART 0
#define LV_USE_COLORWHEEL 0
@@ -674,12 +692,12 @@
#define LV_USE_MENU 0
#define LV_USE_METER 0
#define LV_USE_MSGBOX 0
#define LV_USE_SPAN 0
#define LV_USE_SPINBOX 0
#define LV_USE_SPINNER 0
#define LV_USE_TABVIEW 0
#define LV_USE_TILEVIEW 0
#define LV_USE_WIN 0
#define LV_USE_SPAN 0
#define LV_USE_THEME_DEFAULT 0
#define LV_USE_THEME_BASIC 0
#define LV_USE_THEME_MONO 0
@@ -697,7 +715,7 @@
#if LV_USE_FS_STDIO
#define LV_FS_STDIO_LETTER '\0' /*Set an upper cased letter on which the drive will accessible (e.g. 'A')*/
#define LV_FS_STDIO_PATH "" /*Set the working directory. File/directory paths will be appended to it.*/
#define LV_FS_STDIO_CACHE_SIZE 0 /*>0 to cache this number of bytes in lv_fs_read()*/
#define LV_FS_STDIO_CACHE_SIZE 0 /*>0 to cache this number of bytes in lv_fs_read()*/
#endif
/*API for open, read, etc*/
@@ -705,20 +723,20 @@
#if LV_USE_FS_POSIX
#define LV_FS_POSIX_LETTER '\0' /*Set an upper cased letter on which the drive will accessible (e.g. 'A')*/
#define LV_FS_POSIX_PATH "" /*Set the working directory. File/directory paths will be appended to it.*/
#define LV_FS_POSIX_CACHE_SIZE 0 /*>0 to cache this number of bytes in lv_fs_read()*/
#define LV_FS_POSIX_CACHE_SIZE 0 /*>0 to cache this number of bytes in lv_fs_read()*/
#endif
/*API for CreateFile, ReadFile, etc*/
#define LV_USE_FS_WIN32 0
#if LV_USE_FS_WIN32
#define LV_FS_WIN32_LETTER '\0' /*Set an upper cased letter on which the drive will accessible (e.g. 'A')*/
#define LV_FS_WIN32_LETTER '\0' /*Set an upper cased letter on which the drive will accessible (e.g. 'A')*/
#define LV_FS_WIN32_PATH "" /*Set the working directory. File/directory paths will be appended to it.*/
#define LV_FS_WIN32_CACHE_SIZE 0 /*>0 to cache this number of bytes in lv_fs_read()*/
#endif
/*API for FATFS (needs to be added separately). Uses f_open, f_read, etc*/
#if defined(BOOT)
#define LV_USE_FS_FATFS 0
#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()*/
@@ -731,6 +749,13 @@
#endif
#endif
/*API for LittleFS (library needs to be added separately). Uses lfs_file_open, lfs_file_read, etc*/
#define LV_USE_FS_LITTLEFS 0
#if LV_USE_FS_LITTLEFS
#define LV_FS_LITTLEFS_LETTER '\0' /*Set an upper cased letter on which the drive will accessible (e.g. 'A')*/
#define LV_FS_LITTLEFS_CACHE_SIZE 0 /*>0 to cache this number of bytes in lv_fs_read()*/
#endif
/*PNG decoder library*/
#define LV_USE_PNG 0
@@ -769,15 +794,22 @@
#endif
#endif
/*Tiny TTF library*/
#define LV_USE_TINY_TTF 0
#if LV_USE_TINY_TTF
/*Load TTF data from files*/
#define LV_TINY_TTF_FILE_SUPPORT 0
#endif
/*Rlottie library*/
#define LV_USE_RLOTTIE 0
/*FFmpeg library for image decoding and playing videos
*Supports all major image formats so do not enable other image decoder with it*/
#define LV_USE_FFMPEG 0
#define LV_USE_FFMPEG 0
#if LV_USE_FFMPEG
/*Dump input information to stderr*/
#define LV_FFMPEG_AV_DUMP_FORMAT 0
#define LV_FFMPEG_DUMP_FORMAT 0
#endif
/*-----------
@@ -788,10 +820,37 @@
#define LV_USE_SNAPSHOT 1
/*1: Enable Monkey test*/
#define LV_USE_MONKEY 0
#define LV_USE_MONKEY 0
/*1: Enable grid navigation*/
#define LV_USE_GRIDNAV 0
#define LV_USE_GRIDNAV 0
/*1: Enable lv_obj fragment*/
#define LV_USE_FRAGMENT 0
/*1: Support using images as font in label or span widgets */
#define LV_USE_IMGFONT 0
/*1: Enable a published subscriber based messaging system */
#define LV_USE_MSG 0
/*1: Enable Pinyin input method*/
/*Requires: lv_keyboard*/
#define LV_USE_IME_PINYIN 0
#if LV_USE_IME_PINYIN
/*1: Use default thesaurus*/
/*If you do not use the default thesaurus, be sure to use `lv_ime_pinyin` after setting the thesauruss*/
#define LV_IME_PINYIN_USE_DEFAULT_DICT 1
/*Set the maximum number of candidate panels that can be displayed*/
/*This needs to be adjusted according to the size of the screen*/
#define LV_IME_PINYIN_CAND_TEXT_NUM 6
/*Use 9 key input(k9)*/
#define LV_IME_PINYIN_USE_K9_MODE 1
#if LV_IME_PINYIN_USE_K9_MODE == 1
#define LV_IME_PINYIN_K9_CAND_TEXT_NUM 3
#endif // LV_IME_PINYIN_USE_K9_MODE
#endif
/*==================
* EXAMPLES
@@ -805,26 +864,36 @@
====================*/
/*Show some widget. It might be required to increase `LV_MEM_SIZE` */
#define LV_USE_DEMO_WIDGETS 0
#define LV_USE_DEMO_WIDGETS 0
#if LV_USE_DEMO_WIDGETS
#define LV_DEMO_WIDGETS_SLIDESHOW 0
#define LV_DEMO_WIDGETS_SLIDESHOW 0
#endif
/*Demonstrate the usage of encoder and keyboard*/
#define LV_USE_DEMO_KEYPAD_AND_ENCODER 0
#define LV_USE_DEMO_KEYPAD_AND_ENCODER 0
/*Benchmark your system*/
#define LV_USE_DEMO_BENCHMARK 0
#define LV_USE_DEMO_BENCHMARK 0
#if LV_USE_DEMO_BENCHMARK
/*Use RGB565A8 images with 16 bit color depth instead of ARGB8565*/
#define LV_DEMO_BENCHMARK_RGB565A8 0
#endif
/*Stress test for LVGL*/
#define LV_USE_DEMO_STRESS 0
#define LV_USE_DEMO_STRESS 0
/*Music player demo*/
#define LV_USE_DEMO_MUSIC 0
#define LV_USE_DEMO_MUSIC 0
#if LV_USE_DEMO_MUSIC
# define LV_DEMO_MUSIC_SQUARE 0
# define LV_DEMO_MUSIC_LANDSCAPE 0
# define LV_DEMO_MUSIC_ROUND 0
# define LV_DEMO_MUSIC_LARGE 0
# define LV_DEMO_MUSIC_AUTO_PLAY 0
#define LV_DEMO_MUSIC_SQUARE 0
#define LV_DEMO_MUSIC_LANDSCAPE 0
#define LV_DEMO_MUSIC_ROUND 0
#define LV_DEMO_MUSIC_LARGE 0
#define LV_DEMO_MUSIC_AUTO_PLAY 0
#endif
/*--END OF LV_CONF_H--*/
#endif /*LV_CONF_H*/
#endif /*End of "Content enable"*/
@@ -144,7 +144,7 @@ class FunctionSwitch : public Window
offValue = g_model.functionSwitchLedOFFColor[switchIndex];
SET_DIRTY();
},
[=](int newValue) { previewColor(newValue); }, RGB888);
[=](int newValue) { previewColor(newValue); }, ETX_RGB888);
onColor = new ColorPicker(
this, {C2_X, 0, C2_W, 0},
@@ -162,7 +162,7 @@ class FunctionSwitch : public Window
onValue = g_model.functionSwitchLedONColor[switchIndex];
SET_DIRTY();
},
[=](int newValue) { previewColor(newValue); }, RGB888);
[=](int newValue) { previewColor(newValue); }, ETX_RGB888);
#endif //FUNCTION_SWITCHES_RGB_LEDS
setState();
+2 -2
View File
@@ -172,8 +172,8 @@ static void startLcdRefresh(lv_disp_drv_t *disp_drv, uint16_t *buffer,
lv_area_t refr_area;
lv_area_copy(&refr_area, &disp->inv_areas[i]);
//TRACE("{%d,%d,%d,%d}", refr_area.x1,
// refr_area.y1, refr_area.x2, refr_area.y2);
// TRACE("Vert invert refresh {%d,%d,%d,%d}", refr_area.x1,
// refr_area.y1, refr_area.x2 - refr_area.x1 + 1, refr_area.y2 - refr_area.y1 + 1);
_rotate_area_180(refr_area);
Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 9.8 KiB