Parcourir la source

add: easylvgl, 增加set_hidden方法声明

zengeshuai il y a 2 mois
Parent
commit
7359cdf271
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      components/easylvgl/inc/luat_easylvgl_component.h

+ 1 - 0
components/easylvgl/inc/luat_easylvgl_component.h

@@ -270,6 +270,7 @@ int easylvgl_switch_set_on_change(lv_obj_t *sw, int callback_ref); //设置改
  */
  */
 lv_obj_t *easylvgl_container_create_from_config(void *L, int idx);
 lv_obj_t *easylvgl_container_create_from_config(void *L, int idx);
 int easylvgl_container_set_color(lv_obj_t *container, uint32_t color); //设置背景颜色
 int easylvgl_container_set_color(lv_obj_t *container, uint32_t color); //设置背景颜色
+int easylvgl_container_set_hidden(lv_obj_t *container, bool hidden); //设置隐藏状态
 
 
 /**
 /**
  * Table 组件创建
  * Table 组件创建