debug print, but switches and attack work correctly
This commit is contained in:
parent
6241fc233c
commit
290962bf8c
|
|
@ -11,7 +11,7 @@ void prepSwitch(ImageSlider* s, uint id, int x, int y) {
|
|||
s->setId(id);
|
||||
s->setStartPos(x, y);
|
||||
s->setEndPos(x, y + 13); // 34px high
|
||||
s->setInverted(true);
|
||||
s->setInverted(false);
|
||||
s->setRange(0, 1.0f);
|
||||
s->setStep(1);
|
||||
s->setValue(0);
|
||||
|
|
@ -90,7 +90,7 @@ DistrhoUIPeacock::DistrhoUIPeacock() : UI(Art::backgroundWidth, Art::backgroundH
|
|||
xSliderVCALevel->setCallback(this);
|
||||
|
||||
xSliderAtk = new ImageSlider(this, whiteSlider);
|
||||
prepSlider(xSliderAtk, pVCALevel, 385, 261);
|
||||
prepSlider(xSliderAtk, pAttack, 385, 261);
|
||||
xSliderAtk->setCallback(this);
|
||||
|
||||
xSliderDcy = new ImageSlider(this, whiteSlider);
|
||||
|
|
@ -266,6 +266,7 @@ void DistrhoUIPeacock::imageSliderDragFinished(ImageSlider* slider) {
|
|||
}
|
||||
|
||||
void DistrhoUIPeacock::imageSliderValueChanged(ImageSlider* slider, float value) {
|
||||
printf("setting %d to %f\n", slider->getId(), value);
|
||||
setParameterValue(slider->getId(), value);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue