-
... tion_({|sl| Tdef(instrument).set(\x, sl.x); Tdef(instrument).set(\y, sl.y); }); StaticText(w, Rect(200, 20 + (180*num), 100, 20)).string = instrument; StaticText(w, Rect(200, 60 + (180*num), 150, 20)).string = "density"; Slider(w, Rect(200, ...
-
... Nil ) { labelWidth = (RoundView.skin ? ()).labelWidth ? 80; vws[ \labelView ] = StaticText( vws[ \view ], labelWidth @ bounds.height ) .string_( label.asString ++ " " ) .align_( \right ) .resize_( 4 ) .applySkin( RoundView.skin ); } { label ...
-
... w.view.decorator = f = FlowLayout(w.view.bounds,Point(4,4),Point(4,2)); t = GUI.staticText.new(w, Rect(0, 0, 75, height+2)); t.string = "RefGain: "; v[0] = GUI.staticText.new(w, Rect(0, 0, 30, height+2)); s[0] = GUI.slider.new(w, Rect(0, 0, ...
-
... nd_( Color.gray(1).alpha_(0.125) ) .resize_(8); footer.addFlowLayout(0@0, 2@2); StaticText( firstColumn, columnWidth @ 14 ) .applySkin( RoundView.skin ) .string_( " options" ) .background_( Color.gray(0.8).alpha_(0.5) ); optionsView = WFSOp ...
-
... ; menu.resizeToFit; g = { arg view,f, indent=0; var oldColor,x; f.startRow; GUI.staticText.new(f,(25*indent)@17).background_(Color.clear); if(view.respondsTo(\background),{ if(view.isKindOf(SCViewHolder),{ oldColor = view.background; },{ ol ...
-
... | var w = Window("Warning: %".format(title)).front.alwaysOnTop_(true); var tv = StaticText(w, w.view.bounds); tv.background_(Color(1, 0.75)); tv.align_(\center); w.alpha_(0.9); tv.string_(string).font_(Font("Arial", 24)); w }; /* q.warnWin( ...
-
... r)).last, xyz2Elements[i].addView(Slider().orientation_(\vertical)), ) } ) ) ), StaticText().string_("Input Recorder"), //TODO HLayout( Button().states_([["Record"]]), Button().states_([["Play"]]), PopUpMenu().items_(["_"]), ), infoTextElem ...
-
... binaryValue].value; }) .stringColor_(Color.black) .background_(Color.clear); /* StaticText(window, Rect(95, 30, 55, 18)) .string_( "MIDIIn port: " ) .font_( font ); */ clientConnectInButton = Button(window, 61@18) .states_([[ "Connect" ], [ ...
-
... n.tryPerform( \at, \font ) ?? { Font( Font.defaultSansFace, 12) }).boldVariant; StaticText( header, labelWidth @ viewHeight ) .applySkin( RoundView.skin ) //.font_( boldFont ) .string_( unit.unitArgName.asString ) .align_( \right ); StaticT ...
-
... Nil ) { labelWidth = (RoundView.skin ? ()).labelWidth ? 80; vws[ \labelView ] = StaticText( vws[ \view ], labelWidth @ 14 ) .string_( label.asString ++ " " ) .align_( \right ) .resize_( 4 ) .applySkin( RoundView.skin ); } { labelWidth = -4; ...