lv_observer_private.h
API reference for lv_observer_private.h
See Also: Public APIThis is the private implementation. See the public header for the stable interface.lv_observer.h
Summary
Structs
struct
_lv_observer_t
The observer object: a descriptor returned when subscribing LVGL widgets to subjects
| Member | Type | Description |
|---|---|---|
subject | lv_subject_t * | Observed subject |
cb | lv_observer_cb_t | Callback that notifies when value changes |
target | void * | A target for the observer, e.g. a widget or any pointer |
user_data | void * | Additional parameter supplied when subscribing |
auto_free_user_data | uint32_t | Automatically free user data when observer is removed |
notified | uint32_t | Was observer already notified? |
for_obj | uint32_t | Is target a pointer to a Widget (lv_obj_t *)? |
struct
_lv_subject_increment_dsc_t
Descriptor created by lv_obj_add_subject_increment_event()
| Member | Type | Description |
|---|---|---|
subject | lv_subject_t * | The subject to adjust |
step | int32_t | The step add to the subject |
rollover | bool | Where to start over from the other end when one end is exceeded |
min_value | int32_t | Don't set a value smaller than this |
max_value | int32_t | Don't set a value larger than this |
Dependencies
Indirect dependencies
lv_anim.hlv_area.hlv_array.hlv_assert.hlv_bidi.hlv_color.hlv_color_op.hlv_conf_internal.hlv_conf_kconfig.hlv_display.hlv_draw.hlv_draw_arc.hlv_draw_blur.hlv_draw_buf.hlv_draw_image.hlv_draw_label.hlv_draw_line.hlv_draw_rect.hlv_draw_triangle.hlv_event.hlv_ext_data.hlv_flex.hlv_font.hlv_fs.hlv_grad.hlv_grid.hlv_group.hlv_image_decoder.hlv_image_dsc.hlv_indev.hlv_layout.hlv_ll.hlv_log.hlv_math.hlv_matrix.hlv_mem.hlv_obj.hlv_obj_class.hlv_obj_draw.hlv_obj_event.hlv_obj_pos.hlv_obj_property.hlv_obj_property_names.hlv_obj_scroll.hlv_obj_style.hlv_obj_style_gen.hlv_obj_tree.hlv_palette.hlv_profiler.hlv_profiler_builtin.hlv_sprintf.hlv_string.hlv_style.hlv_style_gen.hlv_style_properties.hlv_symbol_def.hlv_text.hlv_tick.hlv_timer.hlv_types.h
How is this guide?
Last updated on