lv_style_transition_dsc_init() function
Initialize a transition descriptor.
Arguments
tr
pointer to a transition descriptor to initialize
props
an array with the properties to transition. The last element must be zero.
path_cb
an animation path (ease) callback. If `NULL` liner path will be used.
time
duration of the transition in [ms]
delay
delay before the transition in [ms]
user_data
any custom data that will be saved in the transition animation and will be available when `path_cb` is called @example const static lv_style_prop_t trans_props[] = { LV_STYLE_BG_OPA, LV_STYLE_BG_COLOR, 0 }; static lv_style_transition_dsc_t trans1; lv_style_transition_dsc_init(&trans1, trans_props, NULL, 300, 0, NULL);