Lines Matching defs:pdefs
47 winStoreColors(ColormapPtr pmap, int ndef, xColorItem * pdefs);
188 winStoreColors(ColormapPtr pmap, int ndef, xColorItem * pdefs)
205 nRed = pdefs[i].red >> 8;
206 nGreen = pdefs[i].green >> 8;
207 nBlue = pdefs[i].blue >> 8;
210 pCmapPriv->peColors[pdefs[0].pixel + i].peRed = nRed;
211 pCmapPriv->peColors[pdefs[0].pixel + i].peGreen = nGreen;
212 pCmapPriv->peColors[pdefs[0].pixel + i].peBlue = nBlue;
215 pCmapPriv->rgbColors[pdefs[0].pixel + i].rgbRed = nRed;
216 pCmapPriv->rgbColors[pdefs[0].pixel + i].rgbGreen = nGreen;
217 pCmapPriv->rgbColors[pdefs[0].pixel + i].rgbBlue = nBlue;
226 if (!((pScreenPriv->pwinStoreColors) (pmap, ndef, pdefs))) {