-
... nRecord; var backgroundImage; var win= Window("sCluster", winRect); win.layout= HLayout( VLayout( HLayout( glissButton= Button().states_([ [" Gliss", palette.buttonText, palette.button], ["•Gliss", palette.buttonText, palette.highlight] ]), ...
-
... ontrols| var keyDownAction; //--gui view= View(parent, bounds).layout_(VLayout( HLayout( [popup= PopUpMenu().items_( ["_"]++soundfiles.collect{|x| x.path.basename} ).canFocus_(false), \stretch: 1], readFolderButton= Button().states_([ ["fol ...
-
... tln }; w = Window("MrKov", Rect(300, 300, 500, 200)).front; w.layout = VLayout( HLayout(Slider(w).action_(f1).mouseUpAction_(f3).orientation_(\horizontal), b1 = NumberBox().value_(res)), HLayout(Slider(w).action_(f2).mouseUpAction_(f3).orie ...
-
... ; e = Button().states_([["reset"]]).action_({ ~reset.value}); ~win.layout = HLayout( VLayout(c, HLayout(*a)), VLayout(d, b), e ); a.do{ |ins, c=0| c = c+1; ins.addAction({ |sl| ~sl = sl.value; ~low = -24; ~high = 24; s ...
-
... f (randomAction.notNil) { randomAction.value; } } initializeView { mainLayout = HLayout(); this.layout = mainLayout; togglePlay= ButtonFactory.createInstance(this, class: "btn-toggle", buttonString1: "PLAY", buttonString2: "STOP") .action_( ...
-
... d_(Color.black).maxHeight_(2) ); }; controllersView.layout.add( HLayout( *(0..2).collect({arg c; var num = (3 * r + c); VLayout( HLayout( channels[num], StaticText().string_("#" ++ ( ...
-
... a simpler version of EZSlider . The difference is that LayoutValueSlider uses a HLayout to position the views. You can specify the width of the number box; the HLayout sizes the slider automatically. This means LayoutValueSlider may be used ...
-
... "resetting max to 0, was" + ~max).postln; ~max = 0;}); window.layout = VLayout(HLayout(springknob, springtext), HLayout(dampknob, damptext), HLayout(panknob, pantext), resetbutton); window.bounds = Rect(800,0,400,400); window.front; )
-
... mf.activeNames.postln.includes(but.states[0][0].asSymbol) }; }; w.view.layout = HLayout( VLayout( StaticText(w).string_("modes"), *modebuts = mf.modes.keys(Array).sort.collect { |modeName| Button(w).states_([[ modeName ], [modeName, Color.w ...
-
... line, then, is a View() (with appropriate size hints). Apply a layout (probably HLayout), add the operating views into that layout -- and then insert this parent view into the ScrollView's canvas layout. Scrolling behavior is as expected ...