1: /* Copyright    Massachusetts Institute of Technology    1985	*/
   2: 
   3: #include <sys/types.h>
   4: #include <stdio.h>
   5: #include "../X/vsinput.h"
   6: #include "../X/Xdev.h"
   7: #include "../X/X.h"
   8: 
   9: #define XSIZE 128       /* number of bytes/line for qvss display */
  10: #define YSIZE 864       /* 864 visible lines on the screen	 */
  11: 
  12: #define CURSOR_WIDTH 16          /* hardware cursor width              */
  13: #define CURSOR_HEIGHT 16         /* hardware cursor height             */
  14: 
  15: #define ConstantPixmap 0x0  /* kinds of pixmaps on qvss, constant */
  16: #define BitmapPixmap 0x1    /* and ones with associated bitmaps   */
  17: #define CanBeTiled 1        /* this pixmap can be tiled	      */
  18: #define CannotBeTiled 0     /* this pixmap cannont be tiled	      */
  19: 
  20: #define InvertFlag 0x10     /* pixmap source should be inverted   */
  21: #define PTYPE(x) (((int) (x)->kind) & 0xf)
  22: #define PINVERT(x) (((int) (x)->kind) >> 4)
  23: 
  24: typedef struct _curspriv {
  25:     short cbits[16];    /* braindamaged 16x16 cursor on qvss */
  26:     short map;
  27: } CursPriv;
  28: 
  29: #define CDATA(x) ((CursPriv *) x->data)
  30: 
  31: typedef struct _fontpriv {
  32:     int maxwidth;       /* maximum width found in the font */
  33:     int wpitch;     /* number of bytes/line in strike  */
  34:     short *widths;      /* width table (in pixels)	   */
  35:     short *leftarray;   /* leftarray			   */
  36:     BITMAP *strike;     /* the font stike bitmap itself	   */
  37:     long *chrs;     /* chars in independent bitmaps	   */
  38:     char **fltable;     /* beginning of each strike line   */
  39: } FontPriv;
  40: 
  41: #define FDATA(x) ((FontPriv *) x->data)
  42: 
  43: #define BDATA(x) ((VSArea *) x->data)
  44: 
  45: #define PDATA(x) ((BITMAP *) x->data)

Defined struct's

_curspriv defined in line 24; never used
_fontpriv defined in line 31; never used

Defined typedef's

CursPriv defined in line 27; used 4 times
FontPriv defined in line 39; used 7 times

Defined macros

BDATA defined in line 43; never used
CDATA defined in line 29; used 2 times
CURSOR_HEIGHT defined in line 13; used 1 times
CURSOR_WIDTH defined in line 12; used 1 times
CanBeTiled defined in line 17; used 1 times
CannotBeTiled defined in line 18; used 1 times
ConstantPixmap defined in line 15; used 2 times
PDATA defined in line 45; used 1 times
PINVERT defined in line 22; never used
PTYPE defined in line 21; used 1 times
XSIZE defined in line 9; used 1 times
YSIZE defined in line 10; used 2 times

Usage of this include

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