mirror of https://github.com/arendst/Tasmota.git
LVGL add enums for layouts
This commit is contained in:
parent
873d7da84a
commit
4091719bd7
|
@ -284,6 +284,20 @@ const be_const_member_t lv0_constants[] = {
|
|||
{ "EVENT_SIZE_CHANGED", LV_EVENT_SIZE_CHANGED },
|
||||
{ "EVENT_STYLE_CHANGED", LV_EVENT_STYLE_CHANGED },
|
||||
{ "EVENT_VALUE_CHANGED", LV_EVENT_VALUE_CHANGED },
|
||||
{ "FLEX_ALIGN_CENTER", LV_FLEX_ALIGN_CENTER },
|
||||
{ "FLEX_ALIGN_END", LV_FLEX_ALIGN_END },
|
||||
{ "FLEX_ALIGN_SPACE_AROUND", LV_FLEX_ALIGN_SPACE_AROUND },
|
||||
{ "FLEX_ALIGN_SPACE_BETWEEN", LV_FLEX_ALIGN_SPACE_BETWEEN },
|
||||
{ "FLEX_ALIGN_SPACE_EVENLY", LV_FLEX_ALIGN_SPACE_EVENLY },
|
||||
{ "FLEX_ALIGN_START", LV_FLEX_ALIGN_START },
|
||||
{ "FLEX_FLOW_COLUMN", LV_FLEX_FLOW_COLUMN },
|
||||
{ "FLEX_FLOW_COLUMN_REVERSE", LV_FLEX_FLOW_COLUMN_REVERSE },
|
||||
{ "FLEX_FLOW_COLUMN_WRAP", LV_FLEX_FLOW_COLUMN_WRAP },
|
||||
{ "FLEX_FLOW_COLUMN_WRAP_REVERSE", LV_FLEX_FLOW_COLUMN_WRAP_REVERSE },
|
||||
{ "FLEX_FLOW_ROW", LV_FLEX_FLOW_ROW },
|
||||
{ "FLEX_FLOW_ROW_REVERSE", LV_FLEX_FLOW_ROW_REVERSE },
|
||||
{ "FLEX_FLOW_ROW_WRAP", LV_FLEX_FLOW_ROW_WRAP },
|
||||
{ "FLEX_FLOW_ROW_WRAP_REVERSE", LV_FLEX_FLOW_ROW_WRAP_REVERSE },
|
||||
{ "FS_MODE_RD", LV_FS_MODE_RD },
|
||||
{ "FS_MODE_WR", LV_FS_MODE_WR },
|
||||
{ "FS_RES_BUSY", LV_FS_RES_BUSY },
|
||||
|
@ -305,6 +319,13 @@ const be_const_member_t lv0_constants[] = {
|
|||
{ "GRAD_DIR_HOR", LV_GRAD_DIR_HOR },
|
||||
{ "GRAD_DIR_NONE", LV_GRAD_DIR_NONE },
|
||||
{ "GRAD_DIR_VER", LV_GRAD_DIR_VER },
|
||||
{ "GRID_ALIGN_CENTER", LV_GRID_ALIGN_CENTER },
|
||||
{ "GRID_ALIGN_END", LV_GRID_ALIGN_END },
|
||||
{ "GRID_ALIGN_SPACE_AROUND", LV_GRID_ALIGN_SPACE_AROUND },
|
||||
{ "GRID_ALIGN_SPACE_BETWEEN", LV_GRID_ALIGN_SPACE_BETWEEN },
|
||||
{ "GRID_ALIGN_SPACE_EVENLY", LV_GRID_ALIGN_SPACE_EVENLY },
|
||||
{ "GRID_ALIGN_START", LV_GRID_ALIGN_START },
|
||||
{ "GRID_ALIGN_STRETCH", LV_GRID_ALIGN_STRETCH },
|
||||
{ "GROUP_REFOCUS_POLICY_NEXT", LV_GROUP_REFOCUS_POLICY_NEXT },
|
||||
{ "GROUP_REFOCUS_POLICY_PREV", LV_GROUP_REFOCUS_POLICY_PREV },
|
||||
{ "IMGBTN_STATE_CHECKED_DISABLED", LV_IMGBTN_STATE_CHECKED_DISABLED },
|
||||
|
|
|
@ -320,6 +320,33 @@ LV_IMG_SRC_FILE
|
|||
LV_IMG_SRC_SYMBOL
|
||||
LV_IMG_SRC_UNKNOWN
|
||||
|
||||
// File: ../../lvgl/src/extra/layouts/flex/lv_flex.h
|
||||
LV_FLEX_ALIGN_START
|
||||
LV_FLEX_ALIGN_END
|
||||
LV_FLEX_ALIGN_CENTER
|
||||
LV_FLEX_ALIGN_SPACE_EVENLY
|
||||
LV_FLEX_ALIGN_SPACE_AROUND
|
||||
LV_FLEX_ALIGN_SPACE_BETWEEN
|
||||
|
||||
LV_FLEX_FLOW_ROW
|
||||
LV_FLEX_FLOW_COLUMN
|
||||
LV_FLEX_FLOW_ROW_WRAP
|
||||
LV_FLEX_FLOW_ROW_REVERSE
|
||||
LV_FLEX_FLOW_ROW_WRAP_REVERSE
|
||||
LV_FLEX_FLOW_COLUMN_WRAP
|
||||
LV_FLEX_FLOW_COLUMN_REVERSE
|
||||
LV_FLEX_FLOW_COLUMN_WRAP_REVERSE
|
||||
|
||||
// File: ../../lvgl/src/extra/layouts/grid/lv_grid.h
|
||||
LV_GRID_ALIGN_START
|
||||
LV_GRID_ALIGN_CENTER
|
||||
LV_GRID_ALIGN_END
|
||||
LV_GRID_ALIGN_STRETCH
|
||||
LV_GRID_ALIGN_SPACE_EVENLY
|
||||
LV_GRID_ALIGN_SPACE_AROUND
|
||||
LV_GRID_ALIGN_SPACE_BETWEEN
|
||||
|
||||
// File: ../../lvgl/src/extra/layouts/lv_layouts.h
|
||||
// File: ../../lvgl/src/extra/widgets/animimg/lv_animimg.h
|
||||
LV_ANIM_IMG_PART_MAIN
|
||||
|
||||
|
|
|
@ -178,6 +178,7 @@ lv_fun_globs = [
|
|||
"misc/*.h",
|
||||
"widgets/*.h",
|
||||
"extra/widgets/**/*.h",
|
||||
"extra/layouts/**/*.h",
|
||||
]
|
||||
headers_names = list_files(lv_src_prefix, lv_fun_globs)
|
||||
|
||||
|
|
Loading…
Reference in New Issue