Created zmouse.h, moved wheel code from mouse.h into it.

This commit is contained in:
Jeremy White 2000-09-27 01:18:47 +00:00 committed by Alexandre Julliard
parent aad78b91f7
commit 124657f5a9
3 changed files with 34 additions and 32 deletions

View File

@ -134,7 +134,8 @@ INSTALLED_INCLUDES = \
winver.h \ winver.h \
wnaspi32.h \ wnaspi32.h \
wownt32.h \ wownt32.h \
wtypes.h wtypes.h \
zmouse.h
EXTRASUBDIRS = bitmaps wine EXTRASUBDIRS = bitmaps wine

View File

@ -19,38 +19,7 @@ typedef struct _WINE_MOUSEEVENT
DWORD keyState; DWORD keyState;
DWORD time; DWORD time;
HWND hWnd; HWND hWnd;
} WINE_MOUSEEVENT; } 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 */ #endif /* __WINE_MOUSE_H */

32
include/zmouse.h Normal file
View File

@ -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 */