-
... .size-str.indexOf($.)-1; ^str.extend(str.size+numDecimals-num, $0); } *shrink {|staticTextView| ^staticTextView.fixedWidth= staticTextView.string.bounds(font).width+2; } *adapt {|win| win.view.palette= currentPalette; win.view.allChildren.d ...
-
... pSkewX = skewX; tempTransX = translateX; this.layout_( VLayout( HLayout( rTxt = StaticText().string_("Rotation") .mouseDownAction_({ |txt| var cur; cur = rotationView.visible; if (cur) { txt.stringColor_(offCol); this.skewX_(tempSkewX); thi ...
-
... dth) .layout_(layout) ; // the chain ID of this transform, e.g. "A3" labelTxt = StaticText().string_("id") .stringColor_(Color.hsv( *sfView.idTxtColor.asHSV.put(0, (sfView.idTxtColor.asHSV[0] + (initChainDex * sfView.colorStep)).fold(0, 1)) ...
-
... ( {network.osc.makeHiveGui} ).font_( GUI.font.new( "Helvetica", 16)); // spacer StaticText.new( w, Rect( 0, 0, 190, 20)); StaticText.new( w, Rect( 0, 0, 190, 20)).string_( [ NetAddr.myIP, NetAddr.langPort ].asString ).font_( GUI.font.new( " ...
-
... |x| x.asString[0] == char }; i !? { p.value = i } } } ); update.value; }; iv = StaticText(w).maxWidth_(40); dv = StaticText(w).maxWidth_(100); v = SoundFileView(w); p = PopUpMenu(w); p.items = names = ~dirt.buffers.keys.asArray.sort; p.act ...
-
... ts != localEvents ) { this.rebuild; }; }); composite.onClose_({ ctrl.remove }); StaticText( composite, 50@viewHeight ).string_( "startBeat:" ).font_( font ); startBeatView = SmoothNumberBox( composite, 50@viewHeight ) .value_( barMap.startB ...
-
... ts != localEvents ) { this.rebuild; }; }); composite.onClose_({ ctrl.remove }); StaticText( composite, 50@viewHeight ).string_( "startBeat:" ).font_( font ); startBeatView = SmoothNumberBox( composite, 50@viewHeight ) .value_( barMap.startB ...
-
... tringColor_(Color(1, 1, 1)) .bounds_(Rect(50, 50, 300, 800)) ; clockField = GUI.staticText.new(w, Rect(5,5, 415, 30)) .align_(\center) .stringColor_(Color(1.0, 0.0, 0.0)) .background_(Color(0,0,0)) .font_(GUI.font.new("Optima", 24)) ; r = T ...
-
... ut(); layout.add(nil); layout.add(VLayout(indicator)); layout.add(VLayout(StaticText().string_("0.0dB"), nil, StaticText().string_((maxReduc/2.0).asString ++ "dB"), nil, StaticText().string_((1.0*maxReduc).asString ++ "dB") )); la ...
-
... = GridLayout.rows( [ "Slot 1", "Slot 2", "Slot 3", "Slot 4" ].collect { |name| StaticText(w, ).string_(name).align_(\center) }, *gridlines = NTMI.mkmix.mktls.collect { |mktl, i| 4.collect { |j| var left = (100 * j), top = (40 * i); var mv ...