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

Defined struct's

_curspriv defined in line 20; never used
_fontpriv defined in line 28; never used
_tilepriv defined in line 41; never used

Defined typedef's

CursPriv defined in line 24; used 6 times
FontPriv defined in line 31; used 5 times
TilePriv defined in line 44; used 5 times

Defined macros

CDATA defined in line 26; used 2 times
HTCROCK defined in line 13; used 11 times

Usage of this include

Last modified: 1986-02-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 660
Valid CSS Valid XHTML 1.0 Strict