diff options
| author | Robert Jonsson <spamatica@gmail.com> | 2011-03-07 19:01:11 +0000 | 
|---|---|---|
| committer | Robert Jonsson <spamatica@gmail.com> | 2011-03-07 19:01:11 +0000 | 
| commit | e40fc849149dd97c248866a4a1d026dda5e57b62 (patch) | |
| tree | b12b358f3b3a0608001d30403358f8443118ec5f /attic/muse_qt4_evolution/synti/zynaddsubfx/UI/LFOUI.fl | |
| parent | 1bd4f2e8d9745cabb667b043171cad22c8577768 (diff) | |
clean3
Diffstat (limited to 'attic/muse_qt4_evolution/synti/zynaddsubfx/UI/LFOUI.fl')
| -rw-r--r-- | attic/muse_qt4_evolution/synti/zynaddsubfx/UI/LFOUI.fl | 176 | 
1 files changed, 176 insertions, 0 deletions
| diff --git a/attic/muse_qt4_evolution/synti/zynaddsubfx/UI/LFOUI.fl b/attic/muse_qt4_evolution/synti/zynaddsubfx/UI/LFOUI.fl new file mode 100644 index 00000000..373afc44 --- /dev/null +++ b/attic/muse_qt4_evolution/synti/zynaddsubfx/UI/LFOUI.fl @@ -0,0 +1,176 @@ +# data file for the Fltk User Interface Designer (fluid) +version 1.0105  +header_name {.h}  +code_name {.cc} +decl {//Copyright (c) 2002-2005 Nasca Octavian Paul} {}  + +decl {//License: GNU GPL version 2} {}  + +decl {\#include "WidgetPDial.h"} {public +}  + +decl {\#include <stdio.h>} {public +}  + +decl {\#include <stdlib.h>} {public +}  + +decl {\#include "../globals.h"} {public +}  + +decl {\#include <FL/Fl_Group.H>} {public +}  + +decl {\#include "../Params/LFOParams.h"} {public +}  + +decl {\#include <FL/Fl_Box.H>} {public +}  + +decl {\#include <FL/fl_draw.H>} {public +}  + +decl {\#include <FL/fl_ask.H>} {public +}  + +decl {\#include "PresetsUI.h"} {public +}  + +class LFOUI {: {public Fl_Group, PresetsUI_} +} { +  Function {LFOUI(int x,int y, int w, int h, const char *label=0):Fl_Group(x,y,w,h,label)} {} { +    code {pars=NULL;} {} +  } +  Function {~LFOUI()} {} { +    code {lfoui->hide(); +hide(); +//delete (lfoui);} {} +  } +  Function {make_window()} {} { +    Fl_Window lfoui { +      xywh {66 328 230 70} type Double color 50 labelfont 1 hide +      class Fl_Group +    } { +      Fl_Group lfoparamswindow { +        label LFO +        xywh {0 0 230 70} box PLASTIC_UP_BOX color 223 labeltype ENGRAVED_LABEL labelsize 11 align 17 +      } { +        Fl_Dial freq { +          label {Freq.} +          callback {pars->Pfreq=o->value();} +          tooltip {LFO Frequency} xywh {5 20 30 30} box ROUND_UP_BOX labelsize 11 step 1e-05 +          class WidgetPDial +        } +        Fl_Dial intensity { +          label Depth +          callback {pars->Pintensity=(int)o->value();} +          tooltip {LFO Amount} xywh {40 20 30 30} box ROUND_UP_BOX labelsize 11 maximum 127 step 1 +          class WidgetPDial +        } +        Fl_Dial delay { +          label Delay +          callback {pars->Pdelay=(int)o->value();} +          tooltip {LFO delay} xywh {110 20 30 30} box ROUND_UP_BOX labelsize 11 maximum 127 step 1 +          class WidgetPDial +        } +        Fl_Dial startphase { +          label Start +          callback {pars->Pstartphase=(int)o->value();} +          tooltip {LFO Startphase (leftmost is Random)} xywh {75 20 30 30} box ROUND_UP_BOX labelsize 11 maximum 127 step 1 +          class WidgetPDial +        } +        Fl_Dial randomness { +          label {A.R.} +          callback {pars->Prandomness=(int)o->value();} +          tooltip {LFO Amplitude Randomness} xywh {180 7 20 20} box ROUND_UP_BOX labelsize 10 maximum 127 step 1 +          class WidgetPDial +        } +        Fl_Choice LFOtype { +          label Type +          callback {pars->PLFOtype=(int)o->value();} +          tooltip {LFO function} xywh {180 40 45 15} down_box BORDER_BOX labelsize 10 align 2 textsize 8 +        } { +          menuitem {} { +            label SINE +            xywh {20 20 100 20} labelfont 1 labelsize 10 +          } +          menuitem {} { +            label TRI +            xywh {30 30 100 20} labelfont 1 labelsize 10 +          } +          menuitem {} { +            label SQR +            xywh {30 30 100 20} labelfont 1 labelsize 10 +          } +          menuitem {} { +            label {R.up} +            xywh {40 40 100 20} labelfont 1 labelsize 10 +          } +          menuitem {} { +            label {R.dn} +            xywh {50 50 100 20} labelfont 1 labelsize 10 +          } +          menuitem {} { +            label E1dn +            xywh {60 60 100 20} labelfont 1 labelsize 10 +          } +          menuitem {} { +            label E2dn +            xywh {70 70 100 20} labelfont 1 labelsize 10 +          } +        } +        Fl_Check_Button continous { +          label {C.} +          callback {pars->Pcontinous=(int)o->value();} +          tooltip {Continous LFO} xywh {165 35 15 15} down_box DOWN_BOX labelsize 11 align 2 +        } +        Fl_Dial freqrand { +          label {F.R.} +          callback {pars->Pfreqrand=(int)o->value();} +          tooltip {LFO Frequency Randomness} xywh {205 7 20 20} box ROUND_UP_BOX labelsize 10 maximum 127 step 1 +          class WidgetPDial +        } +        Fl_Dial stretch { +          label {Str.} +          callback {pars->Pstretch=(int)o->value();} +          tooltip {LFO stretch} xywh {144 30 20 20} box ROUND_UP_BOX labelsize 10 maximum 127 step 1 +          class WidgetPDial +        } +        Fl_Button {} { +          label C +          callback {presetsui->copy(pars);} selected +          xywh {145 10 15 15} box THIN_UP_BOX color 179 labelfont 1 labelsize 10 labelcolor 7 +        } +        Fl_Button {} { +          label P +          callback {presetsui->paste(pars,this);} selected +          xywh {162 10 15 15} box THIN_UP_BOX color 179 labelfont 1 labelsize 10 labelcolor 7 +        } +      } +    } +  } +  Function {refresh()} {} { +    code {freq->value(pars->Pfreq); +intensity->value(pars->Pintensity); +startphase->value(pars->Pstartphase); +delay->value(pars->Pdelay); +continous->value(pars->Pcontinous); +stretch->value(pars->Pstretch); +randomness->value(pars->Prandomness); +freqrand->value(pars->Pfreqrand); +LFOtype->value(pars->PLFOtype);} {} +  } +  Function {init(LFOParams *lfopars_)} {} { +    code {pars=lfopars_; + +make_window(); +end(); + +refresh(); + +lfoui->resize(this->x(),this->y(),this->w(),this->h()); + +lfoparamswindow->label(this->label());} {} +  } +  decl {LFOParams *pars;} {} +}  | 
