1: #include <X/mit-copyright.h>
   2: 
   3: /* $Header: XTextPad.c,v 10.4 86/02/01 15:40:53 tony Rel $ */
   4: /* Copyright    Massachusetts Institute of Technology    1985	*/
   5: 
   6: #include "XlibInternal.h"
   7: XTextPad (w, x, y, str, len, font,
   8:    charpad, spacepad, foreground, background, func, planes)
   9:     Window w;
  10:     int func, planes;
  11:     int charpad, spacepad;
  12:     int x, y, len;
  13:     char *str;
  14:     Font font;
  15:     int foreground, background;
  16: {
  17:     register Display *dpy;
  18:     register XReq *req;
  19: 
  20:     GetReq(X_Text, w);
  21:     req->func = func;
  22:     req->mask = planes;
  23:     req->param.s[0] = x;
  24:     req->param.s[1] = y;
  25:     req->param.l[1] = font;
  26:     req->param.u[4] = foreground;
  27:     req->param.u[5] = background;
  28:     req->param.s[6] = len;
  29:     req->param.b[14] = charpad;
  30:     req->param.b[15] = spacepad;
  31:     Data(dpy, str, len);
  32: }
Last modified: 1986-02-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 839
Valid CSS Valid XHTML 1.0 Strict