rayzor

view 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
line source
1 #ifndef MOUSE_H_
2 #define MOUSE_H_
4 #define MOUSE_LEFT 1
5 #define MOUSE_RIGHT 2
6 #define MOUSE_MIDDLE 4
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
12 int have_mouse(void);
13 void show_mouse(int show);
14 int read_mouse(int *xp, int *yp);
15 void set_mouse(int x, int y);
16 void set_mouse_limits(int xmin, int ymin, int xmax, int ymax);
18 #ifdef __cplusplus
19 }
20 #endif
22 #endif /* MOUSE_H_ */