i80_controller sample
lv_style_transition_dsc_init()
is only used within i80_controller sample.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
i80_controller sample
lv_style_transition_dsc_init()
lv_style_transition_dsc_init() function
Initialize a transition descriptor. 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);
Syntax
Show:
Summary
Declaration
Definition
from
lv_style.h:477
void
lv_style_transition_dsc_init
(
lv_style_transition_dsc_t
*
tr
,
const
lv_style_prop_t
props
[
]
,
lv_anim_path_cb_t
path_cb
,
uint32_t
time
,
uint32_t
delay
,
void
*
user_data
)
;
Implemented in
lv_style.c:341
Arguments
Argument
Description
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
Examples
References
from
examples
Code
Location
Referrer
void
lv_style_transition_dsc_init
(
lv_style_transition_dsc_t
*
tr
,
const
lv_style_prop_t
props
[
]
,
lv_style.c:341
voi
lv_style_transition_dsc_ini
t
(lv_style_transition_dsc_
t
r
cons
lv_style_prop_
prop
s
[
]
lv_style.h:477
lv_style_transition_dsc_init
(
&
trans
,
props
,
lv_anim_path_linear
,
300
,
0
,
NULL
)
;
lv_example_button_2.c:50
lv_example_button_2()
lv_style_transition_dsc_init
(
&
transition_dsc_def
,
props
,
lv_anim_path_overshoot
,
250
,
100
,
NULL
)
;
lv_example_button_3.c:17
lv_example_button_3()
lv_style_transition_dsc_init
(
&
transition_dsc_pr
,
props
,
lv_anim_path_ease_in_out
,
250
,
0
,
NULL
)
;
lv_example_button_3.c:22
lv_example_button_3()
lv_style_transition_dsc_init
(
&
tr
,
tr_prop
,
lv_anim_path_linear
,
200
,
0
,
NULL
)
;
lv_example_imagebutton_1.c:13
lv_example_imagebutton_1()
lv_style_transition_dsc_init
(
&
trans
,
props
,
lv_anim_path_linear
,
200
,
0
,
NULL
)
;
lv_example_scroll_4.c:36
lv_example_scroll_4()
lv_style_transition_dsc_init
(
&
transition_dsc
,
props
,
lv_anim_path_linear
,
300
,
0
,
NULL
)
;
lv_example_slider_2.c:12
lv_example_slider_2()
lv_style_transition_dsc_init
(
&
trans_def
,
props
,
lv_anim_path_linear
,
100
,
200
,
NULL
)
;
lv_example_style_10.c:14
lv_example_style_10()
lv_style_transition_dsc_init
(
&
trans_pr
,
props
,
lv_anim_path_linear
,
500
,
0
,
NULL
)
;
lv_example_style_10.c:19
lv_example_style_10()
lv_style_transition_dsc_init
(
&
theme
->
trans_delayed
,
trans_props
,
lv_anim_path_linear
,
TRANSITION_TIME
,
70
,
NULL
)
;
lv_theme_default.c:235
style_init()
lv_style_transition_dsc_init
(
&
theme
->
trans_normal
,
trans_props
,
lv_anim_path_linear
,
TRANSITION_TIME
,
0
,
NULL
)
;
lv_theme_default.c:236
style_init()
Call Tree
from
examples
lv_style_transition_dsc_init()
is called by 7 functions and calls 1 function:
style_init()
lv_example_scroll_4()
lv_example_style_10()
lv_example_button_2()
lv_example_button_3()
lv_example_imagebutton_1()
lv_example_slider_2()
All items filtered out
lv_style_transition_dsc_init()
lv_memzero()
All items filtered out
Data Use
from
examples
lv_style_transition_dsc_init()
reads 1 variable and writes 5 variables:
lv_anim_path_linear()
All items filtered out
lv_style_transition_dsc_init()
lv_style_transition_dsc_t::props
lv_style_transition_dsc_t::user_data
lv_style_transition_dsc_t::path_xcb
lv_style_transition_dsc_t::time
lv_style_transition_dsc_t::delay
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out