rayzor
annotate src/mouse.h @ 1:a826bf0fb169
fixed line endings
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 05 Apr 2014 09:05:26 +0300 |
parents | 2a5340a6eee4 |
children | 75bc89c2abc4 |
rev | line source |
---|---|
nuclear@1 | 1 #ifndef MOUSE_H_ |
nuclear@1 | 2 #define MOUSE_H_ |
nuclear@1 | 3 |
nuclear@1 | 4 #define MOUSE_LEFT 1 |
nuclear@1 | 5 #define MOUSE_RIGHT 2 |
nuclear@1 | 6 #define MOUSE_MIDDLE 4 |
nuclear@1 | 7 |
nuclear@1 | 8 #ifdef __cplusplus |
nuclear@1 | 9 extern "C" { |
nuclear@1 | 10 #endif |
nuclear@1 | 11 |
nuclear@1 | 12 int have_mouse(void); |
nuclear@1 | 13 void show_mouse(int show); |
nuclear@1 | 14 int read_mouse(int *xp, int *yp); |
nuclear@1 | 15 void set_mouse(int x, int y); |
nuclear@1 | 16 void set_mouse_limits(int xmin, int ymin, int xmax, int ymax); |
nuclear@1 | 17 |
nuclear@1 | 18 #ifdef __cplusplus |
nuclear@1 | 19 } |
nuclear@1 | 20 #endif |
nuclear@1 | 21 |
nuclear@1 | 22 #endif /* MOUSE_H_ */ |