newlib/winsup/w32api/include/zmouse.h
Danny Smith 066a41acdf * 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.
2003-01-06 00:18:45 +00:00

37 lines
755 B
C

/*
zmouse.h - Header for IntelliMouse.
This file is part of a free library for the Win32 API.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
FIXME: This file is obviously horribly incomplete!
*/
#ifndef _ZMOUSE_H
#define _ZMOUSE_H
#if __GNUC__ >=3
#pragma GCC system_header
#endif
#ifndef WM_MOUSEWHEEL
# define WM_MOUSEWHEEL (WM_MOUSELAST + 1)
#endif
#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 */