MCPcopy Create free account
hub / github.com/axmolengine/axmol / updateScrollBar

Method updateScrollBar

core/ui/UIScrollView.cpp:360–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358}
359
360void ScrollView::updateScrollBar(const Vec2& outOfBoundary)
361{
362 if (_verticalScrollBar != nullptr)
363 {
364 _verticalScrollBar->onScrolled(outOfBoundary);
365 }
366 if (_horizontalScrollBar != nullptr)
367 {
368 _horizontalScrollBar->onScrolled(outOfBoundary);
369 }
370}
371
372Vec2 ScrollView::calculateTouchMoveVelocity() const
373{

Callers

nothing calls this directly

Calls 1

onScrolledMethod · 0.80

Tested by

no test coverage detected