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 X

⟦d81fa4ccc⟧ TextFile

    Length: 689 (0x2b1)
    Types: TextFile
    Names: »XText.c«

Derivation

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

TextFile

#include <X/mit-copyright.h>

/* $Header: XText.c,v 10.5 86/04/22 15:30:59 jg Rel $ */
/* Copyright    Massachusetts Institute of Technology    1985	*/

#include "XlibInternal.h"
XText (w, x, y, str, len, font, foreground, background)
	Window w;
	int x, y, len;
	char *str;
	Font font;
	int foreground, background;
{
	register Display *dpy;
	register XReq *req;

	GetReq(X_Text, w);
	req->func = GXcopy;
	req->mask = ~0;  /* all planes */
	req->params0 = x;
	req->params1 = y;
	req->param.l[1] = font;
	req->paramu4 = foreground;
	req->paramu5 = background;
	req->params6 = len;
	req->param.b[14] = 0;  /* no char pad */
	req->param.b[15] = 0;  /* no space pad */
	Data(dpy, str, len);
}