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

/solaris-x11-s12/open-src/app/xlock/sun-src/
H A Dhopalong.c73 int pix; member in struct:__anon99
97 hp->pix = 0;
134 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[hp->pix]);
135 if (++hp->pix >= Scr[screen].npixels)
136 hp->pix = 0;
H A Dqix.c67 uint_t pix; member in struct:__anon106
115 qp->pix = 0;
157 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[qp->pix]);
158 if (++qp->pix >= Scr[screen].npixels)
159 qp->pix = 0;
H A Drotor.c91 int pix; member in struct:flightstruct
244 Scr[screen].pixels[fs->pix]);
245 if (++fs->pix >= Scr[screen].npixels)
246 fs->pix = 0;
H A Dswarm.c63 int pix; member in struct:__anon110
238 XSetForeground(dsp, Scr[screen].gc, Scr[screen].pixels[sp->pix]);
239 if (++sp->pix >= Scr[screen].npixels)
240 sp->pix = 0;
H A Dpyro.c258 int multi, shelltype, nstars, fuse, npix, pix; local
271 color1 = Scr[screen].pixels[pix = (int) random() % npix];
272 color2 = Scr[screen].pixels[(pix + (npix / 2)) % npix];
/solaris-x11-s12/open-src/lib/libdga/sun-src/
H A Dpix_grab.c57 Dga_token p_token; /* Token associated with pix */
59 struct dga_pixmap *dga_clientplist; /*List of client ptrs in pix */
75 extern void *_dga_is_X_pixmap(Pixmap pix, Display **dpyp);
95 dga_pix_grab(token, pix)
97 Pixmap pix;
119 if (!_dga_is_X_pixmap(pix, &dpy)) {
129 if (!XDgaGetRetainedPath(dpy, pix, path)) {
238 if (shpx_dir[i].shpx_entry.xid == pix)
H A Ddga_Xrequests.h179 Pixmap pix; member in struct:dga_xpixrec
H A Dmbufset.c38 extern int dga_pixlist_add(Dga_token token, Display *dpy, Pixmap pix);
H A Ddga_Xrequests.c1438 dga_pixlist_add(token, dpy, pix)
1441 Pixmap pix;
1446 if (recp = (struct dga_xpixrec *) _dga_is_X_pixmap(pix, &listdpy)) {
1451 dga_pixlist_free(dpy, pix); /* remove bogus entry from list */
1460 recp->pix = pix;
1466 dga_pixlist_free(dpy, pix)
1468 Pixmap pix;
1477 if (pix == NULL) {
1482 else if (recp->pix
[all...]
/solaris-x11-s12/open-src/app/xmag_multivis/sun-src/
H A Dmultivis.c607 unsigned long pix = pPel->pixel; local
608 unsigned long index = (pix & pCmap->red_mask) >> pCmap->rshft;
609 scratch.red=pCmap->Colors[(pix & pCmap->red_mask)>>pCmap->rshft].red;
610 scratch.green=pCmap->Colors[(pix & pCmap->green_mask)>>pCmap->gshft].green;
611 scratch.blue=pCmap->Colors[(pix & pCmap->blue_mask)>>pCmap->bshft].blue;
612 scratch.pixel=pix;

Completed in 23 milliseconds