-
... common interface that individual MKtlElements (which represent single sliders, buttons, etc) and MKtlElementGroups share. NOTE: This is an abstract class that should usually not be used directly. (Theoretically, one could use MAbstractElem ...
-
... fPos = 10@260 } { defPos = skin.margin; }; minSize = 300 @ (numItems + 1 * skin.buttonHeight + 4 + 120); } getName { ^try { object.name } ? "Republic" } accepts { |obj| ^obj.isNil ?? obj.isKindOf(Republic) } object_ { |obj| // should be use ...
-
... UI.skins.redFrik.foreground) .background_(GUI.skins.redFrik.background); } } RedButton { *new {|parent, bounds ...strings| var fnt= RedFont.new; if(strings.isEmpty, {strings= [""]}); bounds= bounds ?? {Point(strings.maxValue{|x| x.bounds(fn ...
-
... ) ); // open the score editor to see it: x.gui; // play the score (or hit play button in editor) x.prepareAndStart; // couple controller 1 (modulation wheel) on any channel to the frequency of the sine wave MIDIIn.connectAll; // needs to b ...
-
... el.action = { |el| NTMI.slots.actives[i].vol = el.value.squared; }; }; // set 4 buttons on page 1 to play/stop the 4 slots ~tos2.elAt(\bt).do { |el, i| el.elemDesc.put(\label, ("play_" ++ (i+1)).asSymbol); }; ~tos2.elAt(\bt).do { |el, i| el ...
-
... stored, then the slider will be set to the new value. When releasing the mouse button, if ALT is pressed, the slider will jump back to the stored value. The intention is to provide a 'live instrument' feel to the slider. Helpers and key mo ...
-
... his Class. (OSX only). Shows methods, arguments, variables, subclasses, and has buttons for navigating to the superclass, source, helpfile, cvs, etc. findMethod(methodName) Find the Method referred to by name. If not found, return nil. find ...
-
... uments, subclasses, instance variables and class variables. Using the browser's buttons you can easily navigate to the class' superclass, subclasses, class source, method source, helpfile (if there is one), check references or implementatio ...
-
... \sw, shared: (midiChan: 0, midiMsgType: \cc, 'spec': 'midiBut', 'elementType': \button), elements: [ (midiNum: 64, style: (row: 5, column: 0)), (midiNum: 0, style: (row: 6, column: 0)) ] ) ] ++ // the grid of pads + controls: (30, 35..65).c ...
-
... non 'gui' objects r = layout.layRight(300,300); // allocate yourself some space Button (layout.win,r) .action_({ arg butt; model.goApeShit; }); // note: NumberEditor is a cruciallib class numberEditor = NumberEditor (model.howFast,[0,100]) ...