# lv_obj_event_private.h (/api/core/lv_obj_event_private_h)



<RelatedHeaders name="lv_obj_event.h" isPrivate="true" />

<ApiSummary structs="2" />

Structs [#structs]

<ApiMember kind="struct" name="_lv_hit_test_info_t">
  \_lv_hit_test_info_t [#_lv_hit_test_info_t]

  Used as the event parameter of <ApiLink name="lv_event_code_t" display="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 `false` another event wants that point non clickable. If you want to respect it leave it as `false` or set `true` to overwrite it.
  * If already set `true` and `point` shouldn't be clickable set to `false`
  * If already set to `true` you agree that `point` can click the object leave it as `true`

  | Member  | Type                                                       | Description                                                           |
  | ------- | ---------------------------------------------------------- | --------------------------------------------------------------------- |
  | `point` | <ApiLink name="lv_point_t" display="const lv_point_t *" /> | A point relative to screen to check if it can click the object or not |
  | `res`   | <ApiLink name="bool" />                                    | true: `point` can click the object; false: it cannot                  |
</ApiMember>

<ApiMember kind="struct" name="_lv_cover_check_info_t">
  \_lv_cover_check_info_t [#_lv_cover_check_info_t]

  Used as the event parameter of <ApiLink name="lv_event_code_t" display="LV_EVENT_COVER_CHECK" /> to check if an area is covered by the object or not. In the event use `const `<ApiLink name="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`  | <ApiLink name="lv_cover_res_t" />                        |             |
  | `area` | <ApiLink name="lv_area_t" display="const lv_area_t *" /> |             |
</ApiMember>

Dependencies [#dependencies]

<FileIncludes includes="[&#x22;lv_obj_event.h&#x22;]" transitiveIncludes="[&#x22;lv_anim.h&#x22;, &#x22;lv_area.h&#x22;, &#x22;lv_array.h&#x22;, &#x22;lv_assert.h&#x22;, &#x22;lv_bidi.h&#x22;, &#x22;lv_color.h&#x22;, &#x22;lv_color_op.h&#x22;, &#x22;lv_conf_internal.h&#x22;, &#x22;lv_conf_kconfig.h&#x22;, &#x22;lv_draw_buf.h&#x22;, &#x22;lv_event.h&#x22;, &#x22;lv_ext_data.h&#x22;, &#x22;lv_flex.h&#x22;, &#x22;lv_font.h&#x22;, &#x22;lv_grad.h&#x22;, &#x22;lv_grid.h&#x22;, &#x22;lv_group.h&#x22;, &#x22;lv_image_dsc.h&#x22;, &#x22;lv_indev.h&#x22;, &#x22;lv_layout.h&#x22;, &#x22;lv_ll.h&#x22;, &#x22;lv_log.h&#x22;, &#x22;lv_math.h&#x22;, &#x22;lv_mem.h&#x22;, &#x22;lv_obj_style.h&#x22;, &#x22;lv_obj_style_gen.h&#x22;, &#x22;lv_palette.h&#x22;, &#x22;lv_sprintf.h&#x22;, &#x22;lv_string.h&#x22;, &#x22;lv_style.h&#x22;, &#x22;lv_style_gen.h&#x22;, &#x22;lv_symbol_def.h&#x22;, &#x22;lv_text.h&#x22;, &#x22;lv_tick.h&#x22;, &#x22;lv_timer.h&#x22;, &#x22;lv_types.h&#x22;]" />
