diff options
author | falkTX <falktx@gmail.com> | 2015-06-13 17:43:08 +0200 |
---|---|---|
committer | falkTX <falktx@gmail.com> | 2015-06-13 17:43:08 +0200 |
commit | 12bb7420f9e2145e7dc16fd5e212cb5c274a5f79 (patch) | |
tree | 8c7e2c5f68f3c83b2d5b3cfd02d1c816c1435388 /plugins/ZamGate/ZamGateUI.cpp | |
parent | 7a3210e063620e54ca6f2dbef6c49188a6fd0a88 (diff) |
Update all other plugins to new DPF
Diffstat (limited to 'plugins/ZamGate/ZamGateUI.cpp')
-rw-r--r-- | plugins/ZamGate/ZamGateUI.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/ZamGate/ZamGateUI.cpp b/plugins/ZamGate/ZamGateUI.cpp index 123ca90..0d8b895 100644 --- a/plugins/ZamGate/ZamGateUI.cpp +++ b/plugins/ZamGate/ZamGateUI.cpp @@ -79,13 +79,13 @@ ZamGateUI::ZamGateUI() fKnobMakeup->setCallback(this); // set default values - d_programChanged(0); + programLoaded(0); } // ----------------------------------------------------------------------- // DSP Callbacks -void ZamGateUI::d_parameterChanged(uint32_t index, float value) +void ZamGateUI::parameterChanged(uint32_t index, float value) { switch (index) { @@ -118,7 +118,7 @@ void ZamGateUI::d_parameterChanged(uint32_t index, float value) } } -void ZamGateUI::d_programChanged(uint32_t index) +void ZamGateUI::programLoaded(uint32_t index) { // Default values fKnobAttack->setValue(50.0f); @@ -132,17 +132,17 @@ void ZamGateUI::d_programChanged(uint32_t index) void ZamGateUI::imageKnobDragStarted(ImageKnob* knob) { - d_editParameter(knob->getId(), true); + editParameter(knob->getId(), true); } void ZamGateUI::imageKnobDragFinished(ImageKnob* knob) { - d_editParameter(knob->getId(), false); + editParameter(knob->getId(), false); } void ZamGateUI::imageKnobValueChanged(ImageKnob* knob, float value) { - d_setParameterValue(knob->getId(), value); + setParameterValue(knob->getId(), value); } void ZamGateUI::onDisplay() |