|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195 |
- # data file for the Fltk User Interface Designer (fluid)
- version 1.0302
- header_name {.h}
- code_name {.cc}
- decl {//Copyright (c) 2002-2005 Nasca Octavian Paul} {private local
- }
-
- decl {//License: GNU GPL version 2 or later} {private local
- }
-
- decl {\#include "Fl_Osc_Dial.H"} {public local
- }
-
- decl {\#include "Fl_Osc_DialF.H"} {public local
- }
-
- decl {\#include "Fl_Osc_Choice.H"} {public local
- }
-
- decl {\#include "Fl_Osc_Check.H"} {public local
- }
-
- decl {\#include "Fl_Osc_Pane.H"} {public local
- }
-
- decl {\#include "../globals.h"} {private global
- }
-
- decl {\#include <FL/Fl_Group.H>} {private global
- }
-
- decl {\#include <FL/Fl_Box.H>} {private global
- }
-
- decl {\#include <FL/fl_draw.H>} {private global
- }
-
- decl {\#include <string>} {public local
- }
-
- decl {\#include "PresetsUI.h"} {public local
- }
-
- decl {\#include "common.H"} {public local
- }
-
- class LFOUI {open : {public Fl_Osc_Group, PresetsUI_}
- } {
- Function {LFOUI(int x,int y, int w, int h, const char *label=0):Fl_Osc_Group(x,y,w,h)} {open
- } {
- code { cached_label = label; } {}
- }
- Function {~LFOUI()} {open
- } {
- code {lfoui->hide();
- hide();} {}
- }
- Function {make_window()} {open
- } {
- Fl_Window lfoui {open
- xywh {636 397 230 70} type Double color 50 labelfont 1
- class Fl_Group visible
- } {
- Fl_Group lfoparamswindow {
- label LFO open
- xywh {0 0 230 70} box UP_BOX color 223 labeltype ENGRAVED_LABEL labelsize 10 align 17
- code0 {set_module_parameters(o);}
- class Fl_Osc_Group
- } {
- Fl_Dial freq {
- label {Freq.} selected
- tooltip {LFO Frequency} xywh {5 20 30 30} box ROUND_UP_BOX labelsize 10 step 1e-05
- code0 {o->init("Pfreq");}
- class Fl_Osc_DialF
- }
- Fl_Dial intensity {
- label Depth
- tooltip {LFO Amount} xywh {40 20 30 30} box ROUND_UP_BOX labelsize 10 maximum 127 step 1
- code0 {o->init("Pintensity");}
- class Fl_Osc_Dial
- }
- Fl_Dial delay {
- label Delay
- tooltip {LFO delay} xywh {110 20 30 30} box ROUND_UP_BOX labelsize 10 maximum 127 step 1
- code0 {o->init("Pdelay");}
- class Fl_Osc_Dial
- }
- Fl_Dial startphase {
- label Start
- tooltip {LFO Startphase (leftmost is Random)} xywh {75 20 30 30} box ROUND_UP_BOX labelsize 10 maximum 127 step 1
- code0 {o->init("Pstartphase");}
- class Fl_Osc_Dial
- }
- Fl_Dial randomness {
- label {A.R.}
- tooltip {LFO Amplitude Randomness} xywh {180 7 20 20} box ROUND_UP_BOX labelsize 10 maximum 127 step 1
- code0 {o->init("Prandomness");}
- class Fl_Osc_Dial
- }
- Fl_Choice LFOtype {
- label Type
- tooltip {LFO function} xywh {180 40 45 15} down_box BORDER_BOX labelsize 10 align 2 textsize 8
- code0 {o->init("PLFOtype");}
- class Fl_Osc_Choice
- } {
- 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.}
- tooltip {Continous LFO} xywh {165 35 15 15} down_box DOWN_BOX labelsize 10 align 2
- code0 {o->init("Pcontinous");}
- class Fl_Osc_Check
- }
- Fl_Dial freqrand {
- label {F.R.}
- tooltip {LFO Frequency Randomness} xywh {205 7 20 20} box ROUND_UP_BOX labelsize 10 maximum 127 step 1
- code0 {o->init("Pfreqrand");}
- class Fl_Osc_Dial
- }
- Fl_Dial stretch {
- label {Str.}
- tooltip {LFO stretch} xywh {144 30 20 20} box ROUND_UP_BOX labelsize 10 maximum 127 step 1
- code0 {o->init("Pstretch");}
- class Fl_Osc_Dial
- }
- Fl_Button {} {
- label C
- callback {presetsui->copy(lfoparamswindow->loc());}
- xywh {145 10 15 15} box THIN_UP_BOX color 179 labelfont 1 labelsize 10 labelcolor 55
- }
- Fl_Button {} {
- label P
- callback {presetsui->paste(lfoparamswindow->loc(),this);}
- xywh {162 10 15 15} box THIN_UP_BOX color 179 labelfont 1 labelsize 10 labelcolor 55
- }
- }
- }
- }
- Function {refresh()} {open
- } {
- code {freq->update();
- intensity->update();
- startphase->update();
- delay->update();
- continous->update();
- stretch->update();
- randomness->update();
- freqrand->update();
- LFOtype->update();} {}
- }
- Function {init(Fl_Osc_Interface *osc_, std::string base_, std::string ext_)} {open
- } {
- code {base = base_;
- ext = ext_;
- osc = osc_;
-
- make_window();
- end();
-
- refresh();
-
- lfoui->resize(this->x(),this->y(),this->w(),this->h());
-
- lfoparamswindow->label(cached_label);} {}
- }
-
- decl { const char *cached_label; } { private }
- }
|