deepstone
view src/mouse.h @ 15:4a0e9ab12ad0
separated vec2/vec3/vec4 in a different header file
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 29 Nov 2011 07:23:12 +0200 |
parents | |
children |
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 int have_mouse(void);
9 void show_mouse(int show);
10 int read_mouse(int *xp, int *yp);
11 void set_mouse(int x, int y);
12 void set_mouse_limits(int xmin, int ymin, int xmax, int ymax);
14 #endif /* MOUSE_H_ */