home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
pmos2002.zip
/
DEF
/
MOUSE0.DEF
< prev
next >
Wrap
Text File
|
1996-10-10
|
1KB
|
30 lines
DEFINITION MODULE Mouse0;
(********************************************************)
(* *)
(* Common definitions for the mouse drivers *)
(* *)
(* Programmer: P. Moylan *)
(* Last edited: 10 October 1996 *)
(* Status: OK *)
(* *)
(********************************************************)
TYPE
Buttons = (LeftButton, RightButton, MiddleButton);
ButtonSet = SET OF Buttons;
Events = (Motion, LeftDown, LeftUp, RightDown, RightUp, MiddleDown,
MiddleUp);
EventSet = SET OF Events;
EventHandler = PROCEDURE (EventSet, (* condition mask *)
ButtonSet, (* Button state *)
CARDINAL, (* horizontal cursor position *)
CARDINAL); (* vertical cursor position *)
END Mouse0.