/*****************************************************************/ /* */ /* Copyright (c) Quinn-Curtis, 1991, 1992 */ /* */ /* Filename: RTMOUSE.H */ /* Revision: 3.0 */ /* Date: 2/3/92 */ /* */ /* Description: -Routine for Lower Level Mouse I/O */ /* */ /*****************************************************************/ #ifdef __cplusplus extern "C" { #endif #ifndef BUT_LEFT #define BUT_LEFT 1 #define BUT_RIGHT 2 #define BUT_CENTER 4 #endif int rtmouseon(void); int rtbuttonpressed( int button, int buttonstat); void rtinitmouse(int *present, int *buttons); void rtshowmouse(void); void rthidemouse(void); void rtgetmouse(int *status, int *x, int *y); void rtsetmouse(int x, int y); void rtmousepressed(int button, int *status, int *count, int *x, int *y); void rtmousereleased(int button,int *status, int *count, int *x, int *y); void rtsetmousemaxx(int min, int max); void rtsetmousemaxy(int min, int max); void rtsetmouseicon(int iconnum); void rtsetmousecursor(int cursortype, int start, int stop); void rtmousemotion(int *x, int *y); void rtsetmouseintr(int *eventmask, int *procptr); void rtsetmousemickeys(int x, int y); void rtsetlargemouseicon(int cursorwidth,int cursorlength, int x, int y, int *iconptr,int *supported); void rtmousespeed(int mickeys); void rtquerymouse(int *info, int *size); void rtsavemousestate(int size, int *dataptr,int *error); void rtrestoremousestate(int size, int *dataptr, int *error); #ifdef __cplusplus } #endif