Annotation of 43BSDTahoe/new/X/libqvss/ddxqvss.h, revision 1.1

1.1     ! root        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)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.