Lines Matching defs:range
246 wxCHECK_RET( pos >= 0 && pos <= m_range, _T("thumb position out of range") );
252 int range, int pageSize,
255 // we only refresh everything when the range changes, thumb position
257 bool needsRefresh = (range != m_range) ||
262 m_range = range;
362 int range = GetRange();
363 if ( !range )
365 // clicking the scrollbar without range has no effect
373 range,
393 int range,
400 *thumbStart = (length*thumbPos) / range;
401 *thumbEnd = (length*(thumbPos + thumbSize)) / range;
477 int range = GetRange();
478 if ( !range )
488 range,
544 int range = GetRange();
545 if ( !range )
558 return (thumbPos * GetScrollbarSize()) / range