Searched refs:dsp (Results 1 - 17 of 17) sorted by relevance

/solaris-x11-s11/open-src/app/xlock/sun-src/
H A Dblank.c64 XClearWindow(dsp, win);
H A Dxlock.c171 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 Dflame.c103 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 Dhopalong.c94 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 Dimage.c93 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 Dpyro.c164 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 Dqix.c105 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 Drotor.c124 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 Dswarm.c96 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 Dlife.c352 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 Dxlock.h60 extern Display *dsp;
H A Dresource.c699 if (!(dsp = XOpenDisplay(display)))
802 serverString = XResourceManagerString(dsp);
/solaris-x11-s11/open-src/app/xcolor/sun-src/
H A DXCrDynCmap.c38 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 Dxcolor.c48 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 DXCrHsbCmap.c36 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 Dxcolor.h45 Display *dsp,
56 Display *dsp,
/solaris-x11-s11/open-src/app/xmag_multivis/sun-src/
H A Dxmag_multivis.c128 static int shhh(Display *dsp, XErrorEvent *err); /* quiet IO error handler */
1295 Display *dsp,
1294 shhh( Display *dsp, XErrorEvent *err) argument

Completed in 31 milliseconds