-
+ Rect { max { |aRect| aRect = aRect.asRect; #left, top, width, height = this.asArray.max( aRect.asArray ); } min { |aRect| aRect = aRect.asRect; #left, top, width, height = this.asArray.min( aRect.asArray ); } translate { |deltaPoint| delt ...
-
... lastVal, // softVol_ and softVol_ which knows lastVol: ( w = Window("softVol", Rect(500, 200, 400, 240)).front; w.view.addFlowLayout; NdefGui(Ndef(\test), 2, w); // same for volume - not too safe EZSlider(w, 340@30, \softVol, \amp, { |sl| ...
-
... , EZSlider , EZNumber , EZRanger , EZKnob Description Users will not normally directly create instances of EZGui, but only use it through its subclasses. It provides the basic mechanisms for various EZ widget wrappers. It also provides a st ...
-
... tutorial helpful for other GUI kits than Cocoa, as most information in it is correct for all the kits. This is a short tutorial on how to make a custom view class by subclassing SCUserView. It is assumed that you know how to write classes i ...
-
... { (Platform.resourceDir +/+ "../..").openOS } }; }; window = Window("Snippets", Rect.aboutPoint(Window.screenBounds.center, 120, 90)); window.layout = VLayout( textField = TextField().fixedHeight_(20), listView = ListView() ); textField.act ...
-
... this.ugenFunc.scope(duration) } doFreqScope { var w,f; w = Window("Freq Scope", Rect(0, 0, 511, 300)); f = FreqScopeView(w, w.view.bounds); w.onClose_({ f.kill }); w.front; } doStop { arg stopFunc; stopFunc.value; ugenFunc.stop; Notificatio ...
-
... 'press' , 10016.0] ]; // the Example Data send Button q.button = Button (q.win, Rect (20,20,390,60)) .states_([ [ "Example Data" ] ]); q.button.action_({ arg butt; q.data[q.counter].postln; NetAddr .localAddr.sendMsg( "/weather" , *q.data[q ...
-
... his.ugenFunc.scope(duration) } doFreqScope { var w, f; w = Window("Freq Scope", Rect(0, 0, 511, 300)); f = FreqScopeView(w, w.view.bounds); w.onClose_({ f.kill }); w.front; } doStop { arg stopFunc; stopFunc.value; ugenFunc.stop; Notificatio ...
-
... + 0.2).asInteger; var slotNames = q.ndefs.collect(_.key); var w = Window(name, Rect(g.bounds.width - 800, g.bounds.height - 650, 780, min(800, maxHeight - 20)) ).front; ("slotSounds Gui maxNumSlots: " + maxNumSlots).postln; w.addFlowLayout ...
-
... new Create a new instance Arguments: bounds Bounds of the window. A default of Rect(0,0,512,805) will be used if not specified. . tabLabel This symbol provides the display name of the tab. Inherited class methods Instance Methods . window ...