-
... ow about var myModel; guiBody { arg lay; lay.startRow; leftFlow = FlowView(lay, Rect(0, 0, model.numChannels * 13 + 10, 210), margin: 2@2); multiSl = GUI.multiSliderView.new(leftFlow, Rect(0, 0, model.numChannels * 13 + 2, 200)); rightFlow ...
-
... 'trigVal', [trig]); }).add; w = Window.new("amplitude threshold tester", Rect(600, 250, 950, 220)).front; w.view.background_(Color.gray(0.75)); w.onClose_({s.freeAll}); ~numberBox = NumberBox.new(w, Rect(180, 25, 450, 120)) ...
-
... w your button. Should return a window or a view for other functions to work correctly. launcherBounds: The bounds for the launcher window showPositionButton: true/false - display position button. This is used for setting up the posi ...
-
... Methods . new Create an ActionMenu Arguments: parent The parent view. bounds A Rect name The Menu Button Title items An Array of Strings or Associations (\key->function) showArrow show a little down-tick arrow, defaults to true Returns: an ...
-
... y(1), Color.gray(0.6), Color.gray(0.8), ]; q.win = Window.new("FM Matrix", Rect(100, 100, (q.numOscs+5) * colWidth, 800)).front; q.win.addFlowLayout; /////////// INDEXES StaticText(q.win, Rect(10, 10, q.numOscs * (colWidth + 5) + ...
-
... minorRadius= 0.667; var majorRadius= 1; w = Window("spinning doughnut", Rect(128, 64, width, height), false) .front; u = Canvas3D(w, Rect(0, 0, width, height)); u.add(Canvas3DItem() .paths_( Array.fill(segments+1, {|i| ...
-
... 2; var boxWidth= 190, boxHeight= 60; var gap= 6; var win= Window("EaseGallery", Rect(100, 100, width, height), false).front; var usr= UserView(win, Rect(0, 0, width, height)); var drawBox= {|pos, class ...arguments| var rect= Rect(0, 0, box ...
-
... e by millimeters. ( n = NB ( "points2millimeters" , "120 * mm" , "80 * mm" ); n.rect(10, 10, 100, 100); n.print( \WIDTH ); n.print( \HEIGHT ); n.displayCode // And then command-r in NodeBox to render ) /* ----- ----- ----- ----- */ /* ----- ...
-
... From superclass: View Arguments: parent The parent view. bounds An instance of Rect , or a Point indicating width@height . Discussion: Example: ( w = Window.new("The Four Noble Truths"); b = Button(w, Rect(20, 20, 340, 30)) .states_([ ["th ...
-
... Methods . new Create a new canvas view. Arguments: parent Parent View bounds A Rect describing the position and size of this view inside the parent. Returns: A new Canvas3D instance. Matrix transforms The following methods are used to crea ...