home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Kyūkyoku!! X68000 Emulator
/
X68000Book.dat
/
mac
/
OLS
/
X68000
/
Ko-Window
/
kow142s.lzh
/
wsrv
/
mouselib.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-06-29
|
922b
|
43 lines
/*
* â}âEâXè╓Éö
*
* Copyright T.Kobayashi
* 1990.1.1
*/
#ifndef ON
#define ON TRUE
#define OFF FALSE
#endif
/*
proto -e mouselib.c > temp
*/
extern void MouseInitialize( void );
extern void MouseQuit( void );
#define MSLIB_MACRO /* 1991 by COR. */
#ifndef MSLIB_MACRO
extern void MouseCursorOn( void );
extern void MouseCursorOff( void );
extern void MouseRegion( int, int, int, int );
extern void MouseMove( int, int );
#else
#define MouseCursorOn() MS_CURON()
#define MouseCursorOff() MS_CUROF()
#define MouseRegion(x1,y1,x2,y2) MS_LIMIT(x1,y1,x2,y2)
#define MouseMove(x,y) MS_CURST(x,y)
#endif
extern void MouseGetPosition( int*, int* );
extern void MouseGetSwitch( int*, int* );
extern int KeyGet( void );
extern int KeySense( void );
#ifndef MSLIB_MACRO
extern void KeyFlash( void );
#else
#define KeyFlash() KFLUSHIO(0xfe)
#endif