aboutsummaryrefslogtreecommitdiff
path: root/winsup/w32api/include/zmouse.h
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2003-01-06 00:18:45 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2003-01-06 00:18:45 +0000
commit066a41acdf18f1c3cbaf559097c3acdfc6a4530e (patch)
treef66d91fb48bd26928fea1fa058eebe9415ad64d3 /winsup/w32api/include/zmouse.h
parentcbdbe9d766cdf8a3b48d20563d9983db6e6f16f8 (diff)
downloadnewlib-066a41acdf18f1c3cbaf559097c3acdfc6a4530e.zip
newlib-066a41acdf18f1c3cbaf559097c3acdfc6a4530e.tar.gz
newlib-066a41acdf18f1c3cbaf559097c3acdfc6a4530e.tar.bz2
* include/winuser.h ((SPI_SETWHEELSCROLLLINES) Add define.
* include/zmouse.h (WHEEL_DELTA): Guard against prior definition. (WHEEL_PAGESCROLL): Likewise. (SPI_SETWHEELSCROLLLINES): Define, if not already done.
Diffstat (limited to 'winsup/w32api/include/zmouse.h')
-rw-r--r--winsup/w32api/include/zmouse.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/winsup/w32api/include/zmouse.h b/winsup/w32api/include/zmouse.h
index abb61ea..764d43d 100644
--- a/winsup/w32api/include/zmouse.h
+++ b/winsup/w32api/include/zmouse.h
@@ -21,7 +21,16 @@
# define WM_MOUSEWHEEL (WM_MOUSELAST + 1)
#endif
-#define WHEEL_DELTA 120
-#define WHEEL_PAGESCROLL UINT_MAX
+#ifndef WHEEL_DELTA
+# define WHEEL_DELTA 120
+#endif
+
+#ifndef WHEEL_PAGESCROLL
+# define WHEEL_PAGESCROLL UINT_MAX
+#endif
+
+#ifndef SPI_SETWHEELSCROLLLINES
+# define SPI_SETWHEELSCROLLLINES 105
+#endif
#endif /* _ZMOUSE_H */