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:
parent
a5c92ef298
commit
767a44bdaa
@ -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;
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user