-
... sWidget(window,17)); */ /* Button( window, Rect( 0, 0, 90, 16 ) ) .states_( [["open hosts"]] ) .font_( Font( "Monaco", 9 ) ) .action_( { this.openHosts; } ); */ window.view.decorator.shift(270,0); SmoothButton( window, Rect( 0, 0, 110, 16 ) ...
-
List of GUI classes: Filter: Kit-independent GUI classes Window and views Layout management Other GUI classes Overviews | GUI List of GUI classes The most used GUI classes and their kit-specific equivalents Kit-independent GUI classes The f ...
-
... serView w = Window.new.front; u = UserView(w,Rect(0,0,500,200)); u.drawFunc = { Pen.stringAtPoint("Custom View",120@30,Font.sansSerif(20)); }; // it adds itself to the drawFunc g = l.gui(nil,Rect(0,0,500,200),[10,2000,\exp],[0,48],u); // an ...
-
... lor) - Sets the background color of the grid. setBackgrDrawFunc_(func) - Allows Pen to draw behind the grid. remove - Remove the view. Note: the only methods that differ between BoxGrid and Grid are : setNodeBorder_/setNodeSize_ respectivel ...
-
... ap[node.nodeId] = viewObj; ^viewObj.view; } { ^nil; } } drawBorder { |v, color| Pen.addRect(v.bounds.moveTo(0, 0).insetBy(0.5, 0.5)); Pen.strokeColor = color; Pen.strokeRect(); } separateSynths { } makeViewGroup { | group | var gsv = GroupS ...
-
... own Issues The IDE server status display turns yellow after a few seconds when opening s.makeGui . This does not cause any usability issues. Only the first pages of the HTML files produced by SCDoc are printed in web browsers. The help brow ...
-
... usr.bounds.height; var fnt= RedFont.new; var col= GUI.skins.redFrik.foreground; Pen.stringAtPoint("-u", Point(0, y), fnt, col); }), //--levels peakLevels= [ RedLevelIndicator(), RedLevelIndicator() ]; peakLevels.do{|l| l.canFocus_(false); l ...
-
... font).width; var fontScale = (uv.bounds.width * 0.95 / labelWidth).clip(1, 10); Pen.stringCenteredIn( emmy.label.asString, emmy.bounds.moveTo(0,0), Font(font.name, (font.size * fontScale).min(uv.bounds.height * 0.6)), Color.blue ) }); [pop, ...
-
... will not be valid for any other platform! { (Platform.resourceDir +/+ "../..").openOS } }; }; window = Window("Snippets", Rect.aboutPoint(Window.screenBounds.center, 120, 90)); window.layout = VLayout( textField = TextField().fixedHeight_(2 ...
-
... rue) .focusColor_(Color.black.alpha_(0)) //.relativeOrigin_(false) .drawFunc_({ Pen.color = Color.white; Pen.fillRect(Rect(0, 0, 510, 510)); toshioArray.do({arg row; row.do({arg toshio; toshio.draw }); }); }) .mouseDownAction_({arg me, x, y ...