From 124657f5a901c79b973b038086d11cd7bdfca7cf Mon Sep 17 00:00:00 2001 From: Jeremy White Date: Wed, 27 Sep 2000 01:18:47 +0000 Subject: [PATCH] Created zmouse.h, moved wheel code from mouse.h into it. --- include/Makefile.in | 3 +- include/mouse.h | 81 +++++++++++++++++------------------------------------ include/zmouse.h | 32 +++++++++++++++++++++ 3 files changed, 59 insertions(+), 57 deletions(-) rewrite include/mouse.h (61%) create mode 100644 include/zmouse.h diff --git a/include/Makefile.in b/include/Makefile.in index 53ffaa2da56..3e94a2b3d2a 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -134,7 +134,8 @@ INSTALLED_INCLUDES = \ winver.h \ wnaspi32.h \ wownt32.h \ - wtypes.h + wtypes.h \ + zmouse.h EXTRASUBDIRS = bitmaps wine diff --git a/include/mouse.h b/include/mouse.h dissimilarity index 61% index 302c4eee81c..7e5b9bad2df 100644 --- a/include/mouse.h +++ b/include/mouse.h @@ -1,56 +1,25 @@ -/* - * MOUSE driver interface - * - * Copyright 1998 Ulrich Weigand - */ - -#ifndef __WINE_MOUSE_H -#define __WINE_MOUSE_H - -#include "windef.h" -#include "user.h" - -/* Wine internals */ - -#define WINE_MOUSEEVENT_MAGIC ( ('M'<<24)|('A'<<16)|('U'<<8)|'S' ) -typedef struct _WINE_MOUSEEVENT -{ - DWORD magic; - DWORD keyState; - DWORD time; - HWND hWnd; - -} WINE_MOUSEEVENT; - -/*********************************** - * MouseWheel support (defines) - */ - -#define MSH_MOUSEWHEEL "MSWHEEL_ROLLMSG" - -#define WHEEL_DELTA 120 - -#define MOUSEZ_CLASSNAME "MouseZ" -#define MOUSEZ_TITLE "Magellan MSWHEEL" - -#define MSH_WHEELMODULE_CLASS (MOUSEZ_CLASSNAME) -#define MSH_WHEELMODULE_TITLE (MOUSEZ_TITLE) - -#define MSH_WHEELSUPPORT "MSH_WHEELSUPPORT_MSG" - -#define MSH_SCROLL_LINES "MSH_SCROLL_LINES_MSG" - -#ifndef WHEEL_PAGESCROLL -#define WHEEL_PAGESCROLL (UINT_MAX) -#endif - -#ifndef SPI_SETWHEELSCROLLLINES -#define SPI_SETWHEELSCROLLLINES 105 -#endif - - -/* MouseWheel support -***********************************/ - -#endif /* __WINE_MOUSE_H */ - +/* + * MOUSE driver interface + * + * Copyright 1998 Ulrich Weigand + */ + +#ifndef __WINE_MOUSE_H +#define __WINE_MOUSE_H + +#include "windef.h" +#include "user.h" + +/* Wine internals */ + +#define WINE_MOUSEEVENT_MAGIC ( ('M'<<24)|('A'<<16)|('U'<<8)|'S' ) +typedef struct _WINE_MOUSEEVENT +{ + DWORD magic; + DWORD keyState; + DWORD time; + HWND hWnd; +} WINE_MOUSEEVENT; + +#endif /* __WINE_MOUSE_H */ + diff --git a/include/zmouse.h b/include/zmouse.h new file mode 100644 index 00000000000..0e7288b60ac --- /dev/null +++ b/include/zmouse.h @@ -0,0 +1,32 @@ +/* + * Scroll wheel mouse definitions + * + * Copyright (C) 2000 CodeWeavers + */ + +#ifndef __WINE_ZMOUSE_H +#define __WINE_ZMOUSE_H + +#define MSH_MOUSEWHEEL "MSWHEEL_ROLLMSG" + +#define MOUSEZ_CLASSNAME "MouseZ" +#define MOUSEZ_TITLE "Magellan MSWHEEL" + +#define MSH_WHEELMODULE_CLASS (MOUSEZ_CLASSNAME) +#define MSH_WHEELMODULE_TITLE (MOUSEZ_TITLE) + +#define MSH_WHEELSUPPORT "MSH_WHEELSUPPORT_MSG" + +#define MSH_SCROLL_LINES "MSH_SCROLL_LINES_MSG" + +#define WHEEL_DELTA 120 + +#ifndef WHEEL_PAGESCROLL +#define WHEEL_PAGESCROLL (UINT_MAX) +#endif + +#ifndef SPI_SETWHEELSCROLLLINES +#define SPI_SETWHEELSCROLLLINES 105 +#endif + +#endif /* __WINE_ZMOUSE_H */ -- 2.11.4.GIT