MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / GetModuleDimensions

Method GetModuleDimensions

Source/StepSequencer.cpp:537–543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

535}
536
537void StepSequencer::GetModuleDimensions(float& width, float& height)
538{
539 width = mGrid->GetWidth() + 45;
540 if (mAdjustOffsets)
541 width += 100;
542 height = mGrid->GetHeight() + 50;
543}
544
545void StepSequencer::Resize(float w, float h)
546{

Callers

nothing calls this directly

Calls 2

GetWidthMethod · 0.45
GetHeightMethod · 0.45

Tested by

no test coverage detected