-
... = Rect(0, 0, defaultWidth, defaultHeight); }, { bounds= bounds.asRect; }); cmp= CompositeView(parent, bounds); cmp.decorator= FlowLayout(bounds, 4@0, 4@0); numb= RedNumberBox(cmp, cmp.decorator.indentedRemaining.width@14); cmp.decorator.nex ...
-
... = Rect(0, 0, defaultWidth, defaultHeight); }, { bounds= bounds.asRect; }); cmp= CompositeView(parent, bounds); cmp.decorator= FlowLayout(bounds, 4@0, 4@0); width1= bounds.width*0.8; height1= 14; knob= RedKnob(cmp, width1@width1); cmp.decora ...
-
... ar vbounds = win.view.bounds; // a zone for the extra buttons etc var butzone = CompositeView(win, Rect(160, 0, 750, 25)).background_(Color.rand); // a userview to draw the numeric values on var uv = UserView(win, vbounds.top_(vbounds.heigh ...
-
... nits, margin, gap| var comp, header, code, io, defs; var audio, control; comp = CompositeView( composite, (composite.bounds.width - (margin.x * 2))@16 ) .resize_(2); header = StaticText( comp, comp.bounds.moveTo(0,0) ) .applySkin( RoundView ...
-
... // almost unnoticeable variations can be pleasant ( w = Window .new.front; v = CompositeView (w, Rect (50,50,300,300)); c = Color .rand; d = c.vary(0.15); v.background = Gradient (c, d, \v ); [c, d].postln ) ( var w, k, c, d, e, c1, c2, f, ...
-
... top/start button on a parent view or window parent - the parent view (window or compositeview) bounds - a rect with the button size.
-
... torOutChannels); options.monitorOutChannels.do{ arg i; var compView; compView = CompositeView(window, Rect(width: 30, height: 70) ); outlev[i] = LevelIndicator(compView, Rect(3, 0, width: 35, height: 50) ); outlev[i].warning = -2.dbamp; out ...
-
... nsert(baseIndex + 1, 15)}); }); container.onResize = { container.children.do({ |compositeView| compositeView.resizeTo(125, (container.bounds.height - 15).min(460)); }); }; } createMixerUIComponent { |orbit, container, reverbVariableName| va ...
-
... 2*scrsize+20, scrsize),false).front; win.view.background_(Color.white); scr = CompositeView.new(win,Rect(scrsize+20, 0, scrsize, scrsize)); scr.background_(Color.white); val = Slider(win, Rect(scrsize, 0, 20, scrsize)).value_(1).action_ ...
-
... lastPoint; w = GUI.window.new("Grid Designer",bounds.resizeBy(10,10)); c = GUI.compositeView.new(w,bounds); c.background = Color.new(1.0, 1.0, 1.0,alpha:0.5); grids = numCols.collect({ |ci| numRows.collect({ |ri| GUI.button.new(c, Rect( ci ...