Lines Matching refs:sliderFirst
187 thumbOrigin.y = troughBounds.origin.y + scrollPtr->sliderFirst; in drawMacScrollbar()
189 thumbSize.height = scrollPtr->sliderLast - scrollPtr->sliderFirst; in drawMacScrollbar()
197 thumbOrigin.x = troughBounds.origin.x + scrollPtr->sliderFirst; in drawMacScrollbar()
199 thumbSize.width = scrollPtr->sliderLast - scrollPtr->sliderFirst; in drawMacScrollbar()
391 scrollPtr->sliderFirst = fieldLength*scrollPtr->firstFraction; in TkpComputeScrollbarGeometry()
399 if (scrollPtr->sliderFirst < MIN_GAP) { in TkpComputeScrollbarGeometry()
400 scrollPtr->sliderFirst = MIN_GAP; in TkpComputeScrollbarGeometry()
405 scrollPtr->sliderFirst -= MIN_GAP; in TkpComputeScrollbarGeometry()
407 if (scrollPtr->sliderFirst > fieldLength - MIN_SLIDER_LENGTH) { in TkpComputeScrollbarGeometry()
408 scrollPtr->sliderFirst = fieldLength - MIN_SLIDER_LENGTH; in TkpComputeScrollbarGeometry()
410 if (scrollPtr->sliderLast < scrollPtr->sliderFirst + MIN_SLIDER_LENGTH) { in TkpComputeScrollbarGeometry()
411 scrollPtr->sliderLast = scrollPtr->sliderFirst + MIN_SLIDER_LENGTH; in TkpComputeScrollbarGeometry()
413 scrollPtr->sliderFirst += -scrollPtr->arrowLength + scrollPtr->inset; in TkpComputeScrollbarGeometry()
547 if (y < scrollPtr->sliderFirst + scrollPtr->arrowLength) { in TkpScrollbarPosition()