MCPcopy Create free account
hub / github.com/VCVRack/Rack / getScrollOffset

Method getScrollOffset

include/ui/ScrollWidget.hpp:26–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 ScrollWidget();
25 ~ScrollWidget();
26 math::Vec getScrollOffset() {
27 return offset;
28 }
29 void scrollTo(math::Rect r);
30 /** Returns the bound of allowed `offset` values in pixels. */
31 math::Rect getContainerOffsetBound();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected