Adds sub-object specific clean functions to prevent breaking with lv_obj_clean

This commit is contained in:
Benjamin Artes
2018-03-16 11:53:27 -04:00
parent 5d53a9edaf
commit 75a43a536c
8 changed files with 62 additions and 0 deletions

View File

@@ -79,6 +79,12 @@ typedef enum {
*/
lv_obj_t * lv_page_create(lv_obj_t * par, lv_obj_t * copy);
/**
* Delete all children of the scrl object, without deleting scrl child.
* @param obj pointer to an object
*/
void lv_page_clean(lv_obj_t *obj);
/**
* Get the scrollable object of a page
* @param page pointer to a page object