|
|
1.1 ! root 1: /* $Header: vs100.h,v 10.3 86/02/01 15:47:56 tony Rel $ */ ! 2: /* Copyright Massachusetts Institute of Technology 1985 */ ! 3: ! 4: #include <sys/types.h> ! 5: #include <stdio.h> ! 6: #include "param.h" ! 7: #include "packet.h" ! 8: #include "mem.h" ! 9: #include "../X/vsinput.h" ! 10: #include "../X/Xdev.h" ! 11: #include "../X/X.h" ! 12: ! 13: #define HTCROCK /* Writearound for Halftone alignment problem */ ! 14: ! 15: #define VBUFSIZE 2048 ! 16: ! 17: #define MAPTYPE(x) (x >> 4) ! 18: #define MAPLIT(x) (x & 0xf) ! 19: ! 20: typedef struct _curspriv { ! 21: BITMAP *image; ! 22: BITMAP *mask; ! 23: short map; ! 24: } CursPriv; ! 25: ! 26: #define CDATA(x) ((CursPriv *) x->data) ! 27: ! 28: typedef struct _fontpriv { ! 29: short *widths; ! 30: VSArea *remote; ! 31: } FontPriv; ! 32: ! 33: #define FDATA(x) ((FontPriv *) x->data) ! 34: ! 35: #define BDATA(x) ((VSArea *) x->data) ! 36: ! 37: #define PDATA(x) ((BITMAP *) x->data) ! 38: ! 39: #ifdef HTCROCK ! 40: ! 41: typedef struct _tilepriv { ! 42: BITMAP *bitmap; ! 43: short data[16]; ! 44: } TilePriv; ! 45: ! 46: #define TDATA(x) ((TilePriv *) x->data) ! 47: ! 48: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.