-
... insetAll(0,0,42,0), label !? { label.asString ++ " " } ).font_( font ); views[ \button ] = SmoothButton( views[ \composite ], 40 @ (bounds.height) ) .label_( "edit" ) .font_( font ) .border_( 1 ) .radius_( 2 ) .action_({ UGlobalControlGUI() ...
-
... upArgs[\midiMean] !? { this.setMidiMean(setupArgs[\midiMean]) }; setupArgs[\ctrlButtonBank] !? { this.setCtrlButtonBank(setupArgs[\ctrlButtonBank]) }; setupArgs[\softWithin] !? { this.setSoftWithin(setupArgs[\softWithin]) }; setupArgs[\cali ...
-
... =0, my=0; ~amp = 1; TempoClock.default.tempo = 128/60; w = Window.new("buttontest",Rect(100,100,450,350)); w.view.background = Color(0.8,0.0,01); u = UserView(w, Rect(300, 200,100, 100)); u.background = Color.black; u.animate ...
-
... .if({ isPlaying.not.if({ isPlaying = true; hasGUI.if({ updateGUI.if({ {gui.startButton.value_(1)}.defer; }) }); timer.play; this.setup(recPath, timeStamp = true, hFormat, sFormat); playinit.if({ tmp = timer.next; // just in case it is accid ...
-
... ders // colours d.colWindow = Color(0.72, 0.77, 0.78); // grey-green d.colButton = Color(0.21, 0.48, 0.73); // blue d.colLabel = Color(0.97, 0.99, 1); // pale blue d.colLabelString = Color(0.03, 0.28, 0.43); // dark blue d.colHi ...
-
... is.filename.asString, Rect(200, 662, 520, 310)); // window.view.children[0] GUI.button.new(window, Rect(10, 10, 100, 20)) .states_([ ["play (space)", Color.black, Color(0.5, 0.9, 0.5, 0.5)], ["pause (space)", Color.black, Color(0.9, 0.5, 0. ...
-
... + (2.pow(2)*copy) + (red.value.round.asInteger) ); } } LPButton{//eine typische abstraktion var <>parent; var <>onFunction,<>offFunction; *new {|onFunction,offFunction| ^super.new.padinit(onFunction,offFuncti ...
-
... ttom]); w.layout = l; 10 do: { | position| l.insert(PatternBoxParamView().actionButtonDelete_({ | sender | "delete".postln; }).actionNameChanged_({ | sender | sender.keyName.postln; }).actionPatternScriptChanged_({ |sender| sender.string.po ...
-
... rgs( element ).makeView( parent, bounds ); } *initClass { makeViewFuncDict = ( 'button': { |parent, label| if( label.notNil ) { StaticText( parent, labelWidth@16 ).string_( label.asString ++ " " ).align_( \right ); }; Button( parent, if( la ...
-
... yPerform(\spec) ?? { patch.argSpecs[i] }, ctlChannel ); }; }); }); // make stop button voicer.addProcess([["Stop test", close]], \toggle); // so it's a button not a menu layout = voicer.gui.masterLayout; layout.onClose = close; // now user ...