-
RePost redirect posting away from the main post window. In a Republic , lots of post messages come in all the time, especially with many active participants. RePost allows redirecting debug/info posting to a special view. Note: This is not ...
-
... ; }, { mod = newMod; }) } digitalGUI { window = GUI.window.new("Digital Clock", Rect(10, 250, 450, 110)).front; timeString = GUI.staticText.new(window, Rect(0, 0, 430, 100)) .string_(cursecs.asTimeString) .font_(Font("Arial", 40)); window.o ...
-
... tate(2pi*i/n) }; ~point = 0.5@0.5; w = ScaledUserView.window( "WFSSpeakerConf", Rect( 128, 64, 400, 400 ), Rect.aboutPoint( 0@0, 2, 2 ); ); w.keepRatio = true; w.drawFunc = { var fader, crossfades, lines; Pen.addArc( ~point.asPoint * (1 @ - ...
-
... ; box = this.getBox(dp); draggingXY = x@y; b = this.getBounds(dp); outletArea = Rect.newSides( b.left, b.bottom - ioHeight, b.right,b.bottom); if(outletArea.containsPoint(x@y),{ outlets = box['outlets'] ? []; if(outlets.size > 0,{ outlet = ...
-
... rgItems,dAction,gAction,argUseDefaultFont, showArrow, noButton| bounds=bounds.asRect; name=nm; defaultAction=dAction?{}; globalAction=gAction?{}; useDefaultFont=argUseDefaultFont; arrowColor = Color.grey(0.5); noButton.booleanValue.not.if{t ...
-
... ) // use SwingOSC for proper umlauts in visualization ( var win, extX, extY, winRect, view, fontName, strings, numbers, countSpec, sizeSpec, alphaSpec, colorSpec, sFactor = 0.25; #numbers, strings = (d.flop); strings = strings.collect{|str| ...
-
... val)} //--private prMake {|parent, bounds| var cmp; if(bounds.isNil, { bounds= Rect(0, 0, defaultWidth, defaultHeight); }, { bounds= bounds.asRect; }); cmp= CompositeView(parent, bounds); cmp.decorator= FlowLayout(bounds, 4@0, 4@0); numb= ...
-
... 300, w, world, wgrav, sprs, over, n= 10; //--world w= RedWindow("soda springs", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 30, 0.8); //dim,grav,maxvel,damp //--objec ...
-
... 0, <defaultHeight= 14; //--private prMake {|parent, bounds| bounds= (bounds ?? {Rect(0, 0, defaultWidth, defaultHeight)}).asRect; ^RedNumberBox(parent, bounds); } }
-
... 8, <defaultHeight= 48; //--private prMake {|parent, bounds| bounds= (bounds ?? {Rect(0, 0, defaultWidth, defaultHeight)}).asRect; ^RedKnob(parent, bounds); } }