lv_obj_event_private.h¶
-
struct _lv_hit_test_info_t¶
- #include <lv_obj_event_private.h>
Used as the event parameter of LV_EVENT_HIT_TEST to check if an
pointcan click the object or not.resshould 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 tofalseIf already set to
trueyou agree thatpointcan click the object leave it astrue
Public Members
-
const lv_point_t *point¶
A point relative to screen to check if it can click the object or not
-
bool res¶
true:
pointcan click the object; false: it cannot
-
struct _lv_cover_check_info_t¶
- #include <lv_obj_event_private.h>
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 andlv_event_set_cover_res(e, res)to set the result.