| 604 | } |
| 605 | |
| 606 | void CtrlrPanel::removeModulator (CtrlrModulator *modulatorToDelete) |
| 607 | { |
| 608 | if (ctrlrModulators.contains(modulatorToDelete)) |
| 609 | { |
| 610 | owner.removeModulator (modulatorToDelete); |
| 611 | radioGrouppedComponent.removeAllInstancesOf (modulatorToDelete->getComponent()); |
| 612 | |
| 613 | listeners.call (&CtrlrPanel::Listener::modulatorRemoved, modulatorToDelete); |
| 614 | |
| 615 | ctrlrModulators.removeObject (modulatorToDelete); |
| 616 | panelTree.removeChild (modulatorToDelete->getModulatorTree(), 0); |
| 617 | } |
| 618 | } |
| 619 | |
| 620 | void CtrlrPanel::addModulator (CtrlrModulator *modulatorToAdd) |
| 621 | { |
nothing calls this directly
no test coverage detected