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

@@ -3,8 +3,8 @@
*
*/
#ifndef LV_indev_proc_H
#define LV_indev_proc_H
#ifndef LV_INDEV_H
#define LV_INDEV_H
#ifdef __cplusplus
extern "C" {
@@ -39,7 +39,7 @@ typedef lv_action_res_t ( * lv_action_t) (struct __LV_OBJ_T * obj);
/**
* Initialize the display input subsystem
*/
void lv_indev_proc_init(void);
void lv_indev_init(void);
/**
* Get the currently processed input device. Can be used in action functions too.
@@ -58,6 +58,13 @@ void lv_indev_reset(lv_indev_t * indev);
*/
void lv_indev_reset_lpr(lv_indev_t * indev_proc);
/**
* Enable input devices device by type
* @param indev pointer to an input device
* @param cur_obj pointer to an object to be used as cursor
*/
void lv_indev_set_cursor(lv_indev_t * indev, lv_obj_t * cur_obj);
/**
* Get the last point on display input
* @param indev_proc pointer to a display input
@@ -94,4 +101,4 @@ void lv_indev_wait_release(lv_indev_t * indev_proc);
} /* extern "C" */
#endif
#endif /*LV_indev_proc_H*/
#endif /*LV_INDEV_H*/