diff options
Diffstat (limited to 'plugins/ZaMultiCompX2/ZaMultiCompX2UI.cpp')
-rw-r--r-- | plugins/ZaMultiCompX2/ZaMultiCompX2UI.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/ZaMultiCompX2/ZaMultiCompX2UI.cpp b/plugins/ZaMultiCompX2/ZaMultiCompX2UI.cpp index 7f3a405..77493a3 100644 --- a/plugins/ZaMultiCompX2/ZaMultiCompX2UI.cpp +++ b/plugins/ZaMultiCompX2/ZaMultiCompX2UI.cpp @@ -40,8 +40,8 @@ ZaMultiCompX2UI::ZaMultiCompX2UI() fLedRedValue[0] = 0.0f; fLedRedValue[1] = 0.0f; fLedRedValue[2] = 0.0f; - fLedYellowValueL = 0.0f; - fLedYellowValueR = 0.0f; + fLedYellowValueL = -45.0f; + fLedYellowValueR = -45.0f; // knob Image knobImage(ZaMultiCompX2Artwork::knobData, ZaMultiCompX2Artwork::knobWidth, ZaMultiCompX2Artwork::knobHeight); @@ -118,6 +118,7 @@ ZaMultiCompX2UI::ZaMultiCompX2UI() fKnobRatio1 = new ImageKnob(this, knobImage); fKnobRatio1->setAbsolutePos(191.5+x, 43+y); fKnobRatio1->setRange(1.0f, 20.0f); + fKnobRatio1->setUsingLogScale(true); fKnobRatio1->setDefault(4.0f); fKnobRatio1->setRotationAngle(240); fKnobRatio1->setCallback(this); @@ -125,6 +126,7 @@ ZaMultiCompX2UI::ZaMultiCompX2UI() fKnobRatio2 = new ImageKnob(this, knobImage); fKnobRatio2->setAbsolutePos(191.5+x, 43+y-50); fKnobRatio2->setRange(1.0f, 20.0f); + fKnobRatio2->setUsingLogScale(true); fKnobRatio2->setDefault(4.0f); fKnobRatio2->setRotationAngle(240); fKnobRatio2->setCallback(this); @@ -132,6 +134,7 @@ ZaMultiCompX2UI::ZaMultiCompX2UI() fKnobRatio3 = new ImageKnob(this, knobImage); fKnobRatio3->setAbsolutePos(191.5+x, 43+y-100); fKnobRatio3->setRange(1.0f, 20.0f); + fKnobRatio3->setUsingLogScale(true); fKnobRatio3->setDefault(4.0f); fKnobRatio3->setRotationAngle(240); fKnobRatio3->setCallback(this); |