Home
last modified time | relevance | path

Searched refs:viewPortSize (Results 1 – 1 of 1) sorted by relevance

/haiku/src/kits/interface/
H A DViewPort.cpp189 void _UpdateScrollBar(BScrollBar* scrollBar, float viewPortSize, in _UpdateScrollBar() argument
195 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()