BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lvgl
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
lvgl
Commits
5256656e
Unverified
Commit
5256656e
authored
Mar 19, 2018
by
Gabor Kiss-Vamosi
Committed by
GitHub
Mar 19, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #169 from BenArtes/obj_scrl_clean_fix
Obj scrl clean fix
parents
0263c2cf
bb1e00a2
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
62 additions
and
0 deletions
+62
-0
lv_list.c
lv_objx/lv_list.c
+10
-0
lv_list.h
lv_objx/lv_list.h
+6
-0
lv_page.c
lv_objx/lv_page.c
+10
-0
lv_page.h
lv_objx/lv_page.h
+6
-0
lv_tabview.c
lv_objx/lv_tabview.c
+10
-0
lv_tabview.h
lv_objx/lv_tabview.h
+6
-0
lv_win.c
lv_objx/lv_win.c
+9
-0
lv_win.h
lv_objx/lv_win.h
+5
-0
No files found.
lv_objx/lv_list.c
View file @
5256656e
...
...
@@ -133,6 +133,16 @@ lv_obj_t * lv_list_create(lv_obj_t * par, lv_obj_t * copy)
return
new_list
;
}
/**
* Delete all children of the scrl object, without deleting scrl child.
* @param obj pointer to an object
*/
void
lv_list_clean
(
lv_obj_t
*
obj
)
{
lv_obj_t
*
scrl
=
lv_page_get_scrl
(
obj
);
lv_obj_clean
(
scrl
);
}
/*======================
* Add/remove functions
*=====================*/
...
...
lv_objx/lv_list.h
View file @
5256656e
...
...
@@ -76,6 +76,12 @@ typedef enum {
*/
lv_obj_t
*
lv_list_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_list_clean
(
lv_obj_t
*
obj
);
/*======================
* Add/remove functions
*=====================*/
...
...
lv_objx/lv_page.c
View file @
5256656e
...
...
@@ -136,6 +136,16 @@ lv_obj_t * lv_page_create(lv_obj_t * par, lv_obj_t * copy)
return
new_page
;
}
/**
* 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
)
{
lv_obj_t
*
scrl
=
lv_page_get_scrl
(
obj
);
lv_obj_clean
(
scrl
);
}
/*=====================
* Setter functions
*====================*/
...
...
lv_objx/lv_page.h
View file @
5256656e
...
...
@@ -80,6 +80,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
* @return pointer to a container which is the scrollable part of the page
...
...
lv_objx/lv_tabview.c
View file @
5256656e
...
...
@@ -166,6 +166,16 @@ lv_obj_t * lv_tabview_create(lv_obj_t * par, lv_obj_t * copy)
return
new_tabview
;
}
/**
* Delete all children of the scrl object, without deleting scrl child.
* @param obj pointer to an object
*/
void
lv_tabview_clean
(
lv_obj_t
*
obj
)
{
lv_obj_t
*
scrl
=
lv_page_get_scrl
(
obj
);
lv_obj_clean
(
scrl
);
}
/*======================
* Add/remove functions
*=====================*/
...
...
lv_objx/lv_tabview.h
View file @
5256656e
...
...
@@ -83,6 +83,12 @@ typedef enum {
*/
lv_obj_t
*
lv_tabview_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_tabview_clean
(
lv_obj_t
*
obj
);
/*======================
* Add/remove functions
*=====================*/
...
...
lv_objx/lv_win.c
View file @
5256656e
...
...
@@ -137,6 +137,15 @@ lv_obj_t * lv_win_create(lv_obj_t * par, lv_obj_t * copy)
return
new_win
;
}
/**
* Delete all children of the scrl object, without deleting scrl child.
* @param obj pointer to an object
*/
void
lv_win_clean
(
lv_obj_t
*
obj
)
{
lv_obj_t
*
scrl
=
lv_page_get_scrl
(
obj
);
lv_obj_clean
(
scrl
);
}
/*======================
* Add/remove functions
...
...
lv_objx/lv_win.h
View file @
5256656e
...
...
@@ -85,6 +85,11 @@ typedef enum {
*/
lv_obj_t
*
lv_win_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_win_clean
(
lv_obj_t
*
obj
);
/*======================
* Add/remove functions
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment