1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
typedef struct Cursorinfo Cursorinfo; struct Cursorinfo { Cursor; Lock; }; extern Cursorinfo cursor; extern void mouseupdate(int); extern int cursoron(int); #define cursoroff(x) extern Point mousexy(void); void setcursor(Cursor*);