Commit 124657f5 authored by Jeremy White's avatar Jeremy White Committed by Alexandre Julliard

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

parent aad78b91
......@@ -134,7 +134,8 @@ INSTALLED_INCLUDES = \
winver.h \
wnaspi32.h \
wownt32.h \
wtypes.h
wtypes.h \
zmouse.h
EXTRASUBDIRS = bitmaps wine
......
......@@ -19,38 +19,7 @@ typedef struct _WINE_MOUSEEVENT
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 */
/*
* 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 */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment