aboutsummaryrefslogtreecommitdiff
path: root/src/indev/lv_indev_scroll.h
diff options
context:
space:
mode:
authorGabor Kiss-Vamosi <kisvegabor@gmail.com>2023-10-31 19:25:01 +0100
committerGabor Kiss-Vamosi <kisvegabor@gmail.com>2023-10-31 19:25:01 +0100
commita5a58e39d2abbb66b57cf27f3c4a1d25f9ac6b3d (patch)
tree3046130dce1b174fea713d07843b65ce6374dd4b /src/indev/lv_indev_scroll.h
parentd456b1cb4da4795e3b2f64ec484f624fa127471d (diff)
downloadlvgl-a5a58e39d2abbb66b57cf27f3c4a1d25f9ac6b3d.tar.gz
lvgl-a5a58e39d2abbb66b57cf27f3c4a1d25f9ac6b3d.zip
refactor: replace lv_coord_t with int32_t
Diffstat (limited to 'src/indev/lv_indev_scroll.h')
-rw-r--r--src/indev/lv_indev_scroll.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indev/lv_indev_scroll.h b/src/indev/lv_indev_scroll.h
index 4e933f613..64d1d018b 100644
--- a/src/indev/lv_indev_scroll.h
+++ b/src/indev/lv_indev_scroll.h
@@ -45,7 +45,7 @@ void _lv_indev_scroll_throw_handler(lv_indev_t * indev);
* @param dir ` LV_DIR_VER` or `LV_DIR_HOR`
* @return the difference compared to the current position when the throw would be finished
*/
-lv_coord_t lv_indev_scroll_throw_predict(lv_indev_t * indev, lv_dir_t dir);
+int32_t lv_indev_scroll_throw_predict(lv_indev_t * indev, lv_dir_t dir);
/**
* Get the distance of the nearest snap point