Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ getContainerOffsetBound
Method
getContainerOffsetBound
src/ui/ScrollWidget.cpp:43–48 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
41
42
43
math::Rect ScrollWidget::getContainerOffsetBound() {
44
math::Rect r;
45
r.pos = containerBox.pos;
46
r.size = containerBox.size.minus(box.size);
47
return r;
48
}
49
50
51
math::Vec ScrollWidget::getHandleOffset() {
Callers
1
onDragMove
Method · 0.80
Calls
1
minus
Method · 0.80
Tested by
no test coverage detected