lv_obj_event_private.h
API reference for lv_obj_event_private.h
See Also: Public APIThis is the private implementation. See the public header for the stable interface.lv_obj_event.h
Summary
Structs
struct
_lv_hit_test_info_t
Used as the event parameter of LV_EVENT_HIT_TEST to check if an point can click the object or not. res should be set like this:
- If already set to
falseanother event wants that point non clickable. If you want to respect it leave it asfalseor settrueto overwrite it. - If already set
trueandpointshouldn't be clickable set tofalse - If already set to
trueyou agree thatpointcan click the object leave it astrue
| Member | Type | Description |
|---|---|---|
point | const lv_point_t * | A point relative to screen to check if it can click the object or not |
res | bool | true: point can click the object; false: it cannot |
struct
_lv_cover_check_info_t
Used as the event parameter of LV_EVENT_COVER_CHECK to check if an area is covered by the object or not. In the event use const lv_area_t * area = lv_event_get_cover_area(e) to get the area to check and lv_event_set_cover_res(e, res) to set the result.
| Member | Type | Description |
|---|---|---|
res | lv_cover_res_t | |
area | const lv_area_t * |
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_draw_buf.hlv_event.hlv_ext_data.hlv_flex.hlv_font.hlv_grad.hlv_grid.hlv_group.hlv_image_dsc.hlv_indev.hlv_layout.hlv_ll.hlv_log.hlv_math.hlv_mem.hlv_obj_style.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