-
KeyDownActions { // classvar <allEditors; // classvar <viewActions; classvar <>keyCodes, <>modifiersQt, <>modifiersCocoa, <>arrowsModifiersQt, <>arrowsModifiersCocoa; classvar <>globalShortcuts, <globalShortcutsEnabled=true, globalShortcuts ...
-
... tates = [["K"]]; killer.canFocus = false; killer.action = { Server.killAll }; w.view.decorator.nextLine; servers.do{ |s| s.makeView(w) }; w.view.keyDownAction = { arg view, char, modifiers; // if any modifiers except shift key are pressed, ...
-
FileListView A GUI Listbox that navigates a filesystem. \ \ *new( parent, bounds, basePath, action, dblClickAction, types, filtered=false ) \ parent - the view's parent. \ bounds - view bounds \ basePath - initial path.\ this can be set to ...
-
... 110-1301 USA */ CVCenter { classvar <all, nextCVKey, <cvWidgets, <window, <childViews, <tabs, <prefPane, swFlow, removeButs; classvar prefPaneBounds, tabsBounds; classvar <>midiMode, <>midiResolution, <>ctrlButtonBank, <>midiMean, <>softWit ...
-
... buttons = Dictionary.new; synths = Dictionary.new; tasks = Dictionary.new; win.view.keyDownAction_{|view,char| var ch = char.toUpper.asString; var pos = this.getPos(ch); var key = notes[pos[0]][pos[1]]; if(pos.notNil){ buttons[ch].value=1; ...
-
... this.angle + 90, 100 ), this.asWFSPoint.moveAZ( this.angle - 90, 100 ) ]).asEnvViewInput(true, fromRect); path = [path[0], 1 - path[1]]; path = ( path * size ).flop .collect({ |item| item[0]@item[1] }); // points color.set; Pen.arrow( path ...
-
... _({ arg curBeat; curBeat.postln; curBeat.even.if({ (curBeat == 2).if({ a.window.view.background_( Color .red(0.9)) }, { a.window.view.background_( Color .red(0.6)) }) }, { a.window.view.background_( Color .white) }) }); a.play; // change th ...
-
... with GameOfLife Unit Library. If not, see <http://www.gnu.org/licenses/>. */ /* View that shows events of a score as rectangles with rounded corners. */ UScoreView { classvar <spaceBarPlayAnyway = false; classvar <>showGrid = true; classvar ...
-
ArrayEditView : UBasicEditView { var <>canChangeAmount = true; var <spec; var <objectBackup, <lineIndices, <lineStartEnd, <lastDrawIndex; var <>transformers; // object is an array of points *new { |parent, bounds, object, spec| ^this.newCop ...
-
... // or \toolbar classvar >allMenus; classvar <>font; classvar <>menuStripMode = \views; // or \toolbar classvar <>autoUpdateWindowsMenu = false; *initClass { if ( thisProcess.platform.name !== 'osx' ) { mode = \none; menuStripMode = \toolbar ...