-
... ; width= 120; height= 140; if(parent.isNil, { parent= Window(redMix.class.name, Rect(position.x, position.y, width, height), false); win= parent; win.alpha= GUI.skins.redFrik.unfocus; win.front; CmdPeriod.doOnce({this.close}); }); ^View(par ...
-
... ef ( \a ), options: [ \playN ]) // bounds MonitorGui .new( Ndef ( \a ), bounds: Rect (100, 100, 400, 30), options: [ \playN ]) MonitorGui .new( Ndef ( \a ), bounds: 400@24, options: [ \playN ]) // level name and numerical value MonitorGui . ...
-
... anslate: Point(1/3, 2/3)); //--world w= RedWindow("lsystem grow discrete test", Rect(128, 64, width, height)).front; (startGeneration-1).do{lsys.next}; commands= ( $F: {|length, theta, noise| Pen.line(Point(0, 0), Point(0, length)); Pen.str ...
-
... anslate: Point(1/3, 2/3)); //--world w= RedWindow("lsystem grow discrete test", Rect(128, 64, width, height)).front; (startGeneration-1).do{lsys.next}; commands= ( $F: {|length, theta, noise| Pen.line(Point(0, 0), Point(0, length)); Pen.str ...
-
... racker"; }; if( parent.class == String ) { parent = Window( parent, bounds ?? { Rect(128 rrand: 256, 64 rrand: 128, 400, 400) }, scroll: false ).front; this.makeViews( bounds ); this.makeCurrent; } { this.makeViews( bounds ); this.makeCurre ...
-
... in, 73, \rmbusout, 83]), ]; s.sync; //--world w= RedWindow("agents test tekno", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 8, 0.1); //dim,grav,maxvel,damp //--objects ...
-
... in, 73, \rmbusout, 83]), ]; s.sync; //--world w= RedWindow("agents test tekno", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld(RedVector2D[width, height], wgrav, 8, 0.1); //dim,grav,maxvel,damp //--objects ...
-
... es you want move = 0, window, slider; window = Window .new( "Mouse Transport" , Rect (5, 100, 500, 50)); slider = Slider .new(window, Rect (5, 5, 490, 20)) .action_({ |view| move = (view.value * 4 - 2).round; }) .value_(0.5); window.front; ...
-
... the best way to structure GUI code. IMO, Model-View-Controller (when done correctly) gives you the most flexibility while avoiding common bugs. But it's hard to wrap your head around it first. So, here's a quick example using NodeProxies ...
-
... each server in the UServerCenter, so that all currently active units get the correct settings. */ UGlobalEQ { classvar <eqSetting; classvar <>ctrl; classvar <>view; classvar <>presets; *initClass { Class.initClassTree(EQSetting); this.eqSet ...