-
// wslib 2010 // a CompositeView with a triangle button which can expand itself to a larger size // automatically re-flows parent view if a decorator is present // TODO: add correct resize_ behaviour /* ( w = Window( "ExpandView", Rect(128, ...
-
... t; main.frontText.string = text.asString.postln; }; }; main.leftCol = leftCol = CompositeView(w, leftColRect); main.midRightCol = midRightCol = CompositeView(w, midRightColRect); main.rightCol = rightCol = CompositeView(w, rightColRect); ma ...
-
... [ UMapSetChecker( unit, { mapSetAction.value( this ) } ) ]; }; mainComposite = CompositeView( parent, bounds ).resize_(2); userView = UserView( mainComposite, bounds.moveTo(0,0) ).resize_(2); userView.drawFunc = { |vw| Pen.width = 1; Pen.f ...
-
... one.decorator.gap_(4@4); zone.resize_(1).background_(Color.grey(0.7)); arZone = CompositeView(zone, Rect(0, 0, arZoneWidth, sizes[\mid].y )) .background_(skin.foreground); arZone.addFlowLayout(skin.margin, skin.gap); krZone = CompositeView( ...
-
... tree.argNames; var editorNames = tree.branchNames; var comp, makeEditor; comp = CompositeView(w, Rect(4,4, 98, 700)) .background_(Color.gray(0.9)); comp .decorator_(FlowLayout(comp.bounds, gap * 2, gap * 2)); name = inName; Button(comp, Rec ...
-
... id + wiimote.address ) // .align_(0); //.background_(labelColor); cueview = GUI.compositeView.new( w, Rect( 5, 30, 205, 130 )); // rm = WiiRemoteGUI.new( rmview, wiimote, 30 ); // sliderview = GUI.compositeView.new( w, Rect( 5, 160, 205, 10 ...
-
... top on a vertical gradient. Examples // basic usage ( w= Window .new.front; v= CompositeView (w, Rect (50,50,200,50)); v.background= HiliteGradient ( Color .gray, Color .white); ) // change direction and resolution ( w= Window .new.front; ...
-
... se [TabbedView2](https://github.com/jmuxfeldt/TabbedView2) instead. an array of CompositeViews (or ScrollViews) with tabs for switching
-
... Rect(10, 310, 450, 500)).background_(Color.gray(0.7)); var settingsContainer = CompositeView(window, Rect(0, 0, 135, 500)).background_(Color.gray(0.85)); var midiContainer = CompositeView(window, Rect(0, 0, 135, 500)).background_(Color.gra ...
-
... ; }.defer } } makeScoreListView{ var listSize = scoreList.size; scoreListView = CompositeView(mainComposite,Rect(0,0,4 + ((60+4)*(listSize-1)) + 20,24)); scoreListView.addFlowLayout; scoreList[..(listSize-2)].do{ |score,i| SmoothButton(scor ...