Searched defs:totalWeight (Results 1 - 1 of 1) sorted by relevance

/ast/src/lib/libtk/generic/
H A DtkGrid.c942 int totalWeight = 0; /* Sum of the weights for all the slots. */
964 totalWeight += slotPtr[slot].weight;
967 if (totalWeight == 0 ) {
979 slotPtr[slot].offset += diff * weight / totalWeight;
1031 for (totalWeight=slot=0; slot < slots; slot++) {
1035 totalWeight += slotPtr[slot].weight;
1041 if (totalWeight == 0) {
1060 maxDiff = totalWeight * (slotPtr[slot].minSize - current)
1073 slotPtr[slot].offset += newDiff * weight / totalWeight;
1543 int totalWeight
938 int totalWeight = 0; /* Sum of the weights for all the slots. */ local
1536 int totalWeight = 0; /* Sum of the weights for all of the local
[all...]

Completed in 15 milliseconds