From e40fc849149dd97c248866a4a1d026dda5e57b62 Mon Sep 17 00:00:00 2001 From: Robert Jonsson Date: Mon, 7 Mar 2011 19:01:11 +0000 Subject: clean3 --- .../synti/zynaddsubfx/UI/SeqUI.fl | 73 ++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 attic/muse_qt4_evolution/synti/zynaddsubfx/UI/SeqUI.fl (limited to 'attic/muse_qt4_evolution/synti/zynaddsubfx/UI/SeqUI.fl') diff --git a/attic/muse_qt4_evolution/synti/zynaddsubfx/UI/SeqUI.fl b/attic/muse_qt4_evolution/synti/zynaddsubfx/UI/SeqUI.fl new file mode 100644 index 00000000..d30c6433 --- /dev/null +++ b/attic/muse_qt4_evolution/synti/zynaddsubfx/UI/SeqUI.fl @@ -0,0 +1,73 @@ +# 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 "../globals.h"} {public +} + +decl {\#include "../Misc/Master.h"} {public +} + +decl {\#include "WidgetPDial.h"} {public +} + +class SeqUI {} { + Function {make_window()} {} { + Fl_Window seqwin { + label {Sequencer - ZynAddSubFX} + xywh {104 235 280 265} type Double hide + } { + Fl_Group {} { + label Player + xywh {120 20 100 65} box ENGRAVED_BOX labelfont 1 + } { + Fl_Button playbutton { + label Play + callback {o->deactivate(); +stopbutton_play->activate(); + +master->seq.startplay();} + tooltip {Start Playing} xywh {130 30 30 30} box DIAMOND_UP_BOX color 79 labelfont 1 labelsize 16 align 2 + } + Fl_Button stopbutton_play { + label Stop + callback {o->deactivate(); +playbutton->activate(); + +master->seq.stopplay();} + tooltip {Stop Playing} xywh {175 29 30 31} box THIN_UP_BOX color 4 labelfont 1 labelsize 16 align 2 deactivate + } + } + Fl_Button {} { + label {Open test.mid} + callback {master->seq.importmidifile("test.mid");} + xywh {20 25 75 55} align 128 + } + Fl_Value_Slider {} { + label {Play speed} + callback {master->seq.setplayspeed((int) o->value());} + xywh {15 105 190 20} type {Horz Knob} minimum -128 maximum 128 step 1 + code0 {o->value(master->seq.playspeed);} + } + Fl_Box {} { + label {This is not finished} selected + xywh {25 155 225 90} labelfont 1 labelsize 30 align 128 + } + } + } + Function {SeqUI(Master *master_)} {open + } { + code {master=master_; + +make_window();} {} + } + decl {Master *master} {} + Function {show()} {open + } { + code {seqwin->show();} {} + } +} -- cgit v1.2.3