-
... 75)) .background = Color.new255(190, 190, 190); ~pap = StaticText(~papa, Rect(10, 3, 325, 26)) .string = "PAPA"; ~pap.background = Color.new255(190, 190, 190); ~pap.align = \center; ~pap.font = ...
-
... = [["Global Update", Color.white, Color.grey]]; updateButton.canFocus = false; StaticText(window, Rect(width: 277 , height: 40)); previewButton = Button(window, Rect(width: 128, height: 40) ); previewButton.states = [["Preview", Color.whit ...
-
... UI.skins.redFrik.foreground) .background_(GUI.skins.redFrik.background); } } RedStaticText { *new {|parent, bounds, string| var fnt= RedFont.new; string= string ?? {""}; string= string.asString; bounds= bounds ?? {string.bounds(fnt)}; ^Stat ...
-
... w.addFlowLayout( 0@0, gap ); if( label.notNil ) { if( hasParent ) { labelView = StaticText( view, bounds.width @ labelHeight ) .string_( label ); bounds.height = bounds.height - ( labelHeight + gap.y ); } { view.parent.findWindow.name = lab ...
-
... .decorator.shift( header.decorator.indentedRemaining.width - (189 + size), 0 ); StaticText( header, 30@size ).string_( "snap:" ).font_( font ).align_( \right ) .resize_(3); PopUpMenu( header, 55@size ) .items_( [ "off", "cf", "0.001", "0.01 ...
-
... t( \blend, { views[ \blend ].value = f.blend } ); composite.decorator.nextLine; StaticText( composite, labelWidth @ viewHeight ) .applySkin( RoundView.skin ? () ) .string_( "mode" ) .align_( \right ); views[ \mode ] = PopUpMenu( composite, ...
-
... oise"]; q.numboxes = 4.collect{ NumberBox() }; q.texts = q.labels.collect{ |st| StaticText().string_(st) }; q.button = Button().states_([[0],[1]]); q.window = Window(bounds:Rect(200,200,200,100)).layout_( VLayout( HLayout( *q.knobs ), HLayo ...
-
... ; } /* DEFINE PRESET UI */ createUI { | container | container.layout = VLayout( StaticText.new.string_("Preset").fixedHeight_(15).align_(\center), /*Button.new.states_([["Mute All", Color.black, Color.white], ["Unmute All", Color.white, Col ...
-
... oise"]; q.numboxes = 4.collect{ NumberBox() }; q.texts = q.labels.collect{ |st| StaticText().string_(st) }; q.button = Button().states_([[0],[1]]); q.window = Window(bounds:Rect(200,200,200,100)).layout_( VLayout( HLayout( *q.knobs ), HLayo ...
-
... .action_({ control.qwertyButton(this); }).font_(Colliding.symbolFont); msgBox = StaticText(w, Rect(905, 220, 620, 40)) .stringColor_(Color.black) .background_(Color.gray); }); this.post("ready"); } post{|str| msgBox.string_(str); } }