-
... t).hasBorder_(false).resize_(5); i.addFlowLayout; { View(i,100@100).background_(Color.rand) }!10; // populate i.onResize_({ |v| var d = v.decorator; d.bounds = v.bounds.extent@(0@0); d.reset; v.children.do(d.place(_)) }) }); ) ``` ```superc ...
-
... lass methods new Inherited class methods Instance methods bounds flags codeSize colorMap data indices control depth hasColorMap interlaced sorted Inherited instance methods Classes (extension) | Red > redTools'>redTools RedGIFImage Extensio ...
-
... Manager; var <>autoRestart = false; *initClass { skin = ( labelWidth: 80, hiliteColor: Color.black.alpha_(0.33), RoundButton: ( border: 0.75, background: Gradient( Color.white, Color.gray(0.85), \v ) ), SmoothButton: ( border: 0.75, backgro ...
-
... yout, bounds; var pen, blue; view = UserView(layout, bounds); view.background = Color.white; gridLines = DrawGrid(bounds, GridLines([0.0, maxTime]), nil); pen = GUI.pen; blue = Color.blue; view.drawFunc = { gridLines.draw; if((position ? -1 ...
-
... .fill(q,{ arg i; Slider (h, Rect (0,0,20,75)).value_(i / q) }); h.background_( Color .rand); w.front ) // Stretching the layout view. Slider height fills the View automatically. ( q = 8; w = Window .new; h = HLayoutView (w, Rect (0,0,300,3 ...
-
... s| vals = vals ? [0,0]; properties.put( \intensity, vals[0] ); properties.put( \color, vals[1] ); channels.put( \intensity, chans[0] ); channels.put( \color, chans[1] ); DMX.map.put( name++\_++\intensity, chans[0] ); DMX.map.put( name++\_++ ...
-
... <>rows = 12, <>gap = 2, <>fontSpecs = #["Helvetica", 10]; classvar >font, <backColors, blackKeys; var <mainView, <chanText, // which channel? <dragViews, // one per key minNoteFloor, maxNoteCeil; // to position views correctly *initClass { ...
-
... <>rows = 12, <>gap = 2, <>fontSpecs = #["Helvetica", 10]; classvar >font, <backColors, blackKeys; var <mainView, <chanText, // which channel? <dragViews, // one per key minNoteFloor, maxNoteCeil; // to position views correctly *initClass { ...
-
... ine_size size in pixels of inter-pane visual guide line (default:2) handle_line_color color of inter-pane visual guide line (default: Color.gray(0.5)) returns: An PaneView . vfrom Shortcut - creates vertical PaneView from a list of children ...
-
... e control of the font, see setFont below. argFont - An instance of Font . stringColor stringColor_ (color) Sets the stringColor variable of the text view, and changes the stringColor of the entire text in the view. Default value is nil. If ...