Lines Matching defs:pdefs
48 winStoreColors (ColormapPtr pmap, int ndef, xColorItem *pdefs);
199 xColorItem *pdefs)
217 nRed = pdefs[i].red >> 8;
218 nGreen = pdefs[i].green >> 8;
219 nBlue = pdefs[i].blue >> 8;
222 pCmapPriv->peColors[pdefs[0].pixel + i].peRed = nRed;
223 pCmapPriv->peColors[pdefs[0].pixel + i].peGreen = nGreen;
224 pCmapPriv->peColors[pdefs[0].pixel + i].peBlue = nBlue;
227 pCmapPriv->rgbColors[pdefs[0].pixel + i].rgbRed = nRed;
228 pCmapPriv->rgbColors[pdefs[0].pixel + i].rgbGreen = nGreen;
229 pCmapPriv->rgbColors[pdefs[0].pixel + i].rgbBlue = nBlue;
238 if (!((pScreenPriv->pwinStoreColors) (pmap, ndef, pdefs)))