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

Method getGridBox

src/app/ModuleWidget.cpp:1140–1142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1138}
1139
1140math::Rect ModuleWidget::getGridBox() {
1141 return math::Rect(getGridPosition(), getGridSize());
1142}
1143
1144math::Vec& ModuleWidget::dragOffset() {
1145 return internal->dragOffset;

Callers 5

compareModuleLeftFunction · 0.80
setModulePosForceMethod · 0.80
squeezeModulePosMethod · 0.80
unsqueezeModulePosMethod · 0.80
updateExpandersMethod · 0.80

Calls 1

RectClass · 0.85

Tested by

no test coverage detected