-
//redFrik 2012 ( var width= 640, height= 360, num= 200; var win= Window("red00", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var physics, anchor, springs; usr.background= Color.red; physi ...
-
//redFrik 2012 ( var width= 640, height= 360, num= 10; var win= Window("red01", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var physics, anchor, springs; usr.background= Color.red; physic ...
-
... "; name = "- player -"; s = server ? Server.default; xiigui = nil; // not using window server class here point = if(setting.isNil, {XiiWindowLocation.new(name)}, {setting[1]}); params = if(setting.isNil, {[0, 0, sounds[0]]}, {setting[2]}); ...
-
/* \poll An UMap that posts incoming values in the 'post' window. The value itself is passed through unchanged. value: the value to be posted trigger: a trigger causes the value to be posted onChange: when true, the value will be posted whe ...
-
/* \poll An UMap that posts incoming values in the 'post' window. The value itself is passed through unchanged. value: the value to be posted trigger: a trigger causes the value to be posted onChange: when true, the value will be posted whe ...
-
... nds); } initRedraw {|bounds| bounds= bounds ?? {Rect(300, 300, 500, 500)}; win= Window("redraw", bounds, false); userView= UserView(win, Rect(0, 0, bounds.width, bounds.height)); userView.clearOnRefresh= false; userView.mouseDownAction= {|v ...
-
... Task { }.play should go into a Tdef, like: // TdefAllGui.new; //// or use Butz window shortcut: Butz.run('Tdef.all'); Tdef(\tink); // -> shows up on gui! Tdef(\tink, { loop { (instrument: \glisson).play; 1.wait; }; }); //////// better than ...
-
... onoChList = XiiACDropDownChannels.getMonoChnList; point = if(setting.isNil, {XiiWindowLocation.new(name)}, {setting[1]}); xiigui = nil; // not using window server class here params = if(setting.isNil, {[0,0,1]}, {setting[2]}); bgColor = Col ...
-
... is.stop; //also clean up resources in the future here this.view !? { {this.view.window.notNil.if({this.view.window.close}, {this.view.view.close})}.defer; } } close { this.free; } update {arg who, what ...args; var value = args[0]; // args[ ...
-
... asSymbol}; } *toFront {|name, file| var w; if(name.notNil and:{name!='_'}, { w= Window.allWindows.detect{|x| x.name.asSymbol==name.asSymbol}; file= file??{name++".scd"}; //load file with same name if not given if(w.isNil, { case {File.exist ...