pub unsafe fn get_invalidated_class_name(
display: *mut lv_display_t,
area: &lv_area_t,
) -> Option<&'static CStr>Expand description
Class name of the object that most likely invalidated area on display.
LVGL reports an invalidated area (LV_EVENT_INVALIDATE_AREA) without the
object it belongs to. An object invalidates at most its own area, so this is
the deepest visible object that contains the area, searched from the topmost
layer down: a child that covers its parent exactly is named in its place.
It is None when no object of the display contains the area.
The area may be up to one pixel larger than the object on each side, as displays that round invalidated areas make it.
ยงSafety
display must be live and the caller must hold the LVGL lock, as a display
event callback does.