dos3d
annotate src/mouse.h @ 7:3239511d1a76
random change
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 21 Nov 2011 12:12:23 +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_ */ |