rgb_panel sample
lv_obj_add_style()
is only used within rgb_panel 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
rgb_panel sample
lv_obj_add_style()
lv_obj_add_style() function
GLOBAL PROTOTYPES Add a style to an object. Examples:
lv_obj_add_style(btn, &style_btn, 0); //Default button style lv_obj_add_style(btn, &btn_red, LV_STATE_PRESSED); //Overwrite only some colors to red when pressed
Syntax
Show:
Summary
Declaration
Definition
from
lv_obj_style.h:54
void
lv_obj_add_style
(
lv_obj_t
*
obj
,
const
lv_style_t
*
style
,
lv_style_selector_t
selector
)
;
Implemented in
lv_obj_style.c:98
Arguments
Argument
Description
obj
pointer to an object
style
pointer to a style to add
selector
OR-ed value of parts and state to which the style should be added
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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