|
|
1.1 root 1: #include <X/mit-copyright.h>
2:
3: /* $Header: XText.c,v 10.5 86/04/22 15:30:59 jg Rel $ */
4: /* Copyright Massachusetts Institute of Technology 1985 */
5:
6: #include "XlibInternal.h"
7: XText (w, x, y, str, len, font, foreground, background)
8: Window w;
9: int x, y, len;
10: char *str;
11: Font font;
12: int foreground, background;
13: {
14: register Display *dpy;
15: register XReq *req;
16:
17: GetReq(X_Text, w);
18: req->func = GXcopy;
19: req->mask = ~0; /* all planes */
20: req->params0 = x;
21: req->params1 = y;
22: req->param.l[1] = font;
23: req->paramu4 = foreground;
24: req->paramu5 = background;
25: req->params6 = len;
26: req->param.b[14] = 0; /* no char pad */
27: req->param.b[15] = 0; /* no space pad */
28: Data(dpy, str, len);
29: }
30:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.