-
... MFdef(\mainWinUpdate).enable(\imuPad); ( ~mfgui = { |mf| var w = Window(mf.cs, Rect(100, 100, 300, 200)).front; var modebuts, funcbuts; var updateFuncbuts = { funcbuts.do { |but, i| but.value = mf.activeNames.postln.includes(but.states[0][ ...
-
... mp, 0.1 rrand: 0.5 ] ) }); // show them all in a window w = Window("mass-edit", Rect(571, 101, 264, 381)).front; w.addFlowLayout; y.do(_.gui(w)); // create a mass editor z = MassEditU( y ); z.gui; // MassEditUChain // create 10 similar ucha ...
-
... new.init(parent, bounds); } init { |argParent, argBounds| argBounds=argBounds.asRect; this.view = UserView(argParent, argBounds); this.view.beginDragAction = {this.value} ; this.view.canReceiveDragHandler = {GUI.view.currentDrag.isNumber} ; ...
-
... rg layout; ClassNameLabel.newBig(model.class,layout); GUI.dragSource.new(layout,Rect(0,0,500,30)) .object_(model) .background_(Color.white) .align_(\center) .font_(GUI.font.new("Helvetica-Bold",18)); } guiBody { arg layout; var vert,list,li ...
-
... Dir+/+"images/sStream-screenshot.png"), ]; //--gui var win= Window("sLauncher", Rect.aboutPoint(Window.availableBounds.center, size/2, size/2)); win.userCanClose= false; win.layout= VLayout( StaticText().string_("Click to launch instrument. ...
-
... 65 }) }; if (window.isNil or:{ window.isClosed }, { window = Window("CVCenter", Rect(this.guix, this.guiy, this.guiwidth, this.guiheight)).alwaysOnTop_(alwaysOnTop).acceptsMouseOver_(true); if (Quarks.isInstalled("wslib") and:{ GUI.id !== \ ...
-
... !9000).clump(3); w = SCWindow .new("ScatterView Example"); v = ScatterView2 (w, Rect (10, 10, 380, 380), d); v.selectionMode = \nextNeighbour ; v.background = Color .black; w.front; ) v.selectModes.add(\abc -> ((1..100))) v.selectionMode = ...
-
... / ( //Setup GUI var nb1 = NumberBox(); var nb2 = NumberBox(); w = Window(bounds:Rect(200,200,200,100)).layout_( HLayout( StaticText().string_("In:"), nb1, StaticText().string_("Out:"), nb2 ) ); //Setup Event Network //network ENdef(\x, { va ...
-
... UIElements { var scrollCanvas; window = SCLOrkWindow.new("SCLOrkClock Monitor", Rect.new(0, 0, 400, 500) ); window.alwaysOnTop = true; window.layout = VLayout.new( clockScrollView = ScrollView.new ); scrollCanvas = View(); scrollCanvas.layo ...
-
... 0, height= 500, w, world, n= 12; //--world w= RedWindow("janus bunch - clocks", Rect(0, 64, width, height)).front; world= RedWorld3(RedVector2D[width, height], nil, inf, 0); //dim,grav,maxvel,damp //--init objects n.do{|i| var x= (sin(i/n*2 ...