MCPcopy Create free account
hub / github.com/MyGUI/mygui / setScrollRange

Method setScrollRange

MyGUIEngine/src/MyGUI_ScrollBar.cpp:333–341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331 }
332
333 void ScrollBar::setScrollRange(size_t _range)
334 {
335 if (_range == mScrollRange)
336 return;
337
338 mScrollRange = _range;
339 mScrollPosition = (mScrollPosition < mScrollRange) ? mScrollPosition : 0;
340 updateTrack();
341 }
342
343 void ScrollBar::setScrollPosition(size_t _position)
344 {

Callers 8

updateScrollMethod · 0.80
notifyEventActionMethod · 0.80
updateScrollMethod · 0.80
insertItemAtMethod · 0.80
removeItemAtMethod · 0.80
updateScrollSizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected