/solaris-x11-s11/open-src/app/xlock/sun-src/ |
H A D | blank.c | 64 XClearWindow(dsp, win);
|
H A D | xlock.c | 171 Display *dsp = NULL; /* server display connection */ variable 248 XGrabHosts(dsp) 249 Display *dsp; 251 XHosts = XListHosts(dsp, &HostAccessCount, &HostAccessState); 253 XRemoveHosts(dsp, XHosts, HostAccessCount); 254 XEnableAccessControl(dsp); 258 XUngrabHosts(dsp) 259 Display *dsp; 262 XAddHosts(dsp, XHosts, HostAccessCount); 266 XDisableAccessControl(dsp); [all...] |
H A D | flame.c | 103 XGetWindowAttributes(dsp, win, &xwa); 110 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 111 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, fs->width, fs->height); 115 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[fs->pixcol]); 117 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel); 142 XDrawPoints(dsp, fs->win, Scr[screen].gc, fs->pts, 173 XClearWindow(dsp, fs->win); 177 XSetForeground(dsp, Scr[screen].gc, 202 XDrawPoints(dsp, win, Scr[screen].gc,
|
H A D | hopalong.c | 94 XGetWindowAttributes(dsp, win, &xgwa); 114 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 115 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, 117 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel); 133 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[hp->pix]); 147 XDrawPoints(dsp, win, Scr[screen].gc,
|
H A D | image.c | 93 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 96 XFillRectangle(dsp, win, Scr[screen].gc, 105 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel); 108 XSetForeground(dsp, Scr[screen].gc, 111 XPutImage(dsp, win, Scr[screen].gc, &logo, 133 XGetWindowAttributes(dsp, win, &xgwa); 150 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 151 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, ip->width, ip->height);
|
H A D | pyro.c | 164 XGetWindowAttributes(dsp, win, &xwa); 191 pp->scr = ScreenOfDisplay(dsp, screen); 204 pp->bgGC = XCreateGC(dsp, win, GCForeground, &xgcv); 215 XFillRectangle(dsp, win, pp->bgGC, 0, 0, xwa.width, xwa.height); 344 XFillRectangle(dsp, win, pp->bgGC, (int) (rp->x), (int) (rp->y), 354 XSetForeground(dsp, Scr[screen].gc, pp->rockpixel); 355 XFillRectangle(dsp, win, Scr[screen].gc, (int) (rp->x), (int) (rp->y), 374 XFillRectangles(dsp, win, pp->bgGC, rp->Xpoints, nstars); 376 XFillRectangles(dsp, win, pp->bgGC, rp->Xpoints2, nstars); 378 XDrawPoints(dsp, wi [all...] |
H A D | qix.c | 105 XGetWindowAttributes(dsp, win, &xgwa); 125 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 126 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, qp->width, qp->height); 154 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 155 XDrawLine(dsp, win, Scr[screen].gc, 159 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[qp->pix]); 163 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel); 165 XDrawLine(dsp, win, Scr[screen].gc, qp->x1, qp->y1, qp->x2, qp->y2);
|
H A D | rotor.c | 124 XGetWindowAttributes(dsp, win, &xgwa); 174 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 175 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, xgwa.width, xgwa.height); 238 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 247 XDrawLine(dsp, win, Scr[screen].gc, x1, y1, x2, y2); 250 XSetForeground(dsp, Scr[screen].gc, 255 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel); 264 XDrawLine(dsp, win, Scr[screen].gc, x1, y1, x2, y2);
|
H A D | swarm.c | 96 XGetWindowAttributes(dsp, win, &xgwa); 101 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 102 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, sp->width, sp->height); 226 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 227 XDrawLine(dsp, win, Scr[screen].gc, 229 XDrawSegments(dsp, win, Scr[screen].gc, sp->old_segs, sp->beecount); 231 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel); 232 XDrawLine(dsp, win, Scr[screen].gc, 235 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[sp->pix]); 239 XDrawSegments(dsp, wi [all...] |
H A D | life.c | 352 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel); 362 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[age]); 366 XFillRectangle(dsp, win, Scr[screen].gc, 369 XPutImage(dsp, win, Scr[screen].gc, &logo, 381 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 382 XFillRectangle(dsp, win, Scr[screen].gc, 555 XGetWindowAttributes(dsp, win, &xgwa); 571 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 572 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, lp->width, lp->height);
|
H A D | xlock.h | 60 extern Display *dsp;
|
H A D | resource.c | 699 if (!(dsp = XOpenDisplay(display))) 802 serverString = XResourceManagerString(dsp);
|
/solaris-x11-s11/open-src/app/xcolor/sun-src/ |
H A D | XCrDynCmap.c | 38 Display *dsp, 56 planes = DisplayPlanes(dsp, screen); 57 if (!XMatchVisualInfo(dsp, screen, planes, PseudoColor, &vinfo)) 58 if (!XMatchVisualInfo(dsp, screen, planes, GrayScale, &vinfo)) 59 if (!XMatchVisualInfo(dsp, screen, planes, DirectColor, &vinfo)) 64 *cmap = XCreateColormap(dsp, RootWindow(dsp, screen), 71 allocReturn = XAllocColorCells(dsp, *cmap, 85 XQueryColor(dsp, DefaultColormap(dsp, scree 37 XCreateDynamicColormap( Display *dsp, int screen, Colormap *cmap, Visual **visual, XColor *colors, int count, u_char *red, u_char *green, u_char *blue) argument [all...] |
H A D | xcolor.c | 48 Display *dsp = NULL; /* current display (must be inited) */ variable 71 XQueryColors(dsp, DefaultColormap(dsp, screen), color, 256); 108 XSetForeground(dsp, gc, i * max + j); 109 XFillRectangle(dsp, window, gc, x, y, w, h); 147 XSetForeground(dsp, gc, (i * 16 + j)<<roffset); 148 XFillRectangle(dsp, window, gc, x, y, w, h); 159 XSetForeground(dsp, gc, (i * 16 + j)<<goffset); 160 XFillRectangle(dsp, window, gc, x, y, w, h); 171 XSetForeground(dsp, g [all...] |
H A D | XCrHsbCmap.c | 36 Display *dsp, 62 pixel = WhitePixel(dsp, screen); 66 pixel = BlackPixel(dsp, screen); 70 status = XCreateDynamicColormap(dsp, screen, cmap, visual, xcolors, 35 XCreateHSBColormap( Display *dsp, int screen, Colormap *cmap, int count, double h1, double s1, double b1, double h2, double s2, double b2, int bw, Visual **visual) argument
|
H A D | xcolor.h | 45 Display *dsp, 56 Display *dsp,
|
/solaris-x11-s11/open-src/app/xmag_multivis/sun-src/ |
H A D | xmag_multivis.c | 128 static int shhh(Display *dsp, XErrorEvent *err); /* quiet IO error handler */ 1295 Display *dsp, 1294 shhh( Display *dsp, XErrorEvent *err) argument
|