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

Method IntSliderUpdated

Source/PulseSequence.cpp:272–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270}
271
272void PulseSequence::IntSliderUpdated(IntSlider* slider, int oldVal, double time)
273{
274 if (slider == mLengthSlider)
275 {
276 mLength = MIN(mLength, kMaxSteps);
277 mVelocityGrid->SetGrid(mLength, 1);
278 GridUpdated(mVelocityGrid, 0, 0, 0, 0);
279 }
280}
281
282void PulseSequence::GridUpdated(UIGrid* grid, int col, int row, float value, float oldValue)
283{

Callers

nothing calls this directly

Calls 1

SetGridMethod · 0.45

Tested by

no test coverage detected