]> git.lizzy.rs Git - plan9front.git/blob - sys/src/9/zynq/screen.h
zynq: fix usb by implementing delay() and give proper port speed in portstatus
[plan9front.git] / sys / src / 9 / zynq / screen.h
1 typedef struct Cursor Cursor;
2 typedef struct Cursorinfo Cursorinfo;
3 struct Cursorinfo {
4         Cursor;
5         Lock;
6 };
7
8 /* devmouse.c */
9 extern void mousetrack(int, int, int, int);
10 extern void absmousetrack(int, int, int, int);
11 extern Point mousexy(void);
12
13 extern void mouseaccelerate(int);
14 extern int m3mouseputc(Queue*, int);
15 extern int m5mouseputc(Queue*, int);
16 extern int mouseputc(Queue*, int);
17
18 extern Cursorinfo cursor;
19 extern Cursor arrow;
20
21 /* mouse.c */
22 extern void mousectl(Cmdbuf*);
23 extern void mouseresize(void);
24 extern void mouseredraw(void);
25
26 /* screen.c */
27 extern void     blankscreen(int);
28 extern void     flushmemscreen(Rectangle);
29 extern uchar*   attachscreen(Rectangle*, ulong*, int*, int*, int*);
30 extern void     cursoron(void);
31 extern void     cursoroff(void);
32 extern void     setcursor(Cursor*);
33
34 /* devdraw.c */
35 extern QLock    drawlock;
36
37 #define ishwimage(i)    1               /* for ../port/devdraw.c */
38
39 /* swcursor.c */
40 void            swcursorhide(void);
41 void            swcursoravoid(Rectangle);
42 void            swcursordraw(Point);
43 void            swcursorload(Cursor *);
44 void            swcursorinit(void);