Searched refs:hard_def (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/libX11/dist/src/
H A DGetColor.c40 XColor *hard_def, /* RETURN */
67 memcpy((char *)hard_def, (char *)exact_def, sizeof(XColor));
68 ret = XAllocColor(dpy, cmap, hard_def);
69 exact_def->pixel = hard_def->pixel;
106 hard_def->red = rep.screenRed;
107 hard_def->green = rep.screenGreen;
108 hard_def->blue = rep.screenBlue;
110 exact_def->pixel = hard_def->pixel = rep.pixel;
36 XAllocNamedColor(register Display * dpy,Colormap cmap,_Xconst char * colorname,XColor * hard_def,XColor * exact_def) argument
/xsrc/external/mit/libX11/dist/src/xcms/
H A DcmsAllNCol.c77 XColor hard_def;
172 hard_def.red = rep.screenRed;
173 hard_def.green = rep.screenGreen;
174 hard_def.blue = rep.screenBlue;
176 exact_def.pixel = hard_def.pixel = rep.pixel;
185 _XColor_to_XcmsRGB(ccc, &hard_def, pColor_scrn_return, 1);
76 XColor hard_def; local in function:XcmsAllocNamedColor

Completed in 2 milliseconds