/solaris-x11-s11/open-src/app/xcolor/sun-src/ |
H A D | XCrDynCmap.c | 40 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 D | XCrHsbCmap.c | 38 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 D | xcolor.c | 55 static Colormap cmap; variable 295 stat = XCreateHSBColormap(dsp, screen, &cmap, half 329 xswa.colormap = cmap; 362 xswa.colormap = cmap;
|
/solaris-x11-s11/open-src/app/cmap_compact/sun-src/ |
H A D | cmcinit.c | 45 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 D | cmcsave.c | 80 register Colormap cmap = DefaultColormapOfScreen(screen); local 119 if(!XAllocColorCells(DisplayOfScreen(screen), cmap, 0, &masks, 0, 142 XQueryColor(DisplayOfScreen(screen), cmap, &color); local 149 XStoreColor(DisplayOfScreen(screen), cmap, &color); local 179 XQueryColors(DisplayOfScreen(screen), cmap, *colors, *ncolors); local
|
/solaris-x11-s11/open-src/lib/libXext/sun-src/src/ |
H A D | XGrabWin.c | 164 Colormap cmap) 175 GetResReq(WxExtensionCode, cmap, req); 193 Colormap cmap) 204 GetResReq(WxExtensionCode, cmap, req); 162 XGrabColormap( Display *dpy, Colormap cmap) argument 191 XUnGrabColormap( Display *dpy, Colormap cmap) argument
|
/solaris-x11-s11/open-src/app/xmag_multivis/sun-src/ |
H A D | multivis.h | 44 Colormap cmap; /* X Colormap ID */ member in struct:_colmap 78 MVColmap *colmap; /* cmap used for this position */
|
H A D | multivis.c | 43 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 D | xmag_multivis.c | 79 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);
|
/solaris-x11-s11/open-src/app/xlock/sun-src/ |
H A D | pyro.c | 131 Colormap cmap; member in struct:__anon107 192 pp->cmap = xwa.colormap;
|
H A D | xlock.c | 1213 Colormap cmap; local 1216 cmap = XCreateColormap(dsp, root[screen], vis, AllocNone); 1218 XAllocNamedColor(dsp, cmap, "White", &sswhite[screen], &tmp); 1219 XAllocNamedColor(dsp, cmap, "Black", &ssblack[screen], &tmp); 1222 if (!XAllocNamedColor(dsp, cmap, background, 1224 XAllocNamedColor(dsp, cmap, "White", &bgcol[screen], &tmp); 1226 if (!XAllocNamedColor(dsp, cmap, foreground, 1228 XAllocNamedColor(dsp, cmap, "Black", &fgcol[screen], &tmp); 1240 if (!XAllocNamedColor(dsp, cmap, background, 1243 XAllocNamedColor(dsp, cmap, "Whit [all...] |
/solaris-x11-s11/open-src/kernel/efb/src/ |
H A D | efb_drv.c | 695 efb_cmap_write(efb_private_t *efb_priv, int cmap) argument 704 int map = cmap & 0x1; 710 if (cmap > 1) 716 red = efb_priv->colormap[cmap][0]; 717 green = efb_priv->colormap[cmap][1]; 718 blue = efb_priv->colormap[cmap][2];
|
H A D | efb_vis.c | 405 * For 8-bit a'lazy loading' scheme is used so that only restore cmap entries 407 * ordered cmap entry that has been accessed since console's VIS_DEVINIT 416 * Initialize the cmap for the current fb depth 444 struct vis_cmap *cmap = (struct vis_cmap *)data; local 456 for (i = 0; i < cmap->count; ++i) { 458 efb_priv->consinfo.kcmap[stream][0][cmap->index + i] = 459 (cmap->red[i] << 2) | (cmap->red[i] >> 6); 461 efb_priv->consinfo.kcmap[stream][1][cmap->index + i] = 462 (cmap [all...] |
/solaris-x11-s11/open-src/lib/libdga/sun-src/ |
H A D | cmap_grab.c | 657 /* We no longer need the hw shadow cmap but have to keep 757 struct fbcmap_i cmap; local 759 cmap.flags = 0 ; 760 cmap.id = infop->cm_cmapnum ; 761 cmap.index = infop->cm_ioctlbits | index; 762 cmap.count = count; 763 cmap.red = red; 764 cmap.green = green; 765 cmap.blue = blue; 766 if( ioctl(cginfo->cm_devfd, FBIOPUTCMAPI, &cmap) 773 struct fb_clut cmap; local 789 struct fbcmap cmap; local [all...] |
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/ |
H A D | XDPSshare.c | 282 XStandardColormap cmap; local 324 XDPSGetDefaultColorMaps(dpy, screen, drawable, &cmap, 326 rgb_base_pixel = cmap.base_pixel; 327 red_max = cmap.red_max; 328 red_mult = cmap.red_mult; 329 green_max = cmap.green_max; 330 green_mult = cmap.green_mult; 331 blue_max = cmap.blue_max; 332 blue_mult = cmap.blue_mult; 333 map = cmap [all...] |
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdps/ |
H A D | dpsXcmu.c | 353 Colormap cmap) 366 if (cmap == DefaultColormap(dpy, screen_number)) { 1205 Colormap cmap = colorCube->colormap; local 1269 if (!AllocateColor(dpy, cmap, &color)) { 1270 XFreeColors(dpy, cmap, pixels->pixels, count+first+remain, 0); 1294 Colormap cmap = grayRamp->colormap; local 1354 if (!AllocateColor(dpy, cmap, &color)) { 1388 Colormap cmap = map->colormap; local 1395 ok = XAllocColorCells(dpy, cmap, 1, NULL, 0, pixels->pixels, npixels); 1410 ok = XAllocColorCells(dpy, cmap, 349 PickCorrectVisual( Display *dpy, XVisualInfo *vlist, int n, Colormap cmap) argument 1499 AllocateColor( Display *dpy, Colormap cmap, XColor *color) argument [all...] |