Searched refs:Scr (Results 1 - 10 of 10) sorted by relevance

/solaris-x11-s11/open-src/app/xlock/sun-src/
H A Dflame.c110 XSetForeground(dsp, Scr[screen].gc, ssblack[screen].pixel);
111 XFillRectangle(dsp, win, Scr[screen].gc, 0, 0, fs->width, fs->height);
113 if (Scr[screen].npixels > 2) {
114 fs->pixcol = halfrandom(Scr[screen].npixels);
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,
176 if (Scr[screen].npixels > 2) {
177 XSetForeground(dsp, Scr[scree
[all...]
H A Dhopalong.c114 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);
132 if (!mono && Scr[screen].npixels > 2) {
133 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[hp->pix]);
134 if (++hp->pix >= Scr[screen].npixels)
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,
104 if (Scr[screen].npixels == 2)
105 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel);
107 if (Scr[screen].npixels > 2)
108 XSetForeground(dsp, Scr[screen].gc,
109 Scr[screen].pixels[random() % Scr[screen].npixels]);
111 XPutImage(dsp, win, Scr[screen].gc, &logo,
150 XSetForeground(dsp, Scr[scree
[all...]
H A Dqix.c125 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,
158 if (!mono && Scr[screen].npixels > 2) {
159 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[qp->pix]);
160 if (++qp->pix >= Scr[screen].npixels)
163 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel);
165 XDrawLine(dsp, win, Scr[scree
[all...]
H A Drotor.c174 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);
249 if (!mono && Scr[screen].npixels > 2) {
250 XSetForeground(dsp, Scr[screen].gc,
251 Scr[screen].pixels[fs->pix]);
252 if (++fs->pix >= Scr[screen].npixels)
255 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel);
264 XDrawLine(dsp, win, Scr[scree
[all...]
H A Dswarm.c101 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,
234 if (!mono && Scr[screen].npixels > 2) {
235 XSetForeground(dsp, Scr[screen].gc, Scr[scree
[all...]
H A Dpyro.c196 if (!mono && Scr[screen].npixels > 3)
197 pp->rockpixel = Scr[screen].pixels[3]; /* Just the right shade of
265 if (!mono && (npix = Scr[screen].npixels) > 2) {
266 color1 = Scr[screen].pixels[pix = random() % npix];
267 color2 = Scr[screen].pixels[(pix + (npix / 2)) % npix];
354 XSetForeground(dsp, Scr[screen].gc, pp->rockpixel);
355 XFillRectangle(dsp, win, Scr[screen].gc, (int) (rp->x), (int) (rp->y),
411 XSetForeground(dsp, Scr[screen].gc, rp->color1);
413 XFillRectangles(dsp, win, Scr[screen].gc, rp->Xpoints, nstars);
415 XSetForeground(dsp, Scr[scree
[all...]
H A Dlife.c352 XSetForeground(dsp, Scr[screen].gc, sswhite[screen].pixel);
353 if (!mono && Scr[screen].npixels > 2) {
359 if (age < Scr[screen].npixels * 0.7)
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,
571 XSetForeground(dsp, Scr[scree
[all...]
H A Dxlock.c170 perscreen Scr[MAXSCREENS]; variable
418 XSetForeground(dsp, Scr[screen].gc, bgcol[screen].pixel);
426 XFillRectangle(dsp, win[screen], Scr[screen].gc,
541 XSetForeground(dsp, Scr[screen].gc, bgcol[screen].pixel);
543 XFillRectangle(dsp, win[screen], Scr[screen].gc,
564 XSetForeground(dsp, Scr[screen].gc, bgcol[screen].pixel);
566 XFillRectangle(dsp, win[screen], Scr[screen].gc,
877 XSetForeground(dsp, Scr[screen].gc, bgcol[screen].pixel);
878 XFillRectangle(dsp, win[screen], Scr[screen].gc,
1056 XFillRectangle(dsp, win[screen], Scr[scree
[all...]
H A Dxlock.h59 extern perscreen Scr[MAXSCREENS];

Completed in 62 milliseconds