LVGL add missing enums for freetype (#14473)

* LVGL add missing enums for freetype

* Fix
This commit is contained in:
s-hadinger 2022-01-16 19:37:41 +01:00 committed by GitHub
parent 8a855ba531
commit dcaa19d7a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 0 deletions

View File

@ -347,6 +347,9 @@ const be_const_member_t lv0_constants[] = {
{ "FS_SEEK_CUR", LV_FS_SEEK_CUR },
{ "FS_SEEK_END", LV_FS_SEEK_END },
{ "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_NONE", LV_GRAD_DIR_NONE },
{ "GRAD_DIR_VER", LV_GRAD_DIR_VER },

View File

@ -27,6 +27,11 @@ COLOR_NAVY=0x000080
COLOR_MAGENTA=0xFF00FF
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
LV_RADIUS_CIRCLE
LV_TEXTAREA_CURSOR_LAST

View File

@ -218,6 +218,11 @@ COLOR_NAVY=0x000080
COLOR_MAGENTA=0xFF00FF
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
LV_RADIUS_CIRCLE
LV_TEXTAREA_CURSOR_LAST