|
|
1.1 ! root 1: #include <X/mit-copyright.h> ! 2: ! 3: /* $Header: XStoreCursor.c,v 10.5 86/04/22 15:29:29 jg Rel $ */ ! 4: /* Copyright Massachusetts Institute of Technology 1985 */ ! 5: ! 6: #include "XlibInternal.h" ! 7: Cursor XStoreCursor (cbitmap, mbitmap, xOffset, yOffset, ! 8: foreground, background, func) ! 9: Bitmap cbitmap, mbitmap; ! 10: int xOffset, yOffset; ! 11: int func; ! 12: int foreground, background; ! 13: { ! 14: register Display *dpy; ! 15: register XReq *req; ! 16: XRep rep; ! 17: ! 18: GetReq(X_StoreCursor, 0); ! 19: req->func = func; ! 20: req->param.l[0] = cbitmap; ! 21: req->paramu2 = foreground; ! 22: req->paramu3 = background; ! 23: req->param.l[2] = mbitmap; ! 24: req->params6 = xOffset; ! 25: req->params7 = yOffset; ! 26: if (!_XReply (dpy, &rep)) ! 27: return (NULL); ! 28: return (rep.param.l[0]); ! 29: } ! 30:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.