-
... w.new; GUI .myText.new( w, w.view.bounds.insetBy( 20, 20 )).string_( "schoko" ).background_( Color .red ); w.front; ) If you intend to add extensions from within your own classes upon class library initialization time, the preferred way is ...
-
... adjusted: Parameter Description Default Value Music Volume Sound volume of the background music 0.4 Sound Volume Volume of the game sounds 0.3 Keyboard Volume Volume of the MIDI Keyboard notes 0.5 Chord Name Language Note language to displ ...
-
... .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 ...
-
... lling .remove on it. The empty space closes up automatically! g = { |view| view.background_(Color.rand(0.5, 0.9)) }; w = Window("scroll layout", Rect(800, 200, 500, 400)).front; v = g.value(ScrollView(w, w.view.bounds.insetBy(2, 2))); ...
-
... me).asSymbol); }; counterViews = List(); trackedCounts.do({|c| counters[c].view.background_(ServerWidgetBase.brightenColor(QtGUI.palette.window, -0.02)); counterViews.add([ counters[c].view, columns:counters[c].span ]); (counters[c].span - ...
-
... Rect( left:20, top:20, width: 300, height: 400 ),border: true); mWin.background = Color.blue(0.3,1); mWin.layout = HLayout( VLayout( StaticText().string_("Cavern_1"), Button() .states_([ ...
-
... ! n; w = Window ( "Julia set" , bounds: Rect (200, 200, xs, ys)).front; w.view.background_( Color .black); w.drawHook = { n.do { |x| n.do { |y| var z = field[x][y]; z = f.(z); field[x][y] = z; Pen .color = Color .gray(z.rho.linlin(-100, 10 ...
-
... raises a set error message, even if the behaviour is the expected one - setting background of vertices sometimes raises an error - vertex label updating (i.e. when the actant is passing) should be made optional (it sucks a lot of cpu) GeoAu ...