-
... =[]; attributes=IdentityDictionary(); // the attributes of the ListViews view = Window.new(title,Window.flipY(Rect(100,100,colWidth,400) ) ).front; view.layout_(GridLayout().hSpacing_(hspacing)); dirPrefix=dirPrefix?defaultPrefix; dirSuffix ...
-
... - 40, 1, 40, 12 ) ) .label_( "i/o" ) .radius_( 2 ) .action_({ UChainIOGUI( this.window.name, originalBounds, chain, replaceCurrent: true ); }).resize_(3); code = SmoothButton( comp, Rect( comp.bounds.right - (40 + 4 + 40), 1, 40, 12 ) ) .la ...
-
... bounds = bounds ? Rect(0,0,400, 320); if (parent.isNil) { rePostWin = parent = Window("RePost", bounds).front; rePostWin.alpha_(0.8); bounds = bounds.moveTo(0,0); }; ^rePost = TextView(parent, bounds).enterInterpretsSelection_(false); } *c ...
-
... edViewTab *******/ TabbedView2{ var <view, <>alwaysOnTop=true, // for the popup window <tabPosition = \top, <>lockPosition = false, // disables position changing <followEdges=true, <>lockEdges = false, // disables edge following <>dragTabs= ...
-
... using wifi and a high samplerate, posting every data package can flood the post window and crash supercollider. ~openbci.dataAction= {|num, data, accel| if(num%10==0, {data.postln})}; //only post every 10th package ~openbci.dataAction= nil; ...
-
... pJack({ q.wifiStr = "WiFi:" + q.getWifiName }, 5); // todo: adapt for linux and windows later Platform.case(\osx, { q.getMyIPs = { var confstr = unixCmdGetStdOut("ifconfig"); var labelStarts = confstr.findAll("inet"); var strings = labelSta ...
-
... some of my gui's need to know this if(lay.isNil,{ mainLayout = lay = this.class.windowClass.new (title ?? { model.asString.copyRange(0,50) }, bounds); iMadeLayout = true; // now when I'm removed, I'll close the window too },{ mainLayout = l ...
-
... me of my gui's need to know this if(lay.isNil,{ masterLayout = lay = this.class.windowClass.new (title ?? { model.asString.copyRange(0,50) }, bounds); iMadeMasterLayout = true; // now when I'm removed, I'll close the window too },{ masterLa ...
-
... , Point(7,43), Point(1,36), Point(1,8) ]; if ( GUI.id == \cocoa, { win = SCModalWindow.new("ixiQuarks alert!", Rect(128, 500, 400,170)) }, { win = Window.new("ixiQuarks alert!", Rect(128, 500, 400,170), resizable:false).front } ); win.drawH ...
-
... il,{ layout.front }); } guify { arg lay, bounds, title; lay.isNil.if({ // if no window given... // use the previously opened TempoClock window or make a new one if needed lay = w ?? { w = ResizeFlowWindow.new("TempoClock", Rect(0, 20, width ...