Searched refs:viewPortSize (Results 1 – 1 of 1) sorted by relevance
189 void _UpdateScrollBar(BScrollBar* scrollBar, float viewPortSize, in _UpdateScrollBar() argument195 if (viewPortSize < dataSize) { in _UpdateScrollBar()196 scrollBar->SetRange(0, dataSize - viewPortSize); in _UpdateScrollBar()197 scrollBar->SetProportion(viewPortSize / dataSize); in _UpdateScrollBar()200 scrollBar->SetSteps(smallStep, viewPortSize); in _UpdateScrollBar()