-
... Field .gradFieldF; g.doSomething; // explanation g.cleanUpMethod; asSCImageUni (rect, hsize, res, contrast, color, t) Short prose description of method. rect - Explanation of rect. Default value is nil. Other information. hsize - Explanatio ...
-
... rg/licenses/>. */ UChainEventView : UEventView { var <fadeAreaHeight; ifIsInsideRect{ |mousePos, yesAction, noAction| if(rect.containsPoint(mousePos)) { yesAction.value; } { noAction.value; } } ifIsInResizeFrontArea{ |mousePos, fadeInAreaBi ...
-
... unds. bounds.isNil.if{ bounds = w.asView.bounds.moveTo(0,0); }; bounds=bounds.asRect; // allows you to use a Point for the bounds. ( \TabbedViewView.asClass.notNil && (GUI.id == \qt) ).if{ view = TabbedViewView(w,bounds).resize_(resize); }{ ...
-
... SatCol = Color.red(1, 0.4); satCol = Color.red(1, 0.6); swapXYFunc = { |bounds, rect| var newtop = bounds.height - rect.left; Rect(rect.top, newtop, rect.height, rect.width.neg); }; } *new { |parent, bounds| ^super.new.init(parent, bounds); ...
-
... ^if( states.size == 1 ) { states[0][0] } { states.collect(_[0]) } } draw { var rect, localRadius; var shadeSide, lightSide; rect = this.drawBounds; radius = radius ?? { rect.width.min( rect.height ) / 2 }; /* if( this.hasFocus ) // rounded ...
-
... w.signalc_( signal ).init; } init{ window = Window.new( "data characteristics", Rect( 0,0, 900, 300 ), scroll: false ); window.addFlowLayout( 0@0, 0@0 ); subwin = CompositeView.new( window, Rect( 0,0,300, 300 ) ); subwin.addFlowLayout( 2@2, ...
-
/* \point_in_rect Creates an UMap for testing if a point is inside or outside a rectangle. point: the point center: the center of the rect area radius: the radius of the rect area inValue: the value to return when the point is inside the re ...
-
... padExtent; var <> strokeWidth; var <>manta, <>selected, <>navigateIdx; var fac, rects; *new{|parent, extent, manta| ^super.new.initGUI(parent, extent, manta) } initGUI {|argParent, argExtent, argManta| manta = argManta; parent = argParent; ...
-
... nit { |xpos,ypos| var decorator; w = w ?? { w = GUI.window.new("SW OSC client", Rect(xposScreen, yposScreen, xsize, ysize )).front; w.view.decorator = FlowLayout(Rect(0, 0, xsize, ysize), 2@2, 2@2); decorator = w.view.decorator; w; }; if ( ...
-
... utton4.enabled_( onoff.not ); } init{ w = Window.new( "SenseWorld DataNetwork", Rect( 0, 130, 400, 150 ) ); w.view.decorator = FlowLayout.new( Rect( 0, 0, 400, 100), 5@5, 5@5 ); button1 = Button.new( w, Rect( 0, 0, 190, 80)).states_( [["Vie ...