-
... llGui(12).moveTo(540, 600); // customize post window Document.listener .bounds_(Rect(500, 2, 600, 270)) .background_(Color.blue(0.2)) .stringColor_(Color.yellow); Document.postColor_(Color.yellow); Shout.rect = Rect(10, 10, 1000, 80); // us ...
-
... , 10); // Pen.font_(Font("", 12)); zone.resize_(5); nameView = StaticText(zone, Rect(0,0, 50, 20)) .font_(font).string_("weights"); inNameView = UserView(zone, Rect(0,0, 200, 20)) .resize_(2); // elastic horiz inNameView.drawFunc = { |u| in ...
-
... , 10); // Pen.font_(Font("", 12)); zone.resize_(5); nameView = StaticText(zone, Rect(0,0, 50, 20)) .font_(font).string_("weights"); inNameView = UserView(zone, Rect(0,0, 200, 20)) .resize_(2); // elastic horiz inNameView.drawFunc = { |u| in ...
-
... s, n, skip); } plot {|width= 400, height= 400| var win= Window(this.class.name, Rect(100, 200, width, height)); var img= Image.color(width, height, Color.white); var color= Color.black; var w2= width*0.5, h2= height*0.5; matrices2= matrices ...
-
... | initValues[i] ? 0 }!nC; window = SCWindow(nC.asString ++ " x " ++ windowName, Rect(windowOffset.x, windowOffset.y, (nC * 40) + 30, windowH), false); this.midiRecorder = MIDIEventRecorder.arm.isRunning_( false ); busMessage = { |chan, val| ...
-
... textViewDescription, textViewExample, textViewCredits, textViewTags; var windowRect, updateButton, previewButton, installButton, hackButton; var winWidth, winHeight, rawPath = path; winWidth = 815; winHeight = 653; path = PathName(path); w ...
-
... y) }); } initInstances // graphical elements of GUI { // set classvars XiiSlicerRect.canvasBounds = canvas.bounds; XiiSlicerRect.players = Ref(players); // as ref! XiiSlicerDisplay.win = win; //set classvar XiiSlicerDisplay.canvasBounds = c ...
-
... ZSlider(w, 300@20, \freq, \freq); AutoRand(e, e.controlSpec, 0.2).makeButton(w, Rect(0,0,20,20)); f = EZSlider(w, 300@20, \freq, \freq); a = AutoMod(f, { |amod, val| (val * rrand(0.9, 1.1)).postln; }, 0.2).makeButton(w, Rect(0,0,20,20)); b ...
-
... ems { |lineWidth, height| zone.decorator.nextLine; resetScaleBut = Button(zone, Rect(0,0,lineWidth * 0.2,height)) .font_(font) .states_([[\rsScale]]) .action_({ |but| object.resetLoop }); zone.decorator.shift(5, 0); rescaledBut = Button(zon ...
-
... /redFrik 2012 ( var width= 640, height= 360, num= 100; var win= Window("red02", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var physics, anchor, springs; usr.background= Color.red; physic ...