-
... ETab Extension A tab for use with MiniIDE. This class is not meant to be used directly and should always be subclassed. Location: NOT INSTALLED! See also: MiniIDE Description This is a tab for use with MiniIDE. This class is not meant to be ...
-
... 3); }); ) //UI controls ( var sf; var w,offset, activity; w = SCWindow("panel", Rect.new(200,200,230,130)); offset=DDSlider( w, Rect.new(0,0,200,40), "offset", 0.0, 1.0, 'linear', 0.01, 0.0); activity=DDSlider( w, Rect.new(0,50,200,40), "ac ...
-
... e it conveniently on the screen if the bounds are a Point . If the bounds are a Rect , then the Rect determines the window bounds. bounds An instance of Rect or Point . Default value is 160@20 . Make certain to choose bounds that are large ...
-
... 5.linrand*#[-1, 1].choose}.dup(n); var boxes; //--world w= RedWindow("3Dboxes", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.01]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.01); //--objects {|i| var loc= RedVe ...
-
... up(n), speeds= {|i| 1/100}.dup(n); var lines; //--world w= RedWindow("3Dlines", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.01); //--objects {|i| var loc= RedVecto ...
-
... k=ExternalClock(2.3).play; w = SCWindow("BBCPPermute demo N.M.Collins 5/08/05", Rect(100, 100, 200, 100)); rotate= SCSlider(w, Rect(0,0,100,30), "rotation"); invert= SCButton(w, Rect(0,50,100,30), "invert"); invert.states= [["invert"],["rev ...
-
... t; } ); ⧉ ✔ // using spec for sliders: ( var w, c, d; w = Window.new("control", Rect(128, 64, 340, 160)); w.front; c = Slider.new(w, Rect(10, 10, 300, 30)); d = StaticText.new(w, Rect(10, 40, 300, 30)); c.action = { d.string = "unmapped val ...
-
//spinning planes / rectangles ( var width= 640, height= 480, w, wgrav, world, n= 100, thetas= 0.dup(n), speeds= {|i| i+1/10000}.dup(n); var planes; //--world w= RedWindow("3Dplanes", Rect(128, 64, width, height)).front; wgrav= RedVector2D[ ...
-
... e it conveniently on the screen if the bounds are a Point . If the bounds are a Rect , then the Rect determines the window bounds. bounds An instance of Rect or Point . Default value is 160@20 . label The label. Default value is nil . If ni ...
-
... f some objects every now and then. ( d = (a: 12, b: 24); d.win = Window("dict", Rect(0, 0, 200, 60)).front; d.views = [\a, \b].collect { |name, i| StaticText(d.win, Rect(i * 100, 0, 96, 20)) .background_(Color.yellow).align_(0).string_(name ...