-
... <mainView, <panicButton, <runButton, <controlView, <processView, // flowviews <dragSink, // you'll be dropping things in here <masterLayout, <layout, iMadeMasterLayout = false; var myModel; guify { arg lay,bounds,title, small=false; if(lay ...
-
... <mainView, <panicButton, <runButton, <controlView, <processView, // flowviews <dragSink, // you'll be dropping things in here <masterLayout, <layout, iMadeMasterLayout = false; var myModel; guify { arg lay, bounds, title, small = false; if ...
-
... iBody { arg ... args; model.performList(\guiBody,args); } writeName {} } /* GUI.dragSink.new(vl,Rect(0,0,argNameWidth,15)) .stringColor_(model.specAt(i).color).background_(model.specAt(i).background) //.background_(Color( 0.47843137254902, ...
-
... Body { arg ... args; model.performList(\guiBody, args); } writeName {} } /* GUI.dragSink.new(vl, Rect(0, 0, argNameWidth, 15)) .stringColor_(model.specAt(i).color).background_(model.specAt(i).background) //.background_(Color( 0.478431372549 ...
-
... ).front.alwaysOnTop_(true).background_(colorSet1[2]); //*** Drop Area *** drg = DragSink(win, Rect(15, 15, 700, 50)) .resize_(2) .background_(colorSet1[1]) .align_(\center) .string_("drop file here") .action_({|obj| obj.string.postln; if(ob ...
-
... ounds.extent.asArray)); w.layout = VLayout().margins_(4).spacing_(2); dropper = DragSink(w).object_("*** drop file here ***") .receiveDragHandler_ { |ds| var drag = View.currentDrag; var pathSep = Platform.pathSeparator; var filename; "*** ...
-
... mc => CC.prNew(mc.ccnum.shortName.asSymbol); }); ~midiControlFlow.startRow; GUI.dragSink.new(~midiControlFlow, 80@20).string_("reset").align_(\center) .background_(Color.new255(190, 198, 225)).stringColor_(Color.new255(191, 0, 0)) .action_( ...
-
... mc => CC.prNew(mc.ccnum.shortName.asSymbol); }); ~midiControlFlow.startRow; GUI.dragSink.new(~midiControlFlow, 80@20).string_("reset").align_(\center) .background_(Color.new255(190, 198, 225)).stringColor_(Color.new255(191, 0, 0)) .action_( ...
-
... win= Window("sFiles", winRect); win.layout= VLayout(); win.layout.add( folder= DragSink().object_("drop folder or files here") .canReceiveDragHandler_{ View.currentDrag.isString or:{View.currentDrag.isArray} } .receiveDragHandler_{ var ind ...
-
... 0); startButton.value_(0); endButton.value_(0); }) }; //*** Drop Area *** drg = DragSink(win, Rect(15, 15, 700, 50)) .resize_(2) .background_(colorSet1[1]) .align_(\center) .string_("drop file here") .action_({|obj| if(obj.string.isSoundFil ...