Lines Matching refs:StdCmap
393 StdCmap *sc = NULL;
403 sc = (StdCmap *) malloc(sizeof(StdCmap));
405 twmWarning("unable to allocate %lu bytes for StdCmap",
406 (unsigned long) sizeof(StdCmap));
438 StdCmap *sc, *prev;
500 XStandardColormap *stdcmap = NULL;
516 stdcmap = &(Scr->StdCmapInfo.mru->maps[Scr->StdCmapInfo.mruindex]);
519 StdCmap *sc;
528 stdcmap = &(sc->maps[i]);
536 if (stdcmap) {
537 color.pixel = (stdcmap->base_pixel +
539 (double) stdcmap->red_max + 0.5) *
540 stdcmap->red_mult) +
542 (double) stdcmap->green_max + 0.5) *
543 stdcmap->green_mult) +
545 (double) stdcmap->blue_max + 0.5) *
546 stdcmap->blue_mult));