/solaris-x11-s12/open-src/app/xlock/sun-src/ |
H A D | blank.c | 62 XClearWindow(dsp, win);
|
H A D | xlock.c | 175 Display *dsp = NULL; /* server display connection */ variable 252 XGrabHosts(Display *dsp) argument 254 XHosts = XListHosts(dsp, &HostAccessCount, &HostAccessState); 256 XRemoveHosts(dsp, XHosts, HostAccessCount); 257 XEnableAccessControl(dsp); 261 XUngrabHosts(Display *dsp) argument 264 XAddHosts(dsp, XHosts, HostAccessCount); 268 XDisableAccessControl(dsp); 284 status = XGrabKeyboard(dsp, win[0], True, 288 status = XGrabKeyboard(dsp, wi [all...] |
H A D | flame.c | 101 XGetWindowAttributes(dsp, win, &xwa); 108 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 109 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, fs->width, fs->height); 113 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[fs->pixcol]); 115 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel); 137 XDrawPoints(dsp, fs->win, Scr[screen].gc, fs->pts, 169 XClearWindow(dsp, fs->win); 173 XSetForeground(dsp, Scr[screen].gc, 198 XDrawPoints(dsp, win, Scr[screen].gc,
|
H A D | hopalong.c | 90 XGetWindowAttributes(dsp, win, &xgwa); 116 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 117 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, 119 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel); 134 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[hp->pix]); 148 XDrawPoints(dsp, win, Scr[screen].gc,
|
H A D | image.c | 89 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 92 XFillRectangle(dsp, win, Scr[screen].gc, 101 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel); 104 XSetForeground(dsp, Scr[screen].gc, 107 XPutImage(dsp, win, Scr[screen].gc, &logo, 128 XGetWindowAttributes(dsp, win, &xgwa); 145 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 146 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, ip->width, ip->height);
|
H A D | pyro.c | 164 XGetWindowAttributes(dsp, win, &xwa); 198 pp->scr = ScreenOfDisplay(dsp, screen); 211 pp->bgGC = XCreateGC(dsp, win, GCForeground, &xgcv); 222 XFillRectangle(dsp, win, pp->bgGC, 0, 0, xwa.width, xwa.height); 351 XFillRectangle(dsp, win, pp->bgGC, (int) (rp->x), (int) (rp->y), 361 XSetForeground(dsp, Scr[screen].gc, pp->rockpixel); 362 XFillRectangle(dsp, win, Scr[screen].gc, (int) (rp->x), (int) (rp->y), 382 XFillRectangles(dsp, win, pp->bgGC, rp->Xpoints, nstars); 384 XFillRectangles(dsp, win, pp->bgGC, rp->Xpoints2, nstars); 386 XDrawPoints(dsp, wi [all...] |
H A D | qix.c | 104 XGetWindowAttributes(dsp, win, &xgwa); 124 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 125 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, qp->width, qp->height); 152 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 153 XDrawLine(dsp, win, Scr[screen].gc, 157 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[qp->pix]); 161 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel); 163 XDrawLine(dsp, win, Scr[screen].gc, qp->x1, qp->y1, qp->x2, qp->y2);
|
H A D | rotor.c | 120 XGetWindowAttributes(dsp, win, &xgwa); 168 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 169 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, xgwa.width, xgwa.height); 231 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 240 XDrawLine(dsp, win, Scr[screen].gc, x1, y1, x2, y2); 243 XSetForeground(dsp, Scr[screen].gc, 248 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel); 257 XDrawLine(dsp, win, Scr[screen].gc, x1, y1, x2, y2);
|
H A D | swarm.c | 94 XGetWindowAttributes(dsp, win, &xgwa); 99 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 100 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, sp->width, sp->height); 229 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 230 XDrawLine(dsp, win, Scr[screen].gc, 232 XDrawSegments(dsp, win, Scr[screen].gc, sp->old_segs, (int) sp->beecount); 234 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel); 235 XDrawLine(dsp, win, Scr[screen].gc, 238 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[sp->pix]); 242 XDrawSegments(dsp, wi [all...] |
H A D | life.c | 342 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel); 352 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[age]); 356 XFillRectangle(dsp, win, Scr[screen].gc, 359 XPutImage(dsp, win, Scr[screen].gc, &logo, 373 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 374 XFillRectangle(dsp, win, Scr[screen].gc, 545 XGetWindowAttributes(dsp, win, &xgwa); 561 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel); 562 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, lp->width, lp->height);
|
H A D | xlock.h | 63 extern Display *dsp;
|
H A D | resource.c | 677 if (!(dsp = XOpenDisplay(display))) 779 serverString = XResourceManagerString(dsp);
|
/solaris-x11-s12/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-s12/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
|