1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

feat(observer): add user_data to lv_subject_t

This commit is contained in:
Gabor Kiss-Vamosi 2023-11-27 12:02:20 +01:00
parent a5c92ef298
commit 767a44bdaa

View File

@ -55,6 +55,7 @@ typedef struct {
lv_subject_value_t value; /**< Actual value*/
lv_subject_value_t prev_value; /**< Previous value*/
uint32_t notify_restart_query : 1; /**< If an observer deleted start notifying from the beginning. */
void * user_data; /**< Additional parameter, can be used freely by the user*/
} lv_subject_t;
/**