nuclear@1: #ifndef MOUSE_H_ nuclear@1: #define MOUSE_H_ nuclear@1: nuclear@1: #define MOUSE_LEFT 1 nuclear@1: #define MOUSE_RIGHT 2 nuclear@1: #define MOUSE_MIDDLE 4 nuclear@1: nuclear@1: #ifdef __cplusplus nuclear@1: extern "C" { nuclear@1: #endif nuclear@1: nuclear@1: int have_mouse(void); nuclear@1: void show_mouse(int show); nuclear@1: int read_mouse(int *xp, int *yp); nuclear@1: void set_mouse(int x, int y); nuclear@1: void set_mouse_limits(int xmin, int ymin, int xmax, int ymax); nuclear@1: nuclear@1: #ifdef __cplusplus nuclear@1: } nuclear@1: #endif nuclear@1: nuclear@1: #endif /* MOUSE_H_ */