i2c_oled sample
lv_roller_t::option_cnt
is only used within i2c_oled sample.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
i2c_oled sample
lv_roller_t::option_cnt
lv_roller_t::option_cnt field
Number of options
Syntax
Show:
Summary
Declaration
from
lv_roller.h:46
uint16_t
option_cnt
;
Examples
References
from
examples
Code
Location
Referrer
uint16_t
option_cnt
;
/**< Number of options*/
lv_roller.h:46
roller
->
option_cnt
=
0
;
lv_roller.c:108
lv_roller_set_options()
if
(
options
[
cnt
]
==
'\n'
)
roller
->
option_cnt
++
;
lv_roller.c:111
lv_roller_set_options()
roller
->
option_cnt
++
;
/*Last option has no `\n`*/
lv_roller.c:113
lv_roller_set_options()
roller
->
sel_opt_id
=
(
(
LV_ROLLER_INF_PAGES
/
2
)
+
0
)
*
roller
->
option_cnt
;
lv_roller.c:133
lv_roller_set_options()
roller
->
option_cnt
=
roller
->
option_cnt
*
LV_ROLLER_INF_PAGES
;
lv_roller.c:135
lv_roller_set_options()
uint32_t
real_option_cnt
=
roller
->
option_cnt
/
LV_ROLLER_INF_PAGES
;
lv_roller.c:164
lv_roller_set_selected()
roller
->
sel_opt_id
=
sel_opt
<
roller
->
option_cnt
?
sel_opt
:
roller
->
option_cnt
-
1
;
lv_roller.c:180
lv_roller_set_selected()
uint16_t
real_id_cnt
=
roller
->
option_cnt
/
LV_ROLLER_INF_PAGES
;
lv_roller.c:216
lv_roller_get_selected()
return
roller
->
option_cnt
/
LV_ROLLER_INF_PAGES
;
lv_roller.c:282
lv_roller_get_option_cnt()
return
roller
->
option_cnt
;
lv_roller.c:285
lv_roller_get_option_cnt()
roller
->
option_cnt
=
0
;
lv_roller.c:300
lv_roller_constructor()
if
(
roller
->
sel_opt_id
+
1
<
roller
->
option_cnt
)
{
lv_roller.c:394
lv_roller_event()
if
(
id
>=
roller
->
option_cnt
)
id
=
roller
->
option_cnt
-
1
;
lv_roller.c:708
release_handler()
uint16_t
real_id_cnt
=
roller
->
option_cnt
/
LV_ROLLER_INF_PAGES
;
lv_roller.c:732
inf_normalize()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
lv_roller_t::option_cnt
is written by 2 functions and is read by 7 functions:
lv_roller_set_options()
lv_roller_constructor()
All items filtered out
lv_roller_t::option_cnt
lv_roller_set_options()
lv_roller_set_selected()
lv_roller_get_selected()
lv_roller_get_option_cnt()
lv_roller_event()
release_handler()
inf_normalize()
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