dos3d
annotate src/mouse.h @ 12:c29a6e024950
merged
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 28 Nov 2011 05:03:22 +0200 |
parents | |
children |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef MOUSE_H_ |
nuclear@0 | 2 #define MOUSE_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 #define MOUSE_LEFT 1 |
nuclear@0 | 5 #define MOUSE_RIGHT 2 |
nuclear@0 | 6 #define MOUSE_MIDDLE 4 |
nuclear@0 | 7 |
nuclear@0 | 8 int have_mouse(void); |
nuclear@0 | 9 void show_mouse(int show); |
nuclear@0 | 10 int read_mouse(int *xp, int *yp); |
nuclear@0 | 11 void set_mouse(int x, int y); |
nuclear@0 | 12 void set_mouse_limits(int xmin, int ymin, int xmax, int ymax); |
nuclear@0 | 13 |
nuclear@0 | 14 #endif /* MOUSE_H_ */ |