home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / snip9707.zip / MOUSE.H < prev    next >
C/C++ Source or Header  |  1997-07-05  |  1KB  |  42 lines

  1. /* +++Date last modified: 05-Jul-1997 */
  2.  
  3. /*      module:         mouse.h
  4.  *      programmer:     Ray L. McVay
  5.  *      started:        26oct86
  6.  *      updated:        26oct86
  7.  *
  8.  *      Some handy mouse interface functions.
  9.  */
  10.  
  11. #ifndef MOUSE__H
  12. #define MOUSE__H
  13.  
  14. #include "extkword.h"
  15.  
  16. #define MSMOUSE 0x33
  17.  
  18. extern int mouse_present;
  19.  
  20. int  ms_reset(int *);
  21. void ms_show_cursor(void);
  22. void ms_hide_cursor(void);
  23. int  ms_get_mouse_pos(int *, int *);
  24. void ms_set_mouse_pos(int, int);
  25. int  ms_button_press_status(int, int *, int *, int *);
  26. int  ms_button_release_status(int, int *, int *, int *);
  27. void ms_restrict_horiz(int, int);
  28. void ms_restrict_horiz(int, int);
  29. void ms_define_window(int, int, int, int);
  30. void ms_set_graphics_cursor(int, int, unsigned, unsigned);
  31. void ms_set_text_cursor(int, int, int);
  32. void ms_read_motion_counters(int *, int *);
  33. void ms_set_event_subroutine(int, unsigned, unsigned);
  34. void ms_light_pen_on(void);
  35. void ms_light_pen_off(void);
  36. void ms_set_sensitivity(int, int);
  37. void ms_protect_area(int, int, int, int);
  38. int  ms_set_large_graphics_cursor(int, int, int, int, unsigned, unsigned);
  39. void ms_set_doublespeed_threshold(int);
  40.  
  41. #endif /* MOUSE__H */
  42.