lv_obj_style_private.h
API reference for lv_obj_style_private.h
See Also: Public APIThis is the private implementation. See the public header for the stable interface.lv_obj_style.h
Summary
Functions
core/lv_obj_style_private.h:54function
lv_obj_style_init
Initialize the object related style manager module. Called by LVGL in lv_init()
void lv_obj_style_init(void)core/lv_obj_style_private.h:60function
lv_obj_style_deinit
Deinitialize the object related style manager module. Called by LVGL in lv_deinit()
void lv_obj_style_deinit(void)core/lv_obj_style_private.h:70function
lv_obj_style_create_transition
Used internally to create a style transition
void lv_obj_style_create_transition(lv_obj_t *obj, lv_part_t part, lv_state_t prev_state, lv_state_t new_state, const lv_obj_style_transition_dsc_t *tr)| Name | Type |
|---|---|
obj | lv_obj_t * |
part | lv_part_t |
prev_state | lv_state_t |
new_state | lv_state_t |
tr | const lv_obj_style_transition_dsc_t * |
core/lv_obj_style_private.h:80function
lv_obj_style_state_compare
Used internally to compare the appearance of an object in 2 states
lv_style_state_cmp_t lv_obj_style_state_compare(lv_obj_t *obj, lv_state_t state1, lv_state_t state2)| Name | Type |
|---|---|
obj | lv_obj_t * |
state1 | lv_state_t |
state2 | lv_state_t |
core/lv_obj_style_private.h:87function
lv_obj_update_layer_type
Update the layer type of a widget bayed on its current styles. The result will be stored in obj->spec_attr->layer_type
void lv_obj_update_layer_type(lv_obj_t *obj)| Name | Type | Description |
|---|---|---|
obj | lv_obj_t * | the object whose layer should be updated |
Structs
struct
_lv_obj_style_t
struct
_lv_obj_style_transition_dsc_t
| Member | Type | Description |
|---|---|---|
time | uint16_t | |
delay | uint16_t | |
selector | lv_style_selector_t | |
prop | lv_style_prop_t | |
path_cb | lv_anim_path_cb_t | |
user_data | void * |
Dependencies
Indirect dependencies
lv_anim.hlv_area.hlv_assert.hlv_bidi.hlv_color.hlv_color_op.hlv_conf_internal.hlv_conf_kconfig.hlv_draw_buf.hlv_ext_data.hlv_flex.hlv_font.hlv_grad.hlv_grid.hlv_image_dsc.hlv_layout.hlv_ll.hlv_log.hlv_math.hlv_mem.hlv_obj_style_gen.hlv_palette.hlv_sprintf.hlv_string.hlv_style.hlv_style_gen.hlv_symbol_def.hlv_text.hlv_tick.hlv_timer.hlv_types.h
How is this guide?
Last updated on