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

/ast/src/lib/libtk/generic/
H A DtkColor.c103 int numColors; /* Number of entries currently active member in struct:TkStressedCmap
577 stressPtr->numColors = visInfoPtr->colormap_size;
580 (stressPtr->numColors * sizeof(XColor)));
581 for (i = 0; i < stressPtr->numColors; i++) {
585 stressPtr->numColors);
604 if (stressPtr->numColors == 0) {
609 for (colorPtr = stressPtr->colorPtr, i = 0; i < stressPtr->numColors;
640 stressPtr->colorPtr[stressPtr->numColors-1];
641 stressPtr->numColors -= 1;
H A DtkImgPhoto.c98 int numColors; /* Number of colors allocated for this map. */ member in struct:ColorTable
375 int numColors));
2286 int nRed, nGreen, nBlue, mono, numColors;
2332 numColors = nRed;
2334 numColors *= nGreen*nBlue;
2336 if (numColors > (1 << instancePtr->visualInfo.depth)) {
2458 colorPtr->numColors = 0;
2476 if ((colorPtr->numColors == 0)
2543 int numColors, nRed, nGreen, nBlue;
2595 numColors
2272 int nRed, nGreen, nBlue, mono, numColors; local
2525 int numColors, nRed, nGreen, nBlue; local
[all...]

Completed in 17 milliseconds