瀏覽代碼

add: easylvgl, 增加set_hidden方法声明

zengeshuai 2 月之前
父節點
當前提交
7359cdf271
共有 1 個文件被更改,包括 1 次插入0 次删除
  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);
 int easylvgl_container_set_color(lv_obj_t *container, uint32_t color); //设置背景颜色
+int easylvgl_container_set_hidden(lv_obj_t *container, bool hidden); //设置隐藏状态
 
 /**
  * Table 组件创建