-
... (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 ...
-
... (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 ...
-
... 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 ...
-
... .includes(scaledValue); \ w.refresh;\ \\ \;\ vv = GUI .compositeView.new(w, b2).background_( Color .black);\ v = GUI .userView.new(vv, Rect (0, 0, w.bounds.width, w.bounds.height))\ \ .mouseMoveAction_(\ |v,x| mapVal.value(x) \)\ .mouseUpAc ...
-
... ; i.moveTo(handles[n].bounds.left + l, 0) })}); View(i,Rect(hw-hwl/2,0,hwl,vh)).background_(handle_line_color).resize_(4); i }.(View(pv,Rect(ac,0,hw,vh)).resize_(4)); ac = ac + hw })}) }.(); { var prev_size = pv.bounds.width; pv.onResize_({ ...
-
... tring++": "++score.name, Color.black, Color.clear]]) .font_( font ) .border_(1).background_(Color.grey(0.8)) .radius_(5) .canFocus_(false) .action_({ this.goToHigherScore(i); }) }; SmoothButton(scoreListView,16@16) .states_([[\up, Color.bla ...