-
... e it conveniently on the screen if the bounds are a Point . If the bounds are a Rect , then the Rect determines the window bounds. bounds An instance of Rect or Point . Default value is 160@20 . label The label. Default value is nil . If ni ...
-
... (0.cylBesselI(pi*a)); } }, \lanczos : { |a| { |x| ((2*x - 1)*pi).sincPi; } }, \rect : { |a| { 1; } }, \tukey : { |a| { |x| if(x < (a/2), { 0.5*(1 + ((2*x/a) - 1 ).cosPi); }, if(x > (1 - (a/2)), { 0.5*(1 + ((2*x/a) - (2/a) + 1).cosPi); }, { ...
-
... string_(st) }; q.button = Button().states_([[0],[1]]); q.window = Window(bounds:Rect(200,200,200,100)).layout_( VLayout( HLayout( *q.knobs ), HLayout( *q.numboxes ), HLayout( *q.texts ), q.button ) ).front; q.synths = [ { |freq=400| Pan2.ar ...
-
... Builder" }) }, gui: { arg layout; var l; l = layout ?? {PageLayout(~name.value, Rect(0, 0, 500, 600))}; ActionButton(l, "EDIT" + (~name.value), { ~source.gui }.inEnvir); ~patch.inputs.do { arg inp, i; ArgNameLabel( ~patch.argNameAt(i), l.st ...
-
... in.gap.y; if(w.isClosed.not) { { isNew.if({ // if new, assign origin w.bounds = Rect.new(5, 5, hSize + (2*skin.gap.x), vSize+20); }, { // if old, keep existing origin w.bounds = Rect.new(w.bounds.left, w.bounds.top, hSize + (2*skin.gap.x), ...
-
... in.gap.y; if(w.isClosed.not) { { isNew.if({ // if new, assign origin w.bounds = Rect.new(5, 5, hSize + (2*skin.gap.x), vSize+20); }, { // if old, keep existing origin w.bounds = Rect.new(w.bounds.left, w.bounds.top, hSize + (2*skin.gap.x), ...
-
... emplate into your document. ( will also match classnames, with the .new method: Rect( will show you a method template for Rect-*new. . -- attempt to match the preceding identifier to an exact class name, and present a list of class methods ...
-
... tUIElements; } prConstructUIElements { window = SCLOrkWindow.new("SCLOrkCDTUI", Rect.new(0, 0, 800, 600)); window.layout = VLayout.new(); window.onClose = { this.free; }; window.front; } prDiagCallback { |time, diag| AppClock.sched(0, { var ...
-
... a row by row basis. b = Cluster ([ Point (6,3), Point (2,5)]); Cluster .applyN( Rect ( _ , _ ,100,300),a,b) //if one of the arguments to applyN is a Cluster with less items than one of the other Cluster objects than it just uses it's first ...
-
... in, 73, \rmbusout, 83]), ]; s.sync; //--world w= RedWindow("agents test tekno", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.9); //dim,grav,maxvel,damp //--objec ...