-
... losarturoguerra@gmail.com> */ SGME_GUIPanel7 : SGME_GUIPanel { makeWindow { var rect; var image; id = 6; super.makeWindow; rect = Rect( left: Window.availableBounds.width/(3/4), top: (Window.availableBounds.height/2.1) -(window.bounds.heigh ...
-
... unds. bounds.isNil.if{ bounds = w.asView.bounds.moveTo(0,0); }; bounds=bounds.asRect; // allows you to use a Point for the bounds. ( \TabbedViewView.asClass.notNil && (GUI.id == \qt) ).if{ view = TabbedViewView(w,bounds).resize_(resize); }{ ...
-
... tView"); // just a dummy window: ( q = q ? (); w = Window("Republic mit Alles", Rect(0,100,800,800)).front; w.addFlowLayout; // chat fenster could be smaller. q.rg = RepublicGui(nil, 8, w); q.rg.zone.resize_(1); q.rg.zone.bounds_(q.rg.zone. ...
-
... o); var res = array.collect { |x| this.value(x) }; GNUPlot.plot(res); } surf3{ |rect,grid = 30,hidden3d = true, pm3d = true,extracmds| var xyz, gnuplot, grain, specX, specY; rect = rect ? Rect(0,0,1,1); specX = [rect.left,rect.left+rect.wid ...
-
... o); var res = array.collect { |x| this.value(x) }; GNUPlot.plot(res); } surf3{ |rect,grid = 30,hidden3d = true, pm3d = true,extracmds| var xyz, gnuplot, grain, specX, specY; rect = rect ? Rect(0,0,1,1); specX = [rect.left,rect.left+rect.wid ...
-
... .new(this); blackholeBus = Bus.audio(Server.default, 1); win = Window("Hadron", Rect(300, 40, 675, 70), resizable: false).userCanClose_(false); Button(win, Rect(10, 15, 85, 20)) .states_ ([ ["New Inst.", Color.black, Color(0.5, 0.7, 0.5)], ...
-
ParameterSpace{ var <>rect,<curloc; var <points; var <parameterDict; var <weightDict; var <defaultParDict; var <parKeys; var <currentPars; var <weightfactor=2; var <>updateFunc; var <>moveFunc,<>moveScale=1; var <task; var <>dt=0.1; var <>m ...
-
... ferences.size + 4) * preferenceHeight; window = Window("Chordtris Preferences", Rect(300, 400, width, height)).front; vLayoutView = VLayoutView(window, Rect(0,0,width,height)); window.view.background_(Color.grey(0.8)); this.displayPreferenc ...
-
... , argstartnote; var r, pix, pen; octaves = argoctaves ? 4; bounds = argbounds ? Rect(20, 10, 364, 60); if((win= w).isNil, { win = Window.new("MIDI Keyboard", Rect(100, 250, bounds.width + 40, bounds.height+30)); win.front }); mouseTracker = ...
-
... userview !? \{ userview.remove \};\ userview = \cf3 SCUserView\cf0 (window,\cf3 Rect\cf0 (0,0,w,h)).resize_(5);\ \ userview.beginDragAction = \{\ \cf3 var\cf0 classes,rects;\ \ if ( selectedViews.size > 0,\{\ #classes, rects = flop(selected ...