lv_indev_scroll.h

API reference for lv_indev_scroll.h

Report on GitHub
Summary

Functions

lv_indev_scroll_get_snap_dist

Get the distance of the nearest snap point

 
void lv_indev_scroll_get_snap_dist(lv_obj_t *obj, lv_point_t *p)
Parameters
NameTypeDescription
objlv_obj_t *the object on which snap points should be found
plv_point_t *save the distance of the found snap point there

Dependencies

  • lvgl_public.h

Last updated on

On this page