home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
APPS
/
dm14.lzh
/
mouse.h
< prev
next >
Wrap
Text File
|
1992-09-07
|
1KB
|
35 lines
/* mouse.h - defs for mouse packet */
#ifndef _MOUSE_
#define _MOUSE_
typedef struct rmousin {
char pt_valid, /* Is packet valid */
pt_area; /* Area of the window */
short pt_control, /* is mouse on the control region */
pt_sacx, /* Scaled actual x value */
pt_sacy, /* Scaled actual y value */
pt_acx, /* actual x value */
pt_acy, /* actual y value */
pt_cbsa, /* current button state button A */
pt_cbsb, /* current button state button B */
pt_cbsc, /* current button state button C */
pt_wrx, /* window working area x value */
pt_wry, /* window working area y value */
pt_swrx, /* Scaled working area x value */
pt_swry, /* Scaled working area y value */
pt_rsvd[3], /* reserved for future expansion */
pt_wacx, /* actual x value - window offsets */
pt_wacy, /* actual y value - window offsets */
pt_oacx, /* actual x value - (window + overlay offsets) */
pt_oacy, /* actual y value - (window + overlay offsets) */
pt_rsvd2[4]; /* reserved for future expansion */
} MSRET;
#define WR_OFWIN 0
#define WR_CNTRL 1
#define WR_CNTNT 2
#endif _MOUSE_