home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_10_08
/
1008096a
< prev
next >
Wrap
Text File
|
1992-02-17
|
2KB
|
46 lines
/*--------------------------------------------------*
* *
* Module: GetTouch.h *
* Purpose: Header file for GetTouch.c *
* Author: W. Harvey Gray *
* Compiler: Microsoft 5.0 *
* *
* Copyright 1992, W. Harvey Gray. May be used *
* freely, if authorship and publication are *
* acknowledged. *
* *
*--------------------------------------------------*/
/*--------------------------------------------------*
* struct defines *
*--------------------------------------------------*/
struct touchit { /* struct for touch information */
int xcen; /* X centroid of touch */
int ycen; /* Y centroid of touch */
int n; /* Number of touch points */
boolean button; /* Is it a button */
};
struct touchxy { /* struct for touch point data */
int xt; /* X coordinate of touch point */
int yt; /* Y coordinate of touch point */
boolean ut; /* Untouch indicator */
};
/*--------------------------------------------------*
* extern prototypes *
*--------------------------------------------------*/
extern struct touchit *TouchInfo( void );
extern struct touchxy *GetTouch( boolean * );
extern void InitializeTouch( void );
extern void ReplayTouch( boolean );
extern void SetButtonRadius( int );
/* End of file. */