-
... ble, can set properties for buf // receives buf as arg, should return new buf <>view, // will be guiable <>name, // see asString <>properties; // to assign to new buffers *new { arg clock, chan, ccnum; ^super.new.init(clock, chan, ccnum) } ...
-
... ble, can set properties for buf // receives buf as arg, should return new buf <>view, // will be guiable <>name, // see asString <>properties; // to assign to new buffers *new { arg clock, chan, ccnum; ^super.new.init(clock, chan, ccnum) } ...
-
+View { updateOnClose { |should=true| if (should) { ViewActionUpdater.enable(this, \onClose, \isClosed, \closed); } { ViewActionUpdater.disable(this, \onClose, \isClosed, \closed); } } updateOnAction { |should=true, property=\value| if (sho ...
-
// UnitTestScript("ServerView", thisProcess.nowExecutingPath).runScript; { |test| var win; ServerView(\ServerViewUnitTest).front; 0.1.wait; test.assert(ServerView(\ServerViewUnitTest).window.notNil, "Made a window."); test.assert(ServerView ...
-
KeyDownActionsEditor : KeyDownActions { classvar all, <cachedScrollViewSC; var <window, <tmpShortcuts, <shortcutFields, <shortcutTexts, <funcFields, <editAreas, <editButs; *initClass { all = List.new; } *new { |parent, name, bounds, shortcu ...
-
... idgetEditor { var <specConstraintsText, <calibNumBoxes; var editorSlot; var cTabView3; *new { |widget, tab, slot| ^super.new.init(widget, tab, slot) } init { |widget, tab, slot| var cvString, slotHiLo; var staticTextFont, staticTextColor, t ...
-
UMarkerEventView : UEventView { classvar <>showLabels = true; classvar <>showIndices = false; classvar <>useShortName = true; // first word only checkSelectionStatus { |selectionRect,shiftDown, minWidth, maxWidth| //this.createRect(minWidth ...
-
TestFlowView : ViewTester { test_startRow { var f,g,a,b,c; f = FlowView.new(w); a = Slider(f,Rect(0,0,100,100)); b = Slider(f,Rect(0,0,100,100)); f.startRow; c = Slider(f,Rect(0,0,100,100)); this.assert( a.bounds.left < b.bounds.left,"b sho ...
-
... assvar <>modal = true; var <string, <buttons, <>actions, <color, <iconName, iconView, stringView, <buttonViews; var <window, <>onCloseIndex = -1; var <>buttonClosesWindow = true; string_ { |newString = ""| string = newString; if( window.not ...
-
... { (18 * lines)-5 }, { 18 }) }; linebreak = " "; }); buildCheckbox = { |active, view, props, font| var cBox; if(GUI.id === \cocoa, { cBox = Button(view, props) .states_([ ["", Color.white, Color.white], ["X", Color.black, Color.white], ]) . ...