-
... eeAll; // NetAddr.myIP; //from NetLib; useful for connecting external clients //background and a title a.background_(Color.black) a.background_(Color.green) a.title_("new title") a.title //blinking support... a.backgroundBlink(30, Color.red ...
-
... (0.6.rrand(1.6)); }.dup(~n); //--loop ~win.draw{ if(~world.gravity[0]>1, { ~win.background= Color.red(1, 0.5); }, { ~win.background= Color.blue(~world.gravity[1], 0.5); }); ~world.objects.do{|o, i| if(i!=0, { o.addForceWander2D; o.addForceS ...
-
... ects", Rect(800, 0, 480, 400)) .front .onClose_{ hasGUI = false; }; window.view.background = Color(0.918, 0.902, 0.886); view = SETOServerView(window, Rect(5,5,390,370), this); // view.background = Color(0.81960784313725, 0.82352941176471, ...
-
... UI.skins.put(\jitSmall, ( fontSpecs: ["Helvetica", 10], fontColor: Color.black, background: Color(0.8, 0.85, 0.7, 0.5), foreground: Color.grey(0.95), onColor: Color(0.5, 1, 0.5), offColor: Color.grey(0.8, 0.5), gap: 0 @ 0, margin: 2@2, butt ...
-
... UI.skins.put(\jitSmall, ( fontSpecs: ["Helvetica", 10], fontColor: Color.black, background: Color(0.8, 0.85, 0.7, 0.5), foreground: Color.grey(0.95), onColor: Color(0.5, 1, 0.5), offColor: Color.grey(0.8, 0.5), gap: 0 @ 0, margin: 2@2, butt ...
-
... s= nil , icon= nil , recordButton= nil , customIcon= nil , recordButtonState=0, background, imageAlpha=1.0, imageComposition= Compositing .sourceIn ; resources = Dictionary [ 'bg' -> Image ( "resources/gradient.jpg" ), 'icon' -> Image ( "re ...
-
... this.writeName(layout); this.performList(\guiBody,[layout] ++ args); },bounds).background_(this.background); //if you created it, front it if(lay.isNil,{ layout.front }); } guify { arg lay, bounds, title; lay.isNil.if({ // if no window giv ...
-
... fore and after running this line b.mode_( \jump ); // back to default knobColor background hilightColor Colors, Gradients and SCImages can be used with these getter/setters. ( // random colors w = Window ( "colorful" , Rect ( 200 , 200 , 25 ...
-
... 1.0.rand } ! 17), UserView().minSize_(Size(200, 200)).maxSize_(Size(300, 300)) .background_(Color.red) ), HLayout( StaticText().minSize_(Size(120, 120)).maxSize_(Size(180, 300)), MultiSliderView(w).minSize_(Size(200, 120)).maxSize_(Size(300 ...
-
... t, row, col| defer { // unhighlight prev selected ~fdex.selected.do(_.setColors(background: Color.clear)); // set new indices ~fdex.slrow = row ? ~fdex.slrow; ~fdex.slcol = col ? ~fdex.slcol; //// select new ones ~fdex.selected = ~fdex.fade ...