zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 7a6d40d7dd72e097bb4c6e58438b6d784792168d
parent bde41871500a8fa21208e7dd45b9a1e8bd122350
Author: fundamental <mark.d.mccurry@gmail.com>
Date:   Sat, 29 May 2010 14:44:44 -0400

Phaser: more adjustments

Diffstat:
Msrc/Effects/Phaser.cpp | 3+++
Msrc/UI/EffUI.fl | 36+++++++++++++++++++++++++++++++-----
2 files changed, 34 insertions(+), 5 deletions(-)

diff --git a/src/Effects/Phaser.cpp b/src/Effects/Phaser.cpp @@ -426,6 +426,9 @@ void Phaser::changepar(int npar, unsigned char value) case 13: setdistortion(value); break; + case 14: + Panalog = value; + break; } } diff --git a/src/UI/EffUI.fl b/src/UI/EffUI.fl @@ -175,8 +175,7 @@ effdynamicfilterwindow->hide();//delete (effdynamicfilterwindow); if (filterwindow!=NULL){ filterwindow->hide(); delete(filterwindow); -};} {selected - } +};} {} } Function {make_null_window()} {} { Fl_Window effnullwindow { @@ -584,7 +583,7 @@ refresh(eff);} } } Function {make_phaser_window()} {} { - Fl_Window effphaserwindow {open + Fl_Window effphaserwindow { xywh {75 25 380 95} type Double box PLASTIC_UP_BOX color 221 labelfont 1 hide class Fl_Group } { @@ -618,6 +617,30 @@ refresh(eff);} label {Phaser 6} xywh {80 80 100 20} labelfont 1 labelsize 10 labelcolor 7 } + MenuItem {} { + label {APhaser 1} + xywh {40 40 100 20} labelfont 1 labelsize 10 labelcolor 7 + } + MenuItem {} { + label {APhaser 2} + xywh {50 50 100 20} labelfont 1 labelsize 10 labelcolor 7 + } + MenuItem {} { + label {APhaser 3} + xywh {60 60 100 20} labelfont 1 labelsize 10 labelcolor 7 + } + MenuItem {} { + label {APhaser 4} + xywh {70 70 100 20} labelfont 1 labelsize 10 labelcolor 7 + } + MenuItem {} { + label {APhaser 5} + xywh {80 80 100 20} labelfont 1 labelsize 10 labelcolor 7 + } + MenuItem {} { + label {APhaser 6} selected + xywh {90 90 100 20} labelfont 1 labelsize 10 labelcolor 7 + } } Fl_Text_Display {} { label Phaser @@ -715,6 +738,7 @@ refresh(eff);} } Fl_Check_Button phaserp14 { label Analog + callback {eff->seteffectpar(14,(int) o->value());} xywh {305 35 70 15} down_box DOWN_BOX } } @@ -1286,7 +1310,8 @@ effdynamicfilterwindow->position(px,py); refresh(eff);} {} } - Function {refresh(EffectMgr *eff_)} {} { + Function {refresh(EffectMgr *eff_)} {open + } { code {eff=eff_; this->hide(); @@ -1439,7 +1464,8 @@ switch(eff->geteffect()){ this->show();} {} } - Function {refresh()} {} { + Function {refresh()} {open + } { code {refresh(eff);} {} } decl {EffectMgr *eff;} {}