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

Method Resize

Source/DotSequencer.cpp:266–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264}
265
266void DotSequencer::Resize(float w, float h)
267{
268 mWidth = w;
269 mHeight = h;
270
271 ofVec2f gridPos = mDotGrid->GetPosition(K(local));
272
273 mDotGrid->SetDimensions(w - 8 - gridPos.x, h - 5 - gridPos.y);
274}
275
276void DotSequencer::GetModuleDimensions(float& width, float& height)
277{

Callers

nothing calls this directly

Calls 2

GetPositionMethod · 0.45
SetDimensionsMethod · 0.45

Tested by

no test coverage detected