-
... ed.not.if({ // if window is not closed, update... drawer.refresh; if(GUI.id == \swing, {win.refresh;}); }) }.defer; } start { running = true; playerTask = Task({ inf.do({ arg i; drawList.do({ |object| object.update; }); frameFunc.value; // ...
-
... s an editor, including GUI facilities. However, you can also use the GUI server SwingOSC, and may choose to use another editor (such as scel, scvim, or PsyCollider). On Windows most users use PsyCollider or JSCEclipse and use the SwingOSC G ...
-
... dget.mouseMoveAction.isNil.if{ this.refreshMouseMoveHandler; }; (context.name==\SwingGUI).if{clickCount=clickCount-1}; (clickCount.booleanValue && rightClickDetach.value(this)).if{ this.detachTab; }{ tempedges = tabbedView.followEdges; clic ...
-
... dget.mouseMoveAction.isNil.if{ this.refreshMouseMoveHandler; }; (context.name==\SwingGUI).if{clickCount=clickCount-1}; (clickCount.booleanValue && rightClickDetach.value(this)).if{ this.detachTab; }{ tempedges = tabbedView.followEdges; clic ...
-
... v.value.postln; }); w.front; }; ) GUI .cocoa; // select cocoa gui f.value; GUI .swing; // select swing gui f.value; // GUI skins // default skin // GUI.skins.knob.default = ( // scale: Color.black.alpha_(0.3), // dial: Color.black.alpha_(0. ...
-
... n that button opens an editing dialog: ~test.playNDialog; // needs testing with SwingOSC. ~test.out_(0); // the pause button pauses and resumes ~test.pause; ~test.resume; // snd button re-sends proxy's sound as compiled, ~test.send; // or w ...
-
... dow dynamcially with Pen ( var w, much = 0.02, string, synth; w = Window .new( "swing" , Rect (100, 100, 300, 500)).front; w.view.background_( Color .new255(153, 255, 102).vary); string = "swing " .dup(24).join; w.drawHook = Routine { var i ...
-
// abstract // SC/Qt/Swing all use this SCButtonAdapter : SCViewHolder { *initClass { Class.initClassTree(GUI); } makeView { arg layout,x,y; var rect; if((layout.isNil or: { layout.isKindOf(PageLayout) }),{ layout = layout.asFlowView; }); t ...
-
// abstract // SC/Qt/Swing all use this SCButtonAdapter : SCViewHolder { *initClass { Class.initClassTree(GUI); } makeView { arg layout, x, y; var rect; if((layout.isNil or: { layout.isKindOf(PageLayout) }), { layout = layout.asFlowView; }) ...
-
... DownAction_ ({|...args| parentPlugin.parentApp.isDirty = true; //args.postln; //swingosc has different mouse button and keymod bindings if(GUI.id == \swing, { args[4].switch( 1, { args[4] = 0; }, 3, { args[4] = 1; }); //button bindings args ...