mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-23 22:37:16 +00:00
Merge pull request #14408 from s-hadinger/lvgl_missing_fct
LVGL add missing functions move_foreground/background
This commit is contained in:
commit
2a644b1718
@ -197,6 +197,7 @@ const be_ntv_func_def_t lv_obj_func[] = {
|
||||
{ "fade_out", (void*) &lv_obj_fade_out, "", "(lv.lv_obj)ii" },
|
||||
{ "get_child", (void*) &lv_obj_get_child, "lv.lv_obj", "(lv.lv_obj)i" },
|
||||
{ "get_child_cnt", (void*) &lv_obj_get_child_cnt, "i", "(lv.lv_obj)" },
|
||||
{ "get_child_id", (void*) &lv_obj_get_child_id, "i", "(lv.lv_obj)" },
|
||||
{ "get_class", (void*) &lv_obj_get_class, "lv.lv_obj_class", "(lv.lv_obj)" },
|
||||
{ "get_click_area", (void*) &lv_obj_get_click_area, "", "(lv.lv_obj)(lv.lv_area)" },
|
||||
{ "get_content_coords", (void*) &lv_obj_get_content_coords, "", "(lv.lv_obj)(lv.lv_area)" },
|
||||
@ -353,7 +354,9 @@ const be_ntv_func_def_t lv_obj_func[] = {
|
||||
{ "is_valid", (void*) &lv_obj_is_valid, "b", "(lv.lv_obj)" },
|
||||
{ "is_visible", (void*) &lv_obj_is_visible, "b", "(lv.lv_obj)" },
|
||||
{ "mark_layout_as_dirty", (void*) &lv_obj_mark_layout_as_dirty, "", "(lv.lv_obj)" },
|
||||
{ "move_background", (void*) &lv_obj_move_background, "", "(lv.lv_obj)" },
|
||||
{ "move_children_by", (void*) &lv_obj_move_children_by, "", "(lv.lv_obj)iib" },
|
||||
{ "move_foreground", (void*) &lv_obj_move_foreground, "", "(lv.lv_obj)" },
|
||||
{ "move_to", (void*) &lv_obj_move_to, "", "(lv.lv_obj)ii" },
|
||||
{ "move_to_index", (void*) &lv_obj_move_to_index, "", "(lv.lv_obj)i" },
|
||||
{ "readjust_scroll", (void*) &lv_obj_readjust_scroll, "", "(lv.lv_obj)(lv.lv_anim_enable)" },
|
||||
|
@ -517,6 +517,9 @@ extern int lvbe_obj_get_style_grid_cell_row_pos(bvm *vm);
|
||||
extern int lvbe_obj_get_style_grid_cell_row_span(bvm *vm);
|
||||
extern int lvbe_obj_get_style_grid_cell_x_align(bvm *vm);
|
||||
extern int lvbe_obj_get_style_grid_cell_y_align(bvm *vm);
|
||||
extern int lvbe_obj_move_foreground(bvm *vm);
|
||||
extern int lvbe_obj_move_background(bvm *vm);
|
||||
extern int lvbe_obj_get_child_id(bvm *vm);
|
||||
|
||||
/* `lv_group` external functions definitions */
|
||||
extern int lvbe_group_create(bvm *vm);
|
||||
|
@ -687,6 +687,12 @@ void lv_spinbox_decrement(lv_obj_t * obj)
|
||||
// ../../lvgl/src/extra/widgets/spinner/lv_spinner.h
|
||||
lv_obj_t * lv_spinner_create(lv_obj_t * parent, uint32_t time, uint32_t arc_length)
|
||||
|
||||
// ../../lvgl/src/lv_api_map.h
|
||||
static inline LV_ATTRIBUTE_TIMER_HANDLER uint32_t lv_task_handler(void)
|
||||
static inline void lv_obj_move_foreground(lv_obj_t * obj)
|
||||
static inline void lv_obj_move_background(lv_obj_t * obj)
|
||||
static inline uint32_t lv_obj_get_child_id(const struct _lv_obj_t * obj)
|
||||
|
||||
// ../../lvgl/src/misc/lv_style_gen.h
|
||||
void lv_style_set_width(lv_style_t * style, lv_coord_t value)
|
||||
void lv_style_set_min_width(lv_style_t * style, lv_coord_t value)
|
||||
|
@ -50,6 +50,7 @@ def clean_source(raw):
|
||||
|
||||
lv_src_prefix = "../../lvgl/src/"
|
||||
lv_fun_globs = [
|
||||
"lv_api*.h",
|
||||
"widgets/*.h", # all widgets
|
||||
# "extra/widgets/*/*.h",
|
||||
"extra/widgets/chart/*.h",
|
||||
|
Loading…
x
Reference in New Issue
Block a user