/* * This file is part of the UCB release of Plan 9. It is subject to the license * terms in the LICENSE file found in the top-level directory of this * distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No * part of the UCB release of Plan 9, including this file, may be copied, * modified, propagated, or distributed except according to the terms contained * in the LICENSE file. */typedef struct Cursor Cursor;typedef struct Cursorinfo Cursorinfo;struct Cursorinfo { Cursor; Lock;};/* devmouse.c */extern void mousetrack(int, int, int, int);extern Point mousexy(void);extern void mouseaccelerate(int);extern int m3mouseputc(Queue*, int);extern int m5mouseputc(Queue*, int);extern int mouseputc(Queue*, int);extern Cursorinfo cursor;extern Cursor arrow;/* mouse.c */extern void mousectl(Cmdbuf*);extern void mouseresize(void);/* screen.c */extern void blankscreen(int);extern void flushmemscreen(Rectangle);extern uchar* attachscreen(Rectangle*, ulong*, int*, int*, int*);extern int cursoron(int);extern void cursoroff(int);extern void setcursor(Cursor*);/* devdraw.c */extern QLock drawlock;#define ishwimage(i) 1 /* for ../port/devdraw.c */
/*
* This file is part of the UCB release of Plan 9. It is subject to the license
* terms in the LICENSE file found in the top-level directory of this
* distribution and at http://akaros.cs.berkeley.edu/files/Plan9License. No
* part of the UCB release of Plan 9, including this file, may be copied,
* modified, propagated, or distributed except according to the terms contained
* in the LICENSE file.
*/
typedef struct Cursor Cursor;
typedef struct Cursorinfo Cursorinfo;
struct Cursorinfo {
Cursor;
Lock;
};
/* devmouse.c */
extern void mousetrack(int, int, int, int);
extern Point mousexy(void);
extern void mouseaccelerate(int);
extern int m3mouseputc(Queue*, int);
extern int m5mouseputc(Queue*, int);
extern int mouseputc(Queue*, int);
extern Cursorinfo cursor;
extern Cursor arrow;
/* mouse.c */
extern void mousectl(Cmdbuf*);
extern void mouseresize(void);
/* screen.c */
extern void blankscreen(int);
extern void flushmemscreen(Rectangle);
extern uchar* attachscreen(Rectangle*, ulong*, int*, int*, int*);
extern int cursoron(int);
extern void cursoroff(int);
extern void setcursor(Cursor*);
/* devdraw.c */
extern QLock drawlock;
#define ishwimage(i) 1 /* for ../port/devdraw.c */