-
... ld : RedWorld1 { //default with walls var <>friction; var time, <>stepFreq; var window; var <>rDiff, <>aziDiff, <>eleDiff; var <>viewDiff; var <renderAddresses; var <numObjects=0; var objectsID; var worldView; var <sweetSpotSize=2; var <max ...
-
... iqueID, argExtraArgs, bounds, numIns, numOuts, argCanvasXY).init; } init { outerWindow.acceptsMouseOver = true; curPresets = Dictionary.new; canvasItems = List.new; isRefreshing = false; helpString = "Cmd (ctrl) + drag presets to surface. R ...
-
... *select { var w, selectButtons; var onCol = Color.green; this.updateFiles; w = Window.new( name: "Select startup file:", bounds: Rect.aboutPoint(Window.screenBounds.center, 100, 100) ); selectButtons = this.fileNames.collect { |name| var c ...
-
... dPeriodDelay,{scope.run; phaseScope.run})}; CmdPeriod.add(restartScopesFunc); //WINDOW window .onClose_({ scope.free; phaseScope.free; meter.free; freq.kill; CmdPeriod.remove(restartScopesFunc); //If you don't remove this function from CmdP ...
-
... oredList { *boundsAround { |loc, winSize, flip = true| var rect; loc = loc ?? { Window.screenBounds.center }; rect = Rect.aboutPoint(loc, winSize.x * 0.5, winSize.y * 0.5); if (flip) { rect = Window.flipY(rect) }; ^rect } storeDialog { |nam ...
-
( w = Window().front; w.layout = VLayout().spacing_(2) ); x = 3.collect { JITView(nil, w).label_(\otto) }; x.do(_.number); 3.do { EZSlider(w, nil, \test) }; w.view.removeAll; // not working yet, Layout does not accept // composite guis like ...
-
( w = Window().front; w.layout = VLayout().spacing_(2) ); x = 3.collect { JITView(nil, w).label_(\otto) }; x.do(_.number); 3.do { EZSlider(w, nil, \test) }; w.view.removeAll; // not working yet, Layout does not accept // composite guis like ...
-
... t(Font.defaultSansFace, 10); onColor = onColor ? Color.new255(74, 120, 74); if (window.notNil, { ^window.front }); if(w.isNil,{ w = window = GUI.window.new(name.asString ++ " server", Rect(10, named.values.indexOf(this) * 120 + 10, 320, 92) ...
-
TestSCHLayoutView : UnitTest { test_elasticBackground { var q,w,h; q = 10; w = Window.new("background should be elastic when you resize the window"); h = HLayoutView(w,Rect(0,0,300,300)); h.background = Color.red(alpha:0.1); h.resize = 5; / ...
-
... ks // wslib 2009 MasterEQ { classvar <>eq; // dict with all variables classvar <window; classvar <>prefsPath; *initClass { prefsPath = Platform.userAppSupportDir +/+ "eq-prefs.txt"; } *new { |numCha = (2), server| if( \TabbedView.asClass.no ...