Lines Matching refs:xScrollUnit
117 int xScrollUnit; /* Number of pixels in one "unit" for
389 listPtr->xScrollUnit = 0;
787 ChangeListboxOffset(listPtr, index*listPtr->xScrollUnit);
797 windowUnits = windowWidth/listPtr->xScrollUnit;
800 + count*listPtr->xScrollUnit*(windowUnits-2);
802 offset = listPtr->xOffset + count*listPtr->xScrollUnit;
806 offset = listPtr->xOffset + count*listPtr->xScrollUnit;
1230 listPtr->xScrollUnit = XTextWidth(listPtr->fontPtr, "0", 1);
1249 width = (listPtr->maxWidth + listPtr->xScrollUnit - 1)
1250 /listPtr->xScrollUnit;
1255 pixelWidth = width*listPtr->xScrollUnit + 2*listPtr->inset
1269 Tk_SetGrid(listPtr->tkwin, width, height, listPtr->xScrollUnit,
1789 * round it off to an even multiple of xScrollUnit.
1792 maxOffset = listPtr->maxWidth + (listPtr->xScrollUnit-1)
1794 - 2*listPtr->selBorderWidth - listPtr->xScrollUnit);
1801 offset -= offset%listPtr->xScrollUnit;
1838 maxOffset = listPtr->maxWidth + (listPtr->xScrollUnit-1)
1840 - 2*listPtr->selBorderWidth - listPtr->xScrollUnit);