zynaddsubfx

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

SpliterUI.fl (2291B)


      1 # data file for the Fltk User Interface Designer (fluid)
      2 version 1.0102 
      3 header_name {.h} 
      4 code_name {.cxx}
      5 decl {//Copyright (c) 2002-2003 Nasca Octavian Paul} {selected
      6 } 
      7 
      8 decl {//License: GNU GPL 2} {} 
      9 
     10 decl {\#include <stdlib.h>} {public
     11 } 
     12 
     13 decl {\#include "Spliter.h"} {public
     14 } 
     15 
     16 class SpliterUI {} {
     17   Function {make_window()} {open
     18   } {
     19     Fl_Window spliteruiwindow {
     20       label {Midi Spliter}
     21       callback {o->hide();
     22 exit(0);}
     23       xywh {225 187 375 72} hide
     24     } {
     25       Fl_Counter {} {
     26         label {Split note}
     27         callback {spliter->Psplitpoint=(int) o->value();}
     28         xywh {93 27 114 24} labelsize 12 align 5 minimum 0 maximum 127 step 1 value 60 textfont 1 textsize 16
     29         code0 {o->value(spliter->Psplitpoint);}
     30         code1 {o->lstep(12);}
     31       }
     32       Fl_Counter {} {
     33         label {Input Channel}
     34         callback {spliter->Pchin=(int) o->value();}
     35         xywh {6 30 69 18} type Simple labelsize 10 align 5 minimum 0 maximum 15 step 1 textfont 1
     36         code0 {o->value(spliter->Pchin);}
     37       }
     38       Fl_Counter {} {
     39         label {Output Channel 1}
     40         callback {spliter->Pchout1=(int) o->value();}
     41         xywh {285 18 69 18} type Simple labelsize 10 align 5 minimum 0 maximum 15 step 1 textfont 1
     42         code0 {o->value(spliter->Pchout1);}
     43       }
     44       Fl_Counter {} {
     45         label {Output Channel 2}
     46         callback {spliter->Pchout2=(int) o->value();}
     47         xywh {285 36 69 18} type Simple labelsize 10 align 6 minimum 0 maximum 15 step 1 textfont 1
     48         code0 {o->value(spliter->Pchout2);}
     49       }
     50       Fl_Counter {} {
     51         label {Tr.1(oct.)}
     52         callback {spliter->Poct1=(int) o->value();}
     53         tooltip {Transpose (octaves)} xywh {225 18 48 18} type Simple labelsize 10 align 5 minimum -8 maximum 8 step 1 textfont 1
     54         code0 {o->value(spliter->Poct1);}
     55       }
     56       Fl_Counter {} {
     57         label {Tr.2(oct.)}
     58         callback {spliter->Poct2=(int) o->value();}
     59         tooltip {Transpose (octaves)} xywh {225 36 48 18} type Simple labelsize 10 align 6 minimum -8 maximum 8 step 1 textfont 1
     60         code0 {o->value(spliter->Poct2);}
     61       }
     62     }
     63   }
     64   Function {SpliterUI(Spliter *spliter_)} {} {
     65     code {spliter=spliter_;
     66 make_window();
     67 spliteruiwindow->show();} {}
     68   }
     69   decl {Spliter *spliter;} {}
     70 }