From 36db28a11f43e4c7bc385c3cb1a39e6da5c0a1a4 Mon Sep 17 00:00:00 2001 From: Gordon JC Pearce Date: Sun, 21 Dec 2025 21:24:03 +0000 Subject: [PATCH] VCA slider and slide switches handled --- plugin/ui.cpp | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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;