diff --git a/plugin/ui.cpp b/plugin/ui.cpp index 61f10d5..07fb6b4 100644 --- a/plugin/ui.cpp +++ b/plugin/ui.cpp @@ -178,7 +178,7 @@ DistrhoUIPeacock::DistrhoUIPeacock() : UI(Art::backgroundWidth, Art::backgroundH xBtnCh2->setAbsolutePos(644, 293); xBtnCh2->setId(btnCh2); xBtnCh2->setCallback(this); - // programLoaded(0); + // programLoaded(0); } DistrhoUIPeacock::~DistrhoUIPeacock() { @@ -206,6 +206,9 @@ void DistrhoUIPeacock::parameterChanged(uint32_t index, float value) { case pPWMDepth: xSliderPWMDepth->setValue(value); break; + case pPWMMode: + xSwitchPWM->setValue(value); + break; case pSubLevel: xSliderSubLevel->setValue(value); break; @@ -221,6 +224,9 @@ void DistrhoUIPeacock::parameterChanged(uint32_t index, float value) { case pRes: xSliderRes->setValue(value); break; + case pVCFPol: + xSwitchEnv->setValue(value); + break; case pEnv: xSliderEnv->setValue(value); break; @@ -230,6 +236,12 @@ void DistrhoUIPeacock::parameterChanged(uint32_t index, float value) { case pKyb: xSliderKyb->setValue(value); break; + case pVCALevel: + xSliderVCALevel->setValue(value); + break; + case pEnvGate: + xSwitchVCA->setValue(value); + break; case pAttack: xSliderAtk->setValue(value); break;