-
... w, world, acc, vel, loc, rep, n= 200; //--world w= RedWindow("repulsive test3", Rect(128, 64, width, height)).front; world= RedWorld(RedVector2D[width, height]); //dim,grav,maxvel,damp //--objects rep= RedObject(world, RedVector2D[width*0.5 ...
-
... ialog will fill this. addedSoundNames = []; // folderSounds = Cocoa.getPathsInDirectory("sounds/ixiquarks"); // the default sounds folder folderSounds = "sounds/ixiquarks/*".pathMatch; // the default sounds folder folderSounds = folderSound ...
-
... e; meterHeight = bounds.height; }); parent = parent ?? {FlowView(nil,bounds ?? {Rect(0,0,busses.size * (meterWidth + 4),meterHeight + 20)})}; busses.do { arg b,i; parent.comp({ arg v; this.makePeak(i,v,Rect(0,0,meterWidth,GUI.skin.buttonHei ...
-
... ts in one Array. Example: Cocoa: NSWindow *c = [[NSWindow alloc] initWithContentRect: rect styleMask: 10 backing: 2 defer:YES]; SC: c = SCNSObject("NSWindow", "initWithContentRect:styleMask:backing:defer:",[Rect(0,0,400,100), 10, 2, 1]); De ...
-
... ut.startRow; // sound file view is still broken in relative views //absBounds = Rect(0, 0, size, 80); //absBounds = absBounds.moveToPoint(layout.absoluteBounds.origin); //absBounds = absBounds.moveBy(0,layout.decorator.top); v = GUI.soundFi ...
-
... ut.startRow; // sound file view is still broken in relative views //absBounds = Rect(0, 0, size, 80); //absBounds = absBounds.moveToPoint(layout.absoluteBounds.origin); //absBounds = absBounds.moveBy(0, layout.decorator.top); v = GUI.soundF ...
-
... nt; ^Point( x.blend( that.x, blendfrac ), y.blend( that.y, blendfrac ) ); } } + Rect { blend { |that, blendfrac = 0.5| that = that.asRect; ^Rect( left.blend( that.left, blendfrac ), top.blend( that.top, blendfrac ), width.blend( that.width, ...
-
... 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 ...