-
HadronCanvas { var <cWin, <cView, parentApp, <oldBounds, isHidden, <>isSelectingTarget, <>currentSource, cablePointsBucket, anchorMouseXY, draggingMouseXY, isDragSelecting, <>selectedItems; *new {|argParentApp| ^super.new.init(argParentApp) ...
-
... playing nodes, (or if none, an array containing earliest node) var n; n = nodes.select({ arg n; n.reserved.not }); (n.size > 0).if({ ^n }, { ^[ this.earliest ] }); } playingNodes { ^nodes.select(_.isPlaying) } earliest { // earliest trigger ...
-
... GeneralHID.deviceList; d[0][1].dump; GamePad.subclasses.collect(_.vendorID); d.select { |pair| var rawdev, info; #rawdev, info = pair; GamePad.subclasses.any { |cl| cl.vendorID == info.vendor } or: { rawdev .usage == "GamePad" } };
-
... is strip that hold buffers (exact tags, not substrings) bufSlots = arr2.flop[0].select({|tag| filterBuff.notNil and: { filterBuff.flop[0].includes(tag) } }); setArr = this.findTrackArr(if(type == \master, {type}, {(type ++ num).asSymbol})); ...
-
... f( { elem.bounds.width }, { nil } ); }, { elem } ); }; freeSpace = (1 - hSpaces.select({|width| width.notNil}).sum).clip(0,1); nilSize = freeSpace / hSpaces.occurrencesOf(nil); // place the widgets nextX = parX; nextY = parY; layout.do{|ele ...
-
... ination file with:\n" "Document.open(%); // or\n" "StartupFile.open(%);\n" "/// select or open startup files:\n" "StartupFile.dialog;\n" "***************************/\n\n" "StartupFile.redirectLoad(%);"; } *updateFiles { pathsDict.clear; fi ...
-
... kground_(Color.black) .hiliteColor_(Color.white) //Color.new255(155, 205, 155) .selectedStringColor_(Color.black) .stringColor_(Color.white) .focus(true) .focusColor_(Color.black.alpha_(0.0)) .resize_(5) .keyDownAction_({arg view, char, mod ...
-
... ( this.getSpecMode ) && { umapdef.numChannels == 1 }; } getUMaps { ^this.values.select( _.isUMap ) } getAllUMaps { var umaps; this.getUMaps.do({ |item| umaps = umaps.add( item ); umaps = umaps.addAll( item.getAllUMaps ); }); ^umaps; } argSp ...
-
... ( font.boldVariant ) .align_( \right ) .items_( this.class.all.keys.as( Array ).select({ |key| this.class.all[ key ].class == this.class; }).sort ) .action_({ |pu| f.defName = pu.item; }); views[ \label ].value = views[ \label ].items.index ...
-
... Level( item ); }); umaps = chain.units.collect({ |unit| (unit.getAllUMaps ? []).select({ |umap| (umap.defName === \map_control_point) && { [umap.bus_x, umap.bus_y].asInteger == outputs; } }) }).flatten(1); if( umaps.size < 2 ) { // if only ...