-
... Name(name, sliderPriority, playerPriority); window = GUI.window.new(windowName, Rect(rrand(xPosMin, xPosMax), rrand(yPosMin, yPosMax), totalWidth, 80), resizable: false).front; window.onClose_({ #window, playerSection, colors, varCtrColorPa ...
-
... EZPopUpMenu(p, 200@50, "*", q.allSoundNames, {|mo| mo.postln}, i), PopUpMenu(p, Rect(0, 0, 180, 50)), Slider() .orientation_(\horizontal) .maxHeight_(150) ] } ! 4; q.sliders = sliders; try{ g.mainstage.close}; w = Window("NTMI.1", Rect.abou ...
-
... .main.mainVolZone.isClosed }) { // make a test window var w = Window("mainVol", Rect(0, 0, 394.0, 79.0)).front; g.main.mainVolZone = w.view; }; g.main.mainSl = MView( 0.5, NTMI.g.main.mainVolZone, NTMI.g.main.mainVolZone.bounds.extent.asRec ...
-
... *play(task) Calls to the cocoa framework (including all GUI) may not be made directly from actions triggered by SystemClock or incoming socket messages (OSCresponder). To get around this, use { }.defer This will execute the function using ...
-
... space (effectively its "frequency"). Larger values will make the noise change direction more times in each cycle. oct How many octaves of noise to sum. This provides more random "detail". Useful range is generally from 1 to 8. Adding more o ...
-
... ctrl3; if( parent.isNil ) { parent = this.class.asString; bounds = bounds ?? { Rect( 190 rrand: 220, 70 rrand: 100, (420 + (editWidth + 4)), 516 ) }; } { bounds = parent.asView.bounds; }; RoundView.pushSkin( UChainGUI.skin ); view = EZComp ...
-
... ouchPad.gui; w = MultiTouchPad.guiWin; u = w.view.children.first; StaticText(w, Rect( 0, 0, 400, 100)) .stringColor_(Color.grey(0, 0.5)) .string_( "// shortcut keys for MultiTouchPad.guiWin: // m to maximise window // x to set window t0 nor ...
-
... ouchPad.gui; w = MultiTouchPad.guiWin; u = w.view.children.first; StaticText(w, Rect( 0, 0, 400, 100)) .stringColor_(Color.grey(0, 0.5)) .string_( "// shortcut keys for MultiTouchPad.guiWin: // m to maximise window // x to set window t0 nor ...
-
... #[0.8, 0.2], inf ) ), player, window; window = Window .new( "Pattern trigger" , Rect (5, 100, 150, 100)) // onClose is fairly important // without it, closing the window could leave the pattern playing .onClose_({ player.stop }); Button .ne ...
-
... skin ); } { labelWidth = 0; }; vws[ \buttonView ] = SmoothButton( vws[ \view ], Rect( labelWidth + 2, 0, 60, bounds.height ) ) .label_( [ "new", "edit" ] ) .hiliteColor_( nil ) .action_({ |bt| var bounds; if( vws[ \val ].isNil ) { vws[ \val ...