deepstone
annotate src/mouse.h @ 27:dcfe615c4c5f
moved firstp.c to main.c
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 22 Sep 2013 02:47:46 +0300 |
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_ */ |