Annotation of 43BSD/contrib/X/Xlib/XMakePixmap.c, revision 1.1.1.1

1.1       root        1: #include <X/mit-copyright.h>
                      2: 
                      3: /* $Header: XMakePixmap.c,v 10.4 86/02/01 15:36:39 tony Rel $ */
                      4: /* Copyright    Massachusetts Institute of Technology    1985  */
                      5: 
                      6: #include "XlibInternal.h"
                      7: Pixmap XMakePixmap (bitmap, foreground, background)
                      8:        Bitmap bitmap;
                      9:        int foreground, background;
                     10: {
                     11:        register Display *dpy;
                     12:        register XReq *req;
                     13:        XRep rep;
                     14: 
                     15:        GetReq(X_MakePixmap, 0);
                     16:        req->param.l[0] = bitmap;
                     17:        req->param.u[2] = foreground;
                     18:        req->param.u[3] = background;
                     19:        if (!_XReply (dpy, &rep))
                     20:            return (NULL);
                     21:        return (rep.param.l[0]);
                     22: }
                     23: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.