Searched refs:targetBounds (Results 1 - 1 of 1) sorted by relevance

/haiku/src/kits/interface/
H A DScrollBar.cpp775 BRect targetBounds = fTarget->Bounds(); local
777 if (fOrientation == B_VERTICAL && targetBounds.top != newValue)
778 fTarget->ScrollBy(0.0, newValue - targetBounds.top);
781 if (fOrientation == B_HORIZONTAL && targetBounds.left != newValue)
782 fTarget->ScrollBy(newValue - targetBounds.left, 0.0);

Completed in 81 milliseconds