-
... { fltMenuWindow.close; fltMenuWindow = nil; }); }); }; canvas = View(); canvas.background_(Color.black); srcButtonArr = []; sysChans.do{|item, index| var slider, level, sliderText, levelText, hlay, thisLay, ts, finalLayout, slotsSize, panK ...
-
... n, gap ); composite.onClose = { controller.remove }; if( selected ) { composite.background = Color.yellow.alpha_(0.25); } { composite.background = Color.white.alpha_(0.25); }; views = (); views[ \select ] = SmoothButton( composite, viewHeig ...
-
... ins = 0!4; this.layout = mainLayout; numberBoxChan = NumberBox(); numberBoxChan.background = Color.white.alpha_(0.5); numberBoxChan.toolTip = "MIDI chan - note message mapping"; numberBoxChan.decimals = 0; numberBoxChan.action = {|sender| c ...
-
... addFlowLayout // you can use this instead of the above line for brevity. w.view.background = Color ( 0.6, 0.8, 0.8 ); 32.do({ arg i; // Here Button returns the button class for the current kit b = Button ( w, Rect ( rrand( 20, 300 ), rrand( ...
-
... nd are in radians [0..2pi]. Discussion: example: ( w = Window.new.front; w.view.background_(Color.white); w.drawFunc = { Pen.translate(100, 100); 10.do{ // set the Color Pen.color = Color.red(rrand(0.0, 1), rrand(0.0, 0.5)); Pen.addArc((100 ...
-
... ed FixedWidthMultiPageLayout : MultiPageLayout { *new { arg title,bounds,margin,background,scroll=true,front=true; var new; "FixedWidthMultiPageLayout is deprecated. Use ResizeHeightFlowWindow instead.".warn; new = ResizeHeightFlowWindow(ti ...
-
... ed FixedWidthMultiPageLayout : MultiPageLayout { *new { arg title,bounds,margin,background,scroll=true,front=true; var new; "FixedWidthMultiPageLayout is deprecated. Use ResizeHeightFlowWindow instead.".warn; new = ResizeHeightFlowWindow(ti ...
-
EnvScaleView { var <view,<background,<font,<drawFunc,<horzGridDist,<maxHorzGridDist,<minHorzGridDist,numVertGridLines,<gridBackgroundColor,<gridColor,<gridWidth,<showHorzAxis,<showVertAxis,<breakPointSize,<curvePointRadius,<domainMode,<minR ...
-
... elsBeforeScroll)), RedMixerChannelGUI.height+58 ), false ); win.front; win.view.background= GUI.skins.redFrik.background; win.view.layout= VLayout( HLayout( lagBox= RedNumberBox().maxHeight_(lh).maxWidth_(bw) .value_(redMixer.lag) .action_( ...
-
... , 180)); b = w.view.bounds; x = CompositeView(w, w.view.bounds.insetBy(20,20)) .background_(Color.rand) .resize_(i); y = CompositeView(x, x.bounds.moveTo(0,0).insetBy(20,20)) .background_(Color.rand) .resize_(i); y.decorator = FlowLayout(y. ...