rayzor

annotate src/mouse.h @ 0:2a5340a6eee4

rayzor first commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 05 Apr 2014 08:46:27 +0300
parents
children a826bf0fb169
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 #ifdef __cplusplus
nuclear@0 9 extern "C" {
nuclear@0 10 #endif
nuclear@0 11
nuclear@0 12 int have_mouse(void);
nuclear@0 13 void show_mouse(int show);
nuclear@0 14 int read_mouse(int *xp, int *yp);
nuclear@0 15 void set_mouse(int x, int y);
nuclear@0 16 void set_mouse_limits(int xmin, int ymin, int xmax, int ymax);
nuclear@0 17
nuclear@0 18 #ifdef __cplusplus
nuclear@0 19 }
nuclear@0 20 #endif
nuclear@0 21
nuclear@0 22 #endif /* MOUSE_H_ */