diff options
author | Gabor Kiss-Vamosi <kisvegabor@gmail.com> | 2023-10-31 19:25:01 +0100 |
---|---|---|
committer | Gabor Kiss-Vamosi <kisvegabor@gmail.com> | 2023-10-31 19:25:01 +0100 |
commit | a5a58e39d2abbb66b57cf27f3c4a1d25f9ac6b3d (patch) | |
tree | 3046130dce1b174fea713d07843b65ce6374dd4b /src/dev/sdl/lv_sdl_mouse.c | |
parent | d456b1cb4da4795e3b2f64ec484f624fa127471d (diff) | |
download | lvgl-a5a58e39d2abbb66b57cf27f3c4a1d25f9ac6b3d.tar.gz lvgl-a5a58e39d2abbb66b57cf27f3c4a1d25f9ac6b3d.zip |
refactor: replace lv_coord_t with int32_t
Diffstat (limited to 'src/dev/sdl/lv_sdl_mouse.c')
-rw-r--r-- | src/dev/sdl/lv_sdl_mouse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dev/sdl/lv_sdl_mouse.c b/src/dev/sdl/lv_sdl_mouse.c index 9dfef6120..0fdedcd12 100644 --- a/src/dev/sdl/lv_sdl_mouse.c +++ b/src/dev/sdl/lv_sdl_mouse.c @@ -117,8 +117,8 @@ void _lv_sdl_mouse_handler(SDL_Event * event) lv_sdl_mouse_t * indev_dev = lv_indev_get_driver_data(indev); if(indev_dev == NULL) return; - lv_coord_t hor_res = lv_display_get_horizontal_resolution(disp); - lv_coord_t ver_res = lv_display_get_vertical_resolution(disp); + int32_t hor_res = lv_display_get_horizontal_resolution(disp); + int32_t ver_res = lv_display_get_vertical_resolution(disp); uint8_t zoom = lv_sdl_window_get_zoom(disp); switch(event->type) { |