-
... nRecord; var backgroundImage; var win= Window("sFormant", winRect); win.layout= HLayout( VLayout( //--amplitude control section StaticText().string_("Amplitude control"), VLayout( HLayout( StaticText().string_("AmpHi").fixedWidth_(50), [amp ...
-
w = Window().front; w.layout = VLayout( HLayout( MultiSliderView().elasticMode_(1) .minSize_(Size(120, 200)).maxSize_(Size(180, 300)).indexIsHorizontal_(false).value_({ 1.0.rand } ! 17), UserView().minSize_(Size(200, 200)).maxSize_(Size(300 ...
-
... ow("sInstruments menu", winRect); win.userCanClose= false; win.layout= VLayout( HLayout( StaticText().string_("sInstruments: "++SInstruments.version), nil, (preferencesButton= SGUIsettings()).view ) ); win.layout.add(StaticText().string_("C ...
-
... Window(); a.layout = v = VLayout(); a.front; fork({ 10.do { v.add(h = HLayout()); 20.rand.do { h.add(Slider()); 0.1.wait; }; 1.wait; }; }, AppClock) ) ( a = Window(); a.layout = v = VLayout(); a.front; fork ...
-
... tutorial about? Setup Connecting the button Adding several buttons at once How HLayout and VLayout works Back to connecting the slider Adapting the Slider to the correct value (mapping) Adding text, and specifying views ratios Conclusion T ...
-
... op, frequenciesSendBut; var win= Window("sText", winRect); win.layout= VLayout( HLayout( StaticText().string_("Presets:"), [presetsPop= PopUpMenu(), stretch:1] ), HLayout( StaticText().string_("Amplitudes:"), amplitudesTypePop= PopUpMenu(). ...
-
... trolSpec(-1, 1, 'lin', 0, -1); var controllers= List.new; view.layout= VLayout( HLayout( inA= RedNumberBox().maxWidth_(bw).maxHeight_(lh), RedStaticText(nil, nil, "inA ("++redMix.def.metadata.info.inA++")").maxHeight_(lh) ), HLayout( inB= R ...
-
... class of layouts that distribute views in a line Source: QLayout.sc Subclasses: HLayout , QLineLayout , VLayout See also: HLayout , VLayout , GridLayout , StackLayout , Layout Management Description This is an abstract superclass of HLayout ...
-
... layout= VLayout(*[ //--effect inserts numInserts.collect{|i| var popup, button; HLayout( popup= RedPopUpMenu() .items_(["_inserts_"]++RedEffectModule.subclasses.collect{|x| x.name}), button= RedButton(nil, nil, "o", "o").maxWidth_(bw) .acti ...
-
... "++p) }.enOut; })).start; ) // is down ( t = StaticText(); w = Window().layout_(HLayout(t)).front; ENdef(\x,{ var pos = w.view.enMouseIsDown; pos.collect{ |b| IO{ t.string_("mouse is down: "++b) } }.enOut; }).start; ) //track mouse position ...