deepstone
annotate src/mouse.h @ 17:1e9f0b3616fa
fixed the matrix multiplication order
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 30 Nov 2011 00:04:16 +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_ */ |