Lines Matching defs:pcmap
68 winGetPaletteDIB(ScreenPtr pScreen, ColormapPtr pcmap);
71 winGetPaletteDD(ScreenPtr pScreen, ColormapPtr pcmap);
324 winGetPaletteDIB(ScreenPtr pScreen, ColormapPtr pcmap)
368 if (AllocColor(pcmap, &nRed, &nGreen, &nBlue, &pixel, 0) != Success) {
382 pcmap->red[i].co.local.red = nRed;
383 pcmap->red[i].co.local.green = nGreen;
384 pcmap->red[i].co.local.blue = nBlue;
400 winGetPaletteDD(ScreenPtr pScreen, ColormapPtr pcmap)
451 if (AllocColor(pcmap, &nRed, &nGreen, &nBlue, &pixel, 0) != Success) {
458 pcmap->red[i].co.local.red = nRed;
459 pcmap->red[i].co.local.green = nGreen;
460 pcmap->red[i].co.local.blue = nBlue;
493 ColormapPtr pcmap = NULL;
525 &pcmap,
531 if (pcmap == NULL) {
545 if (!winGetPaletteDIB(pScreen, pcmap)) {
552 if (!winGetPaletteDD(pScreen, pcmap)) {
564 if ((AllocColor(pcmap, &ones, &ones, &ones, &wp, 0) != Success)
565 || (AllocColor(pcmap, &zero, &zero, &zero, &bp, 0) != Success)) {
581 if (AllocColor(pcmap, &ones, &ones, &ones, &p, 0) != Success)
587 if (AllocColor(pcmap, &zero, &zero, &zero, &p, 0) != Success)
595 (*pScreen->InstallColormap) (pcmap);