X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=sys%2Fsrc%2F9%2Fpc%2Fscreen.h;h=bbe6b2512d5cd2f2e96057d98e467c982a2d3447;hb=8eb12a65e03c82b6af77f64e121dbec41e5e1495;hp=9afb280c6b14015e1bbbdca254304032729a2269;hpb=b9ca8e83784b94e709e7d412eb4f87fa0a1885a8;p=plan9front.git diff --git a/sys/src/9/pc/screen.h b/sys/src/9/pc/screen.h index 9afb280c6..bbe6b2512 100644 --- a/sys/src/9/pc/screen.h +++ b/sys/src/9/pc/screen.h @@ -132,6 +132,7 @@ enum { /* mouse.c */ extern void mousectl(Cmdbuf*); extern void mouseresize(void); +extern void mouseredraw(void); /* screen.c */ extern int hwaccel; /* use hw acceleration; default on */ @@ -140,8 +141,8 @@ extern int panning; /* use virtual screen panning; default off */ extern void addvgaseg(char*, ulong, ulong); extern uchar* attachscreen(Rectangle*, ulong*, int*, int*, int*); extern void flushmemscreen(Rectangle); -extern int cursoron(int); -extern void cursoroff(int); +extern void cursoron(void); +extern void cursoroff(void); extern void setcursor(Cursor*); extern int screensize(int, int, int, ulong); extern int screenaperture(int, int); @@ -167,7 +168,6 @@ extern QLock drawlock; /* vga.c */ extern void vgascreenwin(VGAscr*); extern void vgaimageinit(ulong); -extern void vgalinearpciid(VGAscr*, int, int); extern void vgalinearpci(VGAscr*); extern void vgalinearaddr(VGAscr*, ulong, int); @@ -177,3 +177,10 @@ extern void vgablank(VGAscr*, int); extern Lock vgascreenlock; #define ishwimage(i) (vgascreen[0].gscreendata && (i)->data->bdata == vgascreen[0].gscreendata->bdata) + +/* swcursor.c */ +void swcursorhide(void); +void swcursoravoid(Rectangle); +void swcursordraw(Point); +void swcursorload(Cursor *); +void swcursorinit(void);