summaryrefslogtreecommitdiff
path: root/sys/src/cmd/unix/drawterm/kern/screen.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2013-11-23 01:05:33 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2013-11-23 01:05:33 +0100
commit2f9ae0f8ac8610e13ced184847b57b87fe5db580 (patch)
treef9ad2223d518585a2cfe9ea1c73e1e37d07bf637 /sys/src/cmd/unix/drawterm/kern/screen.h
parentea5797c0731203c09ec5fb7172e77eab2750f1a9 (diff)
removing (outdated) drawterm
drawterm is much better maintained by russ cox, so removing this outdated copy. for a more recent version, go to: http://swtch.com/drawterm/
Diffstat (limited to 'sys/src/cmd/unix/drawterm/kern/screen.h')
-rw-r--r--sys/src/cmd/unix/drawterm/kern/screen.h63
1 files changed, 0 insertions, 63 deletions
diff --git a/sys/src/cmd/unix/drawterm/kern/screen.h b/sys/src/cmd/unix/drawterm/kern/screen.h
deleted file mode 100644
index dfdc12de5..000000000
--- a/sys/src/cmd/unix/drawterm/kern/screen.h
+++ /dev/null
@@ -1,63 +0,0 @@
-typedef struct Mouseinfo Mouseinfo;
-typedef struct Mousestate Mousestate;
-typedef struct Cursorinfo Cursorinfo;
-typedef struct Screeninfo Screeninfo;
-
-#define Mousequeue 16 /* queue can only have Mousequeue-1 elements */
-#define Mousewindow 500 /* mouse event window in millisec */
-
-struct Mousestate {
- int buttons;
- Point xy;
- ulong msec;
-};
-
-struct Mouseinfo {
- Lock lk;
- Mousestate queue[Mousequeue];
- int ri, wi;
- int lastb;
- int trans;
- int open;
- Rendez r;
-};
-
-struct Cursorinfo {
- Lock lk;
- Point offset;
- uchar clr[2*16];
- uchar set[2*16];
-};
-
-struct Screeninfo {
- Lock lk;
- Memimage *newsoft;
- int reshaped;
- int depth;
- int dibtype;
-};
-
-extern Memimage *gscreen;
-extern Mouseinfo mouse;
-extern Cursorinfo cursor;
-extern Screeninfo screen;
-
-void screeninit(void);
-void screenload(Rectangle, int, uchar *, Point, int);
-
-void getcolor(ulong, ulong*, ulong*, ulong*);
-void setcolor(ulong, ulong, ulong, ulong);
-
-void refreshrect(Rectangle);
-
-void cursorarrow(void);
-void setcursor(void);
-void mouseset(Point);
-void drawflushr(Rectangle);
-void flushmemscreen(Rectangle);
-uchar *attachscreen(Rectangle*, ulong*, int*, int*, int*, void**);
-
-void drawqlock(void);
-void drawqunlock(void);
-int drawcanqlock(void);
-void terminit(void);