MCPcopy Create free account
hub / github.com/jerryuhoo/Fire / dragLines

Method dragLines

Source/Panels/SpectrogramPanel/Multiband.cpp:516–520  ·  view source on GitHub ↗

3 ways to change frequency: 1. change freqLabel; 2. drag; 3.change Ableton slider

Source from the content-addressed store, hash-verified

514
515// 3 ways to change frequency: 1. change freqLabel; 2. drag; 3.change Ableton slider
516void Multiband::dragLines(float xPercent, int index)
517{
518 // moving lines by dragging mouse
519 freqDividerGroup[index]->moveToX(lineNum, xPercent, limitLeft, freqDividerGroup);
520}
521
522void Multiband::setLineRelatedBoundsByX()
523{

Callers

nothing calls this directly

Calls 1

moveToXMethod · 0.45

Tested by

no test coverage detected