lv_obj: add top and sys layers

This commit is contained in:
Gabor Kiss-Vamosi
2017-10-10 16:17:23 +02:00
parent d6fe59bf73
commit dcf50104f0
9 changed files with 141 additions and 70 deletions

View File

@@ -491,7 +491,14 @@ void lv_obj_anim(lv_obj_t * obj, lv_anim_builtin_t type, uint16_t time, uint16_t
* Return with the actual screen
* @return pointer to to the actual screen object
*/
lv_obj_t * lv_scr_act(void);
lv_obj_t * lv_scr_act(void);lv_obj_t * lv_top_layer(void);
/**
* Return with the system layer. (Same on every screen and it is above the all other layers)
* It is used for example by the cursor
* @return pointer to the system layer object (transparent screen sized lv_obj)
*/
lv_obj_t * lv_sys_layer(void);
/**
* Return with the screen of an object