-
... },(layout.bounds.width-254)@layout.bounds.height); },layout.indentedRemaining) .background_(Color(0.83582089552239, 0.83582089552239, 0.83582089552239)); Updater(Instr,{ this.init }).removeOnClose(layout); } init { instrs = Instr.leaves; if ...
-
... (layout.bounds.width-254)@layout.bounds.height); }, layout.indentedRemaining) .background_(Color(0.83582089552239, 0.83582089552239, 0.83582089552239)); Updater(Instr, { this.init }).removeOnClose(layout); } init { instrs = Instr.leaves; i ...
-
... = Window("bmp", Rect(300, 300, a.width*scale, a.height*scale), false); win.view.background= Color.red; a.data= a.data.reverse; //mess with the image pixel data win.drawFunc= { Pen.smoothing= true; a.data.do{|c, i| Pen.fillColor= Color(c.blu ...
-
... (5); usr = UserView(zone, zone.bounds.moveTo(0,0).insetBy(2,2)).resize_(5); usr.background = Color.grey(0.5); usr.animate_(true); usr.drawFunc = { |usr| if (object.notNil) { Pen.fillColor = Color.green; Pen.stringAtPoint("Click a name to mo ...
-
... (5); usr = UserView(zone, zone.bounds.moveTo(0,0).insetBy(2,2)).resize_(5); usr.background = Color.grey(0.5); usr.animate_(true); usr.drawFunc = { |usr| if (object.notNil) { Pen.fillColor = Color.green; Pen.stringAtPoint("Click a name to mo ...
-
... raw.uv = UserView(q.draw.win, q.draw.win.bounds.extent.asRect).front; q.draw.uv.background = Color.black; q.draw.uv.resize_(5); // make the window slightly transparent // tell it to always render 30 fraes per second q.draw.uv.frameRate = 20 ...
-
... adRadius * 0.6) - halfWidth); Pen.push; Pen.translate(halfWidth, halfWidth); // background circle Pen.strokeColor = midGrey; Pen.width = fieldSize * 0.15; Pen.addOval(Rect.aboutPoint(Point(0,0), rhoToLength*1.3, rhoToLength*1.3)); Pen.strok ...
-
... adRadius * 0.6) - halfWidth); Pen.push; Pen.translate(halfWidth, halfWidth); // background circle Pen.strokeColor = midGrey; Pen.width = fieldSize * 0.15; Pen.addOval(Rect.aboutPoint(Point(0,0), rhoToLength*1.3, rhoToLength*1.3)); Pen.strok ...
-
... ling - Sequential, Multiple Files", Rect(50, 50, 600, 560), false).front; win.background = Color.grey(0.1, 0.9); win.onClose = { player.stop }; // Sub view to group all sliders subwin = CompositeView.new(win, Rect(20, 220, 560, ...
-
... s.moveTo(0,0)); vlv1 = VLayoutView(hlv, Rect.new(0,0, 100, hlv.bounds.height)) .background_(Color.green.alpha_(0.2)); vlv2 = VLayoutView(hlv, Rect.new(0,0, 410, hlv.bounds.height)); Button(vlv1, Rect(0,0,100, 30)).states_([["UPDATE"]]) .act ...