group: add user_data

This commit is contained in:
Gabor Kiss-Vamosi
2019-03-06 23:14:19 +01:00
13 changed files with 117 additions and 41 deletions

View File

@@ -16,7 +16,6 @@
#include "../lv_misc/lv_anim.h"
#include "../lv_misc/lv_task.h"
#include "../lv_misc/lv_fs.h"
#include "../lv_misc/lv_ufs.h"
#include "../lv_hal/lv_hal.h"
#include <stdint.h>
#include <string.h>
@@ -79,7 +78,6 @@ void lv_init(void)
#if USE_LV_FILESYSTEM
lv_fs_init();
lv_ufs_init();
#endif
lv_font_init();
@@ -1739,9 +1737,9 @@ void lv_obj_get_type(lv_obj_t * obj, lv_obj_type_t * buf)
#if USE_LV_USER_DATA_SINGLE
/**
* Get a pointer to the pbject's user data
* Get a pointer to the object's user data
* @param obj pointer to an object
* @return the free number
* @return pointer to the user data
*/
lv_obj_user_data_t * lv_obj_get_user_data(lv_obj_t * obj)
{