gtk2/gdk/win32
Руслан Ижбулатов d64467b334 GDK W32: Support smooth scrolling
Set delta_x or delta_y for GdkScrollEvent.
HIWORD (wParam) in WM_MOUSE(H)WHEEL is the scroll delta.
A delta value of WHEEL_DELTA (which is 120) means scrolling
one full unit of something (for example, a line).

The delta should also be multiplied by the value that the
SystemParametersInfo (SPI_GETWHEELSCROLL(LINES|CHARS), 0, &value, 0)
call gives back, unless it gives back 0xffffffff, in which case
it indicates that scrolling is page- or screen-based, not line-based
(GDK doesn't support that at the moment).

Also, all deltas should be inverted, since MS sends negative deltas
when scrolling down (rotating the wheel back, in the direction of
the user).

With deltas set the mode should be set to GDK_SCROLL_SMOOTH.

Fixes issue 1263.
2018-08-18 17:02:39 +00:00
..
rc Drop Autotools build 2017-08-14 22:23:09 +01:00
bdfcursor.c
cursor.bdf
gdkcairocontext-win32.c Fix gdk_win32_cairo_context_end_frame prototype 2018-06-10 21:21:02 +00:00
gdkcairocontext-win32.h GDK W32: Switch to GdkCairoContext 2018-04-24 23:24:55 +02:00
gdkclipboard-win32.c Remove some more unused variables 2018-06-10 21:21:06 +00:00
gdkclipboard-win32.h GDK W32: Another massive clipboard and DnD update 2018-03-29 17:43:53 +00:00
gdkclipdrop-win32.c win32: Adapt to dnd api changes 2018-07-02 22:52:59 +02:00
gdkclipdrop-win32.h GDK W32: Adapt to GdkDrop and GdkDragContext changes 2018-06-18 23:49:52 +02:00
gdkcursor-win32.c GDK W32: Fix a missing weak referencing 2018-04-11 16:39:34 +00:00
gdkdevice-virtual.c surface: Kill event masks 2018-06-18 23:49:52 +02:00
gdkdevice-virtual.h
gdkdevice-win32.c gdk: Remove GDK_SURFACE_FOREIGN 2018-06-26 00:47:40 +02:00
gdkdevice-win32.h GdkWindow -> GdkSurface initial type rename 2018-03-20 11:40:08 +01:00
gdkdevice-wintab.c surface: Kill event masks 2018-06-18 23:49:52 +02:00
gdkdevice-wintab.h GdkWindow -> GdkSurface initial type rename 2018-03-20 11:40:08 +01:00
gdkdevicemanager-win32.c surface: Kill event masks 2018-06-18 23:49:52 +02:00
gdkdevicemanager-win32.h GdkWindow -> GdkSurface initial type rename 2018-03-20 11:40:08 +01:00
gdkdisplay-win32.c Fix a missing default case warning 2018-06-10 21:21:10 +00:00
gdkdisplay-win32.h GDK W32: Use the new cursor class 2018-03-29 23:59:23 +00:00
gdkdisplaymanager-win32.c Remove unused functions in W32 backend 2018-06-10 21:21:09 +00:00
gdkdrag-win32.c win32: Stop accessing GdkDrag members 2018-07-15 16:58:22 -04:00
gdkdrop-win32.c win32: Adapt to dnd api changes 2018-07-02 22:52:59 +02:00
gdkevents-win32.c GDK W32: Support smooth scrolling 2018-08-18 17:02:39 +00:00
gdkgeometry-win32.c gdk: Remove GDK_SURFACE_FOREIGN 2018-06-26 00:47:40 +02:00
gdkglcontext-win32.c drawcontext: Only pass the region that matters 2018-04-24 23:16:58 +02:00
gdkglcontext-win32.h GdkWindow -> GdkSurface: File renames 2018-03-20 11:46:11 +01:00
gdkglobals-win32.c GDK W32: Another massive clipboard and DnD update 2018-03-29 17:43:53 +00:00
gdkhdataoutputstream-win32.c Fix more signedness issues in W32 backend 2018-06-10 21:21:14 +00:00
gdkhdataoutputstream-win32.h GDK W32: Another massive clipboard and DnD update 2018-03-29 17:43:53 +00:00
gdkkeys-win32.c GDK W32: drop the use of gdk_keymap_get_default() 2018-03-28 16:10:38 +08:00
gdkmain-win32.c dnd: Remove GDK_ACTION_DEFAULT and GDK_ACTION_PRIVATE 2018-06-18 23:49:19 +02:00
gdkmonitor-win32.c GdkSurface: Rename various functions and variables 2018-03-20 12:05:26 +01:00
gdkmonitor-win32.h win32: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkprivate-win32.h win32: Adapt to dnd api changes 2018-07-02 22:52:59 +02:00
gdkproperty-win32.c Remove unused functions in W32 backend 2018-06-10 21:21:09 +00:00
gdkscreen-win32.c Remove unused variables (mostly in W32 code) 2018-06-10 21:21:01 +00:00
gdksurface-win32.c Gdk-Win32: Correct handling of transient state changes 2018-07-31 11:11:26 +02:00
gdksurface-win32.h surface: Kill event masks 2018-06-18 23:49:52 +02:00
gdkvulkancontext-win32.c GdkSurface: Rename various functions and variables 2018-03-20 12:05:26 +01:00
gdkvulkancontext-win32.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkwin32.h GdkWindow -> GdkSurface: File renames 2018-03-20 11:46:11 +01:00
gdkwin32cursor.h GDK W32: New cursor class 2018-03-29 23:59:14 +00:00
gdkwin32display.h GDK W32: Use the new cursor class 2018-03-29 23:59:23 +00:00
gdkwin32displaymanager.h
gdkwin32dnd-private.h win32: Adapt to dnd api changes 2018-07-02 22:52:59 +02:00
gdkwin32dnd.h win32: Adapt to dnd api changes 2018-07-02 22:52:59 +02:00
gdkwin32glcontext.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkwin32id.c
gdkwin32keys.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkwin32misc.h GDK W32: Remove gdk_win32_surface_foreign_new_for_display 2018-06-18 23:49:53 +02:00
gdkwin32monitor.h The big versioning cleanup 2018-02-06 01:16:32 -05:00
gdkwin32screen.h win32: Make GdkWin32Screen a plain object 2017-11-17 13:47:14 -05:00
gdkwin32surface.h GdkWindow -> GdkSurface: File renames 2018-03-20 11:46:11 +01:00
libwntab32x.la
meson.build gdk: Add Cairo context implementations for all backends 2018-04-24 23:16:12 +02:00
pktdef.h
wintab.h
xcursors.h