-
... ScopeView (w, Rect (10,10,380,380)); // this is SCScope c.bufnum = f.bufnum; v= CompositeView (w, Rect (400,10,380,380)).background_( Color .rand(0.7)); v.decorator = n = FlowLayout (v.bounds, margin: 0@0, gap: 5@5); a = StaticText (v, Rect ...
-
... s a new row if there is not enough space left for the next view. SCWindow and SCCompositeView both have addFlowLayout methods which assign FlowLayout to their view decorators and return the decorator. See also: SCContainerView , CompositeVi ...
-
... oor, patchHeight * (index % numChannels) , patchWidth, patchHeight) }; // The SCCompositeView compview = GUI.compositeView.new(win, Rect(xoff, yoff, width, height )).relativeOrigin_(true).resize_(5); // Now let's create the actual patches o ...
-
... ws = (); marginH = 2; marginV = 2; size = bounds.height - (2*marginV); header = CompositeView( parent, bounds ); RoundView.pushSkin( UChainGUI.skin ); header.addFlowLayout(marginH@marginV); header.resize_(2); SmoothButton( header, size@size ...
-
... his class encapsulates the common task of creating a Window, adding a FlowView (CompositeView with a FlowLayout on it). It also supports the MVC model by registering controllers that are then removed (sent the .remove message) when the Wind ...
-
... rs[i]) ; }); tabs.tabViews.do({ |tab| tab.view.hasBorder_(false) }); tabView0 = CompositeView( tabs.views[0].view, Point(tabs.views[0].view.bounds.width, tabs.views[0].view.bounds.height) ); tabView1 = CompositeView( tabs.views[1].view, Poi ...
-
... t; }; parentView = parent.asView; parentView.background_(background); topZone = CompositeView(parent, Rect(0,0, bounds.width, 30)); topZone.addFlowLayout; #startBtn, stopBtn = [ \start, \stop ].collect { |name, i| Button(topZone, Rect(i * ( ...
-
... ludes(i) ); }); } makeViews { |bounds| var margin = 0@0, gap = 4@4; composite = CompositeView( parent, bounds.asRect.copy.moveTo(0,0) ).resize_(5); composite.addFlowLayout( margin, gap ); composite.onClose = { |vw| controller.remove; onClos ...
-
... m superclass: JITGui the bounds of the -zone . zone From superclass: JITGui the CompositeView within which the PdefGui is shown . nameBut From superclass: TaskProxyGui . playBut From superclass: TaskProxyGui . pauseBut From superclass: Task ...
-
... VZone.isNil or: { NTMI.g.main.leftMVZone.isClosed }) { NTMI.g.main.leftMVZone = CompositeView(nil, Rect(158.0, 258.0, 300, 400)).front; SkipJack(NTMI.g.main[\updateSlots], 0.2, { NTMI.g.main.leftMVZone.isClosed }, \slotGuis); }; NTMI.g.addM ...