DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T d

⟦362bdc60f⟧ TextFile

    Length: 1532 (0x5fc)
    Types: TextFile
    Names: »ddxqvss.h«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦526ad3590⟧ »EUUGD11/gnu-31mar87/X.V10.R4.tar.Z« 
        └─⟦2109abc41⟧ 
            └─ ⟦this⟧ »./X.V10R4/libqvss/ddxqvss.h« 

TextFile

/* Copyright    Massachusetts Institute of Technology    1985	*/

#include <sys/types.h>
#include <stdio.h>
#include "../X/vsinput.h"
#include "../X/Xdev.h"
#include "../X/X.h"

#define XSIZE 128		/* number of bytes/line for qvss display */
#define YSIZE 864		/* 864 visible lines on the screen	 */

#define CURSOR_WIDTH 16          /* hardware cursor width              */
#define CURSOR_HEIGHT 16         /* hardware cursor height             */

#define ConstantPixmap 0x0	/* kinds of pixmaps on qvss, constant */
#define BitmapPixmap 0x1	/* and ones with associated bitmaps   */
#define CanBeTiled 1		/* this pixmap can be tiled	      */
#define CannotBeTiled 0		/* this pixmap cannont be tiled	      */

#define InvertFlag 0x10		/* pixmap source should be inverted   */
#define PTYPE(x) (((int) (x)->kind) & 0xf)
#define PINVERT(x) (((int) (x)->kind) >> 4)

typedef struct _curspriv {
	short cbits[16];	/* braindamaged 16x16 cursor on qvss */
	short map;
} CursPriv;

#define CDATA(x) ((CursPriv *) x->data)

typedef struct _fontpriv {
	int maxwidth;		/* maximum width found in the font */
	int wpitch;		/* number of bytes/line in strike  */
	short *widths;		/* width table (in pixels)	   */
	short *leftarray;	/* leftarray			   */
	BITMAP *strike;		/* the font stike bitmap itself	   */
	long *chrs;		/* chars in independent bitmaps	   */
	char **fltable;		/* beginning of each strike line   */
} FontPriv;

#define FDATA(x) ((FontPriv *) x->data)

#define BDATA(x) ((VSArea *) x->data)

#define PDATA(x) ((BITMAP *) x->data)