1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

Merge pull request #1 from littlevgl/master

Update
This commit is contained in:
Wielebny666 2020-04-29 12:14:55 +02:00 committed by GitHub
commit 5e9dd93e76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View File

@ -200,14 +200,14 @@ lv_obj_t * lv_tabview_create(lv_obj_t * par, const lv_obj_t * copy)
}
/**
* Delete all children of the scrl object, without deleting scrl child.
* @param tabview pointer to an object
* Delete all children of a tab created by `lv_tabview_add_tab`.
* @param tab pointer to a tab
*/
void lv_tabview_clean(lv_obj_t * tabview)
void lv_tabview_clean(lv_obj_t * tab)
{
LV_ASSERT_OBJ(tabview, LV_OBJX_NAME);
LV_ASSERT_OBJ(tab, "lv_page");
lv_obj_t * scrl = lv_page_get_scrl(tabview);
lv_obj_t * scrl = lv_page_get_scrl(tab);
lv_obj_clean(scrl);
}

View File

@ -93,10 +93,10 @@ typedef uint8_t lv_tabview_style_t;
lv_obj_t * lv_tabview_create(lv_obj_t * par, const lv_obj_t * copy);
/**
* Delete all children of the scrl object, without deleting scrl child.
* @param tabview pointer to an object
* Delete all children of a tab created by `lv_tabview_add_tab`.
* @param tab pointer to a tab
*/
void lv_tabview_clean(lv_obj_t * tabview);
void lv_tabview_clean(lv_obj_t * tab);
/*======================
* Add/remove functions