-
... ht 2024 Carlos Arturo Guerra Parra <carlosarturoguerra@gmail.com> */ MessageRedirector { classvar instance, synthiGME, <window, textView, storedText; *initClass { instance = nil; window = nil; textView = nil; storedText = ""; // Inicializar ...
-
... , <pxEdit, <watcher; *new { ^super.new.init; } init { w = SCWindow("ImpactGui", Rect(100, 100, 520, 540)).front; w.view.decorator_(FlowLayout(w.view.bounds)); txview = SCTextView(w,Rect(0,0, 510, 330)) .hasVerticalScroller_(true) .autohides ...
-
... asedata.copy; i = SCImage .new(windowx@windowy); w = SCWindow .new( "SCImage" , Rect (0, 100, windowx+10, windowy+10)).front; w.onClose_({ t.stop; i.free; }); // free the image when the window is closed userview = SCUserView (w, w.view.boun ...
-
... 2.ar(z, pan)); }).add; s.sync; //--world w= RedWindow("springs interconnected", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0]; //world xy gravity world= RedWorld2(RedVector2D[width, height], wgrav, 99, 0); //dim,grav,maxvel, ...
-
... 2.ar(z, pan)); }).add; s.sync; //--world w= RedWindow("springs interconnected", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0]; //world xy gravity world= RedWorld2(RedVector2D[width, height], wgrav, 99, 0); //dim,grav,maxvel, ...
-
... older { *initClass { Class.initClassTree(GUI); } makeView { arg layout,x,y; var rect; if((layout.isNil or: { layout.isKindOf(PageLayout) }),{ layout = layout.asFlowView; }); this.view = GUI.button.new(layout,Rect(0,0,x,y ? GUI.skin.buttonHe ...
-
... der { *initClass { Class.initClassTree(GUI); } makeView { arg layout, x, y; var rect; if((layout.isNil or: { layout.isKindOf(PageLayout) }), { layout = layout.asFlowView; }); this.view = GUI.button.new(layout, Rect(0, 0, x, y ? GUI.skin.but ...
-
... o( Point(index + margin, view.bounds.height - margin) ); Pen.stroke; }); Pen.addRect( Rect( margin / 2 + (view.bounds.width - (margin * 2)) * v_slider_position + margin, margin / 2, margin, view.bounds.height - margin ) ); Pen.fillAxialGrad ...
-
... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window .new.front; a = HrButton (w, Rect (20, 60, 150, 20)).states_([["1"], ["2"]]); a.action = { a.value.postl ...
-
... instance of GameLoopVisualiser".error;} ); } init{ if (bounds.isNil, { bounds = Rect(GUI.window.screenBounds.width*0.5, GUI.window.screenBounds.height*0.5, width, height); } ); instance = this; CmdPeriod.add({this.clear}); this.initCameraRo ...