-
... ite = CompositeView(container, Rect(710, 5, 540, container.bounds.height - 15)).background_(Color.grey(0.85)); var compressorFeedback = CompositeView.new.fixedHeight_(height).fixedWidth_(width).background_(Color.grey(0.95)); var gainReducti ...
-
... lPosition hasSelection enterInterpretsSelection setFontFamily zoom editable pageBackgroundColor Actions onAudioMutedChanged onRecentlyAudibleChanged onContentsSizeChanged onScrollPositionChanged onSelectionChanged onJavaScriptMsg onLinkHove ...
-
... draggable points pts = this.getPoints( bounds ); ////// DRAWING /////// // draw background Pen.color_( Color.white.alpha_(0.25) ); Pen.roundedRect( bounds, 2 ).fill; // make cliprect Pen.roundedRect( bounds.insetBy(0,0), 2 ).clip; // draw g ...
-
... "DMX Control", Rect(xposScreen, yposScreen, xsize + 10, ysize)).front; //w.view.background_(Color.black); w.view.decorator = FlowLayout(Rect(4, 4, w.bounds.width, w.bounds.height), 2@2, 2@2); w; }; // unclutter the windows on the screen: yp ...
-
... ance methods Examples w= RedWindow.new.front; w.resize(RedVector2D[200, 200]) w.background= Color.red w.draw{Pen.fillColor= Color.black; Pen.fillOval(Rect.aboutPoint(Point(175.rand, 175.rand), 50, 50))} w.play //start drawing w.stop ( //mou ...
-
... ositeView( comp, Rect( 0, 14, (composite.bounds.width - (margin.x * 2)), 2 ) ) .background_( Color.black.alpha_(0.25) ) .resize_(2) } makeUnitSubViews { |scrollView, units, margin, gap| var unitInitFunc; var labelWidth; var width; width = s ...
-
... yout(n.bounds); v = { |i| DragBoth(n, Rect(0, i * 20, 200, 20)).align_(\center).background_(Color.rand) }.dup(5); StaticText.new(n,200@150).string_("hold down cmd and drag points from the slider to the drag slots, or reverse").stringColor_( ...
-
... is also possible to only provide an Array of strings. In this case, the GMStyle backgroundColor will be used as the state background, and the valueFontColor will be used as font color (see example below). . state Sets or gets the View 's cu ...
-
... 1 2 3 4 5 6 7 8 9 "; a = StaticText(w, 200@20).string_("The quick drowned fox").background_(Color.rand).align_(\center); b = Button(w, 200@20).states_([["The quick drowned fox"]]).background_(Color.rand); c = PopUpMenu(w, 200@20).items_(["T ...
-
... t(128, 64, width, height), false); u= UserView(w, Rect(0, 0, width, height)); u.background= Color.black; a= RedPerlin.new; u.drawFunc= { Pen.strokeColor= Color.white; width.do{|x| Pen.addRect(Rect.aboutPoint(Point(x, a.noise1D(x/width, pers ...