home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / MAGAZINE / MISC / PCTV1N2.ZIP / MOUSE.H < prev    next >
Encoding:
C/C++ Source or Header  |  1990-03-25  |  572 b   |  17 lines

  1. /* mouse.h
  2.  */
  3. #define RESET_MOUSE              0
  4. #define SHOW_MOUSE               1
  5. #define HIDE_MOUSE               2
  6. #define GET_MOUSE_STATUS         3
  7. #define PRESSED             5    /* Button presses */
  8. #define RELEASED            6    /* Button releases */
  9. #define LEFT_BUTTON              0    /* Use left button */
  10.  
  11. /* The function prototypes for the functions in mouse.c */
  12. void mouse(int *m1, int *m2, int *m3, int *m4);
  13. int  initmouse(void);
  14. void getmousecoords(int *x, int *y);
  15. void mousestatus(int stateofmouse);
  16. int buttonstatus(int condition, int whichbutton);
  17.