-
... ", Rect(200, 300, 400, 30 * module.numCells + 100)); var l = VLayout(); var h = HLayout(l); var xsl = Set[], ysl = Set[]; var sliders, twod; var update = { |index, val| sliders[index].value = val; module.theta[index] = val * 2 - 1; module.t ...
-
... (modifiedState) { mainText = "¿Desea guardar el patch actual?"; buttonLayout = HLayout( discardButton = Button().states_([["Descartar", Color.black, Color.white]]).action_({ // Acción para descartar cambios y salir "Descartando cambios y s ...
-
... GridLayout(); mainLayout.margins = 0!4; this.layout = mainLayout; stepsLayout = HLayout(); stepsLayout.margins = 0!4; stepsLayout.spacing = 2; mainLayout.addSpanning(stepsLayout, 0, 0, columnSpan: 2); popupMode = PopUpMenu(); popupMode.tool ...
-
... olTip = "Press CMD + drag to move this item to another position."; mainLayout = HLayout(); mainLayout.margins = [5, 5, 20, 5]; this.layout = mainLayout; this.setContextMenuActions( MenuAction("Insert parameter before", { if (actionInsertPat ...
-
... or_picker_view.background_( Color.black ); color_picker_view.layout_( VLayout( [HLayout( [helper, stretch: 1], [sv_slider, stretch: 3]), stretch: 3], [v_slider, stretch: 1], [hex_text_field, stretch: 1] ), ); color_picker_view.addUniqueMeth ...
-
... (char == $ ) { Tdef(\u).play } { ~start.trunc.post; ",".postln; } }; w.layout = HLayout(sl); ) // e.g. put in a pseq for later on. ( Pseq([ 610, 805, 986, 298, 841, ], inf); ) // patterns // using Pwavesets, we can use wavesets in event pat ...
-
... gn_(\center) .string_("You pressed " ++ modStr ++ (code bitAnd: 0xFF).asAscii), HLayout( nil, Button().states_([["Apply and Save"]]).action_({ hotkeyCode = code; hotkeyMods = mod; this.write; window.close; }).minWidth_("Apply and Save".boun ...
-
... w().fixedHeight_(24) .background_(Color.gray(0.6)) // debugging ; view.layout = HLayout( deleteButton = Button().states_([["X", Color.white, Color.red(0.4)]]) .fixedSize_(Size(16, 16)), nameView = StaticText().string_(name).fixedWidth_(120) ...
-
... tion); children.do({|i,k| this.panes[k].layout_(i.isKindOf(Layout).if( { i }, { HLayout(i).spacing_(0).margins_(0) }))})} asView { ^(view ?? container) } horizontal { var pv = container, hw = handle_size, hwl = handle_line_size, vw = (pv.bo ...
-
... d = Color(0.45490196078431, 0.55686274509804, 0.87843137254902); headerLayout = HLayout(); headerLayout.margins = [5, 10, 20, 10]; headerView.layout = headerLayout; mainLayout.add(headerView); dragBothPanel = DragBoth(); dragBothPanel.maxWi ...