-
GUI to generate scale- and arpeggio-like fragments in Just Intonation by jordanwhitede (jordanwhitede) Code
... numNumberBoxes.collect{ NumberBox.new }; labels0 = numLabels0.collect{ StaticText.new }; labels1 = numLabels1.collect{ StaticText.new }; menu = PopUpMenu.new; // layout buttonLayout = HLayout.new(*buttons); sliderL ...
-
... rits from: Object : EZGui EZText is a wrapper class which creates an (optional) StaticText , and a TextField . The value is displayed as a compileString in the text field for editing. Some Important Issues Regarding EZText If the parent is ...
-
... 0@0, gap ); view.resize_(5); 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 ...
-
... false; //--menus pw= win.bounds.width*0.125; po= win.bounds.width-((pw+2)*2.5); StaticText(win, Rect(po, 1, pw, 20)).align_(\center).string_("Smooth"); StaticText(win, Rect((pw+2)+po, 1, pw, 20)).align_(\center).string_("Filters"); pop1= Po ...
-
... . Here is an example of manually using the sizeHint : // Create a Window with a StaticText ( w=Window().alwaysOnTop_(true); t=StaticText(w); w.front; ) // There's no text set yet. Post the sizeHint of StaticText: t.sizeHint // Set the text, ...
-
... string.size * 5, // size of each letter around 5 pixels? 16); stringview = GUI.staticText.new(w, stringbounds) .string_(string); // toggle radio when clicked on string invButton = GUI.userView.new(w, stringbounds); invButton.background = C ...
-
... "Inputs are not used. Outputs 1/2 are hardware inputs of your interface(L/R)."; StaticText(window, Rect(10, 10, 50, 20)).string_("Inputs:"); lButton = Button(window, Rect(50, 10, 40, 20)) .focusColor_(Color.gray(alpha: 0)) .states_ ([ ["L", ...
-
... ooltipWindow.view.mouseLeaveAction = { tooltipClosable = true; }; tooltipText = StaticText(tooltipWindow, Rect(5, 2, (text.size) * 10, 16)) .string_(text) .align_(\left) .background_(Color.grey(0.9)) .font_(Font("Helvetica", 12)); SGME_GUIS ...
-
... ) { key = [ \x, \y, \time ][i]; mode = ("mode" ++ ["X", "Y", "T"][i]).asSymbol; StaticText( composite, labelWidth @ viewHeight ) .applySkin( RoundView.skin ? () ) .string_( key ++ " " ) .align_( \right ); views[ key ] = UPopUpMenu( composit ...
-
... ion_(\horizontal) .action_({ |sender| this.value = sender.value; }); unitView = StaticText(); mainLayoutView.addSpanning(labelView, row: 0, column: 0, columnSpan: 2); mainLayoutView.add(numberBoxView, row: 0, column: 2); mainLayoutView.add( ...