-
... ndow(border:false); w.view.layout_( VLayout( WindowHandleView().minHeight_(20), StaticText().string_("Here's a window."), StaticText().string_("You can drag it using the handle above."), Button().states_([["Close"]]).action_({ w.close }), n ...
-
... | 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; ...
-
... onCloseAction.(); }); view.layout_( VLayout( HLayout( VLayout( filenameString = StaticText() .font_(Font("Arial", 14)) .background_(skin.background) .stringColor_(skin.string) .align_(\center) .visible_(parent.notNil) , View() .fixedHeight_ ...
-
... )) ); gsv.view.layout = VLayout().spacing_(3).margins_(5); gsv.view.layout.add( StaticText().font_(font.copy.bold_(true)) .fixedHeight_(26) .string_("[%] %".format(group.nodeId, groupName)) .mouseUpAction_({ |v| gsv.folded = gsv.folded.not; ...
-
... utton, panknob, pantext, newbounds; window = Window.new(server:s); damptext = StaticText.new(); damptext.string = "damping\n"; dampknob = Knob.new(window); dampknob.mode = \vert; dampknob.action = { |knob| var value = 100.pow(knob ...
-
... width, height)).front; var scp= ScopeView(win, Rect(0, 0, width, scpsHeight)); StaticText(win, Rect(0, scpsHeight, 50, 20)).string_(""++binSize.round(0.1)); Array.geom(10, 1, 1.05).normalize.linlin(0, 1, 0.075, 0.9).do{|x| StaticText(win, ...