Searched refs:cmap (Results 1 - 14 of 14) sorted by relevance

/solaris-x11-s12/open-src/app/xcolor/sun-src/
H A Dxcolor.h47 Colormap *cmap, /* return */
58 Colormap *cmap, /* colormap return value */
H A DXCrDynCmap.c40 Colormap *cmap, /* return */
64 *cmap = XCreateColormap(dsp, RootWindow(dsp, screen),
71 allocReturn = XAllocColorCells(dsp, *cmap,
94 XStoreColors(dsp, *cmap, colors, ncolors);
37 XCreateDynamicColormap( Display *dsp, int screen, Colormap *cmap, Visual **visual, XColor *colors, int count, u_char *red, u_char *green, u_char *blue) argument
H A DXCrHsbCmap.c38 Colormap *cmap, /* colormap return value */
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.c55 static Colormap cmap; variable
295 stat = XCreateHSBColormap(dsp, screen, &cmap, half
329 xswa.colormap = cmap;
362 xswa.colormap = cmap;
/solaris-x11-s12/open-src/app/cmap_compact/sun-src/
H A Dcmcinit.c45 register Colormap cmap = DefaultColormapOfScreen(screen); local
64 if (!XAllocColorCells(DisplayOfScreen(screen), cmap, 0, &mask, 0,
83 XFreeColors(DisplayOfScreen(screen), cmap, pixels+nalloc, ncolors, 0); local
87 if (!XAllocColor(DisplayOfScreen(screen), cmap, c))
91 XFreeColors(DisplayOfScreen(screen), cmap, pixels, nalloc, 0); local
H A Dcmcsave.c79 register Colormap cmap = DefaultColormapOfScreen(screen); local
118 if(!XAllocColorCells(DisplayOfScreen(screen), cmap, 0, &masks, 0,
141 XQueryColor(DisplayOfScreen(screen), cmap, &color); local
148 XStoreColor(DisplayOfScreen(screen), cmap, &color); local
178 XQueryColors(DisplayOfScreen(screen), cmap, *colors, *ncolors); local
/solaris-x11-s12/open-src/lib/libdga/sun-src/
H A Dcmap_grab.c659 /* We no longer need the hw shadow cmap but have to keep
759 struct fbcmap_i cmap; local
761 cmap.flags = 0 ;
762 cmap.id = infop->cm_cmapnum ;
763 cmap.index = infop->cm_ioctlbits | index;
764 cmap.count = count;
765 cmap.red = red;
766 cmap.green = green;
767 cmap.blue = blue;
768 if( ioctl(cginfo->cm_devfd, FBIOPUTCMAPI, &cmap)
775 struct fb_clut cmap; local
791 struct fbcmap cmap; local
[all...]
H A Ddga_Xrequests.c425 XDgaGrabColormap(dpy, cmap)
427 Colormap cmap;
443 GetResReq(DGA, cmap, req);
464 XDgaUnGrabColormap(dpy, cmap)
466 Colormap cmap;
482 GetResReq(DGA, cmap, req);
/solaris-x11-s12/open-src/app/xlock/sun-src/
H A Dxlock.c1176 Colormap cmap; local
1179 cmap = XCreateColormap(dsp, root[screen], vis, AllocNone);
1181 XAllocNamedColor(dsp, cmap, "White", &sswhite[screen], &tmp);
1182 XAllocNamedColor(dsp, cmap, "Black", &ssblack[screen], &tmp);
1185 if (!XAllocNamedColor(dsp, cmap, background,
1187 XAllocNamedColor(dsp, cmap, "White", &bgcol[screen], &tmp);
1189 if (!XAllocNamedColor(dsp, cmap, foreground,
1191 XAllocNamedColor(dsp, cmap, "Black", &fgcol[screen], &tmp);
1203 if (!XAllocNamedColor(dsp, cmap, background,
1206 XAllocNamedColor(dsp, cmap, "Whit
[all...]
H A Dpyro.c126 Colormap cmap; member in struct:__anon104
199 pp->cmap = xwa.colormap;
/solaris-x11-s12/open-src/lib/libXext/sun-src/src/
H A DXGrabWin.c163 Colormap cmap)
174 GetResReq(WxExtensionCode, cmap, req);
192 Colormap cmap)
203 GetResReq(WxExtensionCode, cmap, req);
161 XGrabColormap( Display *dpy, Colormap cmap) argument
190 XUnGrabColormap( Display *dpy, Colormap cmap) argument
/solaris-x11-s12/open-src/app/xmag_multivis/sun-src/
H A Dmultivis.h44 Colormap cmap; /* X Colormap ID */ member in struct:_colmap
78 MVColmap *colmap; /* cmap used for this position */
H A Dmultivis.c43 static MVColmap *mvFindColormap(Colormap cmap);
400 /* label the pixel in the map with this window's cmap */
471 XQueryColors(mvDpy, pCmp->cmap, pCmp->Colors, size);
569 * find & creat a colmap struct for this cmap
574 mvFindColormap(Colormap cmap) argument
577 /* if we've seen this cmap before, return its struct colmap */
579 if (cmap == pCmap->cmap)
582 /* First time for this cmap, creat & link */
585 pCmap->cmap
[all...]
H A Dxmag_multivis.c79 Colormap cmap; /* colormap to use for drawing */ variable
306 cmap = DefaultColormap (dpy, screen);
536 if (border_color && XParseColor (dpy, cmap, border_color, &cdef) &&
537 XAllocColor (dpy, cmap, &cdef)) {
579 } else if (XParseColor (dpy, cmap, back_color, &cdef) &&
580 XAllocColor (dpy, cmap, &cdef)) {
1002 XQueryColor (dpy, cmap, &def);

Completed in 596 milliseconds