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

/solaris-x11-s12/open-src/app/xlock/sun-src/
H A Dblank.c62 XClearWindow(dsp, win);
H A Dxlock.c175 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 Dflame.c101 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 Dhopalong.c90 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 Dimage.c89 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 Dpyro.c164 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 Dqix.c104 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 Drotor.c120 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 Dswarm.c94 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 Dlife.c342 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 Dxlock.h63 extern Display *dsp;
H A Dresource.c677 if (!(dsp = XOpenDisplay(display)))
779 serverString = XResourceManagerString(dsp);
/solaris-x11-s12/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-s12/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 29 milliseconds