|
|
1.1 ! root 1: #include <X/mit-copyright.h> ! 2: ! 3: /* $Header: XTileSet.c,v 10.4 86/02/01 15:41:11 tony Rel $ */ ! 4: /* Copyright Massachusetts Institute of Technology 1985 */ ! 5: ! 6: #include "XlibInternal.h" ! 7: XTileSet (w, x, y, width, height, tile) ! 8: Window w; ! 9: int x, y; ! 10: int width, height; ! 11: Pixmap tile; ! 12: { ! 13: register Display *dpy; ! 14: register XReq *req; ! 15: ! 16: GetReq(X_TileFill, w); ! 17: req->mask = ~0; /* all planes */ ! 18: req->func = GXcopy; ! 19: req->param.s[0] = height; ! 20: req->param.s[1] = width; ! 21: req->param.s[2] = x; ! 22: req->param.s[3] = y; ! 23: req->param.l[2] = tile; ! 24: req->param.l[3] = 0; /* no clip mask */ ! 25: } ! 26:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.