mirror of https://github.com/arendst/Tasmota.git
LVGL add missing enums for freetype (#14473)
* LVGL add missing enums for freetype * Fix
This commit is contained in:
parent
8a855ba531
commit
dcaa19d7a0
|
@ -347,6 +347,9 @@ const be_const_member_t lv0_constants[] = {
|
||||||
{ "FS_SEEK_CUR", LV_FS_SEEK_CUR },
|
{ "FS_SEEK_CUR", LV_FS_SEEK_CUR },
|
||||||
{ "FS_SEEK_END", LV_FS_SEEK_END },
|
{ "FS_SEEK_END", LV_FS_SEEK_END },
|
||||||
{ "FS_SEEK_SET", LV_FS_SEEK_SET },
|
{ "FS_SEEK_SET", LV_FS_SEEK_SET },
|
||||||
|
{ "FT_FONT_STYLE_BOLD", (int32_t) FT_FONT_STYLE_BOLD },
|
||||||
|
{ "FT_FONT_STYLE_ITALIC", (int32_t) FT_FONT_STYLE_ITALIC },
|
||||||
|
{ "FT_FONT_STYLE_NORMAL", (int32_t) FT_FONT_STYLE_NORMAL },
|
||||||
{ "GRAD_DIR_HOR", LV_GRAD_DIR_HOR },
|
{ "GRAD_DIR_HOR", LV_GRAD_DIR_HOR },
|
||||||
{ "GRAD_DIR_NONE", LV_GRAD_DIR_NONE },
|
{ "GRAD_DIR_NONE", LV_GRAD_DIR_NONE },
|
||||||
{ "GRAD_DIR_VER", LV_GRAD_DIR_VER },
|
{ "GRAD_DIR_VER", LV_GRAD_DIR_VER },
|
||||||
|
|
|
@ -27,6 +27,11 @@ COLOR_NAVY=0x000080
|
||||||
COLOR_MAGENTA=0xFF00FF
|
COLOR_MAGENTA=0xFF00FF
|
||||||
COLOR_PURPLE=0x800080
|
COLOR_PURPLE=0x800080
|
||||||
|
|
||||||
|
// Freetype
|
||||||
|
FT_FONT_STYLE_NORMAL=FT_FONT_STYLE_NORMAL
|
||||||
|
FT_FONT_STYLE_ITALIC=FT_FONT_STYLE_ITALIC
|
||||||
|
FT_FONT_STYLE_BOLD=FT_FONT_STYLE_BOLD
|
||||||
|
|
||||||
// following are #define, not enum
|
// following are #define, not enum
|
||||||
LV_RADIUS_CIRCLE
|
LV_RADIUS_CIRCLE
|
||||||
LV_TEXTAREA_CURSOR_LAST
|
LV_TEXTAREA_CURSOR_LAST
|
||||||
|
|
|
@ -218,6 +218,11 @@ COLOR_NAVY=0x000080
|
||||||
COLOR_MAGENTA=0xFF00FF
|
COLOR_MAGENTA=0xFF00FF
|
||||||
COLOR_PURPLE=0x800080
|
COLOR_PURPLE=0x800080
|
||||||
|
|
||||||
|
// Freetype
|
||||||
|
FT_FONT_STYLE_NORMAL=FT_FONT_STYLE_NORMAL
|
||||||
|
FT_FONT_STYLE_ITALIC=FT_FONT_STYLE_ITALIC
|
||||||
|
FT_FONT_STYLE_BOLD=FT_FONT_STYLE_BOLD
|
||||||
|
|
||||||
// following are #define, not enum
|
// following are #define, not enum
|
||||||
LV_RADIUS_CIRCLE
|
LV_RADIUS_CIRCLE
|
||||||
LV_TEXTAREA_CURSOR_LAST
|
LV_TEXTAREA_CURSOR_LAST
|
||||||
|
|
Loading…
Reference in New Issue