Searched refs:stdcmap (Results 1 - 8 of 8) sorted by relevance

/xsrc/external/mit/libX11/dist/src/
H A DSetStCmap.c71 XStandardColormap stdcmap; local in function:XSetStandardColormap
79 stdcmap.colormap = cmap->colormap;
80 stdcmap.red_max = cmap->red_max;
81 stdcmap.red_mult = cmap->red_mult;
82 stdcmap.green_max = cmap->green_max;
83 stdcmap.green_mult = cmap->green_mult;
84 stdcmap.blue_max = cmap->blue_max;
85 stdcmap.blue_mult = cmap->blue_mult;
86 stdcmap.base_pixel = cmap->base_pixel;
87 stdcmap
[all...]
H A DGetRGBCMap.c42 XStandardColormap **stdcmap, /* RETURN */
131 *stdcmap = cmaps;
39 XGetRGBColormaps(Display * dpy,Window w,XStandardColormap ** stdcmap,int * count,Atom property) argument
/xsrc/external/mit/libXmu/dist/src/
H A DStdCmap.c79 XStandardColormap *stdcmap; local in function:XmuStandardColormap
99 || ((stdcmap = XAllocStandardColormap()) == NULL)) {
112 stdcmap->killid = (XID) XCreatePixmap(dpy, win, 1, 1, depth);
114 stdcmap->colormap = cmap;
116 stdcmap->killid = ReleaseByFreeingColormap;
117 stdcmap->colormap = XCreateColormap(dpy, RootWindow(dpy, screen),
120 stdcmap->red_max = red_max;
121 stdcmap->green_max = green_max;
122 stdcmap->blue_max = blue_max;
124 stdcmap
[all...]
/xsrc/external/mit/ctwm/dist/
H A Dutil.c184 XStandardColormap *stdcmap = NULL; local in function:GetColor
197 stdcmap = &(Scr->StdCmapInfo.mru->maps[Scr->StdCmapInfo.mruindex]);
209 stdcmap = &(sc->maps[i]);
217 if(stdcmap) {
218 color.pixel = (stdcmap->base_pixel +
220 stdcmap->red_max + 0.5) *
221 stdcmap->red_mult) +
223 stdcmap->green_max + 0.5) *
224 stdcmap->green_mult) +
226 stdcmap
[all...]
H A Dimage_xpm.c50 Colormap stdcmap = Scr->RootColormaps.cwins[0]->colormap->c; local in function:LoadXpmImage
87 attributes.colormap = AlternateCmap ? AlternateCmap : stdcmap;
H A Dmask_screen.c124 Colormap stdcmap = Scr->RootColormaps.cwins[0]->colormap->c; local in function:UnmaskScreen
202 XQueryColors(dpy, stdcmap, stdcolors, 256);
220 XSetWindowColormap(dpy, Scr->Root, stdcmap);
224 XInstallColormap(dpy, stdcmap);
H A Dimage_xwd.c64 Colormap stdcmap = Scr->RootColormaps.cwins[0]->colormap->c; local in function:LoadXwdImage
144 cmap = AlternateCmap ? AlternateCmap : stdcmap;
/xsrc/external/mit/twm/dist/src/
H A Dutil.c500 XStandardColormap *stdcmap = NULL; local in function:GetColor
516 stdcmap = &(Scr->StdCmapInfo.mru->maps[Scr->StdCmapInfo.mruindex]);
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
[all...]

Completed in 6 milliseconds