-
... s, labelStringColors, tabView0, tabView1, flow0, flow1; var thisFocus, tmp; var staticTextFont = Font(Font.available("Arial") ? Font.defaultSansFace, 10); var staticTextColor = Color(0.2, 0.2, 0.2); if(focus.isNil, { thisFocus = 0 }, { this ...
-
... -4); keys.do { |key| var possibleValues = choices[key], slider; allViews[key] = StaticText(comp, Rect(0,0, labelWidth, height)) .background_(Color.grey(0.9)) .font_(font) .align_(\center) .string_(" " ++ key); if(key == \synthDef) {allViews ...
-
... runtask }, { this.stopruntask }) }) .font_(font) .resize_(3) .canFocus_(false); StaticText(window, Rect(545, 42, paramW, 16)) .font_(font) .resize_(3) .string_("BusIn"); NumberBox(window, Rect(545, 60, paramW, 16)) .font_(font) .resize_(3) ...
-
... false; //--menus pw= win.bounds.width*0.125; po= win.bounds.width-((pw+2)*3.5); StaticText(win, Rect(po, 1, pw, 20)).align_(\center).string_("Theme"); StaticText(win, Rect((pw+2)+po, 1, pw, 20)).align_(\center).string_("Smooth"); StaticText ...
-
... ; views[ cat ].button.background = nil; views[ cat ].addFlowLayout( 0@0, 4@4 ); StaticText( views[ cat ], (bounds.width - (18 + scrollerMargin + 6))@18 ) .string_( " " ++ cat.asString ) .applySkin( RoundView.skin ? () ); udefs.do({ |udef| v ...
-
... ; views[ cat ].button.background = nil; views[ cat ].addFlowLayout( 0@0, 4@4 ); StaticText( views[ cat ], (bounds.width - (18 + scrollerMargin + 6))@18 ) .string_( " " ++ cat.asString ) .applySkin( RoundView.skin ? () ); udefs.do({ |udef| v ...
-
... er", Rect.new(x, y, yStep*11.5, wi)) ; runnerArray.do({ arg runner, index ; GUI.staticText.new(w, Rect(0, index*yStep, yStep*2, yStep)) .string_(" "+runner.name.asString) ; GUI.button.new(w, Rect(yStep*2, index*yStep, yStep, yStep)) .states ...
-
... .window.asHSV[2] > 0.5) {-0.5} {0.3}; view = View().layout_(VLayout( heading = (StaticText() .string_(name) .font_(font) .stringColor_(Color.grey) .align_(\center) ), number = (StaticText() .font_(font.boldVariant.size_(font.size + 2)) .str ...
-
... }; }; }; //--menus pw= win.bounds.width*0.144; po= win.bounds.width-((pw+2)*3); StaticText(win, Rect(po, 1, pw, 20)).align_(\center).string_("Vert Scale"); StaticText(win, Rect((pw+2)+po, 1, pw, 20)).align_(\center).string_("Window"); Stati ...
-
... var vw_array = []; view.decorator = FlowLayout( view.bounds.moveTo(0,0) ); GUI.staticText.new( view, 35@14 ).font_( eq[ \font ] ).align_( \right ).string_( "freq:" ); vw_array = vw_array.add( NumberBox( view, 40@14 ).font_( eq[ \font ] ).v ...