Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2329) Code (180) Doc (734) Help (210) Quark (1189) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. UBasicEditView Quark

    ... .view.isClosed.not }) { { view.refresh }.defer; }; } close { // close enclosing window view.view.getParents.last.findWindow.close; } front { // close enclosing window view.view.getParents.last.findWindow.front; } isClosed { ^view.view.isClo ...

  2. MantaGUI Quark

    ... // (0.5/tan(pi/6)).asCompileString; this.createRects; parent.isNil.if{ parent = Window.new(\Manta, Rect(100, 100, 345, 235)).decorate; parent.front; }; this.createView(parent, extent); } refresh { view.refresh; } padExtent_ {|val| padExtent ...

  3. sKeyCpad Quark

    ... eButtons= List.new; var externalButtons= List.new; var infoTextString; var win= Window("sKeyCpad", winRect); win.layout= HLayout( GridLayout.rows( *plate.collect{|arr| arr.collect{|number| plateButtons.add(Button().states_([ [number, palett ...

  4. XiiPolyMachine Quark

    ... size; // number of states in the dictionary lastStateNum = params[3]; win = GUI.window.new("- polymachine -", Rect(point.x, point.y, 760, tracks*62), resizable:false); indexBoxArray = Array.fill(tracks, {arg i; BoxGrid.new(win, bounds: Rect ...

  5. EventLoopGui Quark

    ... (skin.margin.y * 4); var zoneMargin = if ( (numItems > 0) or: { parent.isKindOf(Window.implClass) }) { skin.margin } { 0@0 }; zone.decorator = FlowLayout(zone.bounds, zoneMargin, skin.gap); zone.resize_(2); this.makeTaskGui(lineWidth, heigh ...

  6. EventLoopGui Quark

    ... (skin.margin.y * 4); var zoneMargin = if ( (numItems > 0) or: { parent.isKindOf(Window.implClass) }) { skin.margin } { 0@0 }; zone.decorator = FlowLayout(zone.bounds, zoneMargin, skin.gap); zone.resize_(2); this.makeTaskGui(lineWidth, heigh ...

  7. openbci_gui_focuswidget Quark

    ... ), active: activeChannels.includes(i), data: [] ) }.dup(board.numChannels); //--window var win= Window("focus widget", Rect(10, 100, 512, 320)); win.view.minSize= Size(410, 220); win.background= Color.white; win.drawFunc= { Pen.color= Color ...

  8. UTransportBar Quark

    ... OfLife Unit Library. If not, see <http://www.gnu.org/licenses/>. */ /*UTransportWindow { var <transporView; *new{ |score, parent, bounds| ^super.init(score, parent, bounds) } init{ |parent, bounds| this.makeGui(parent, bounds); this.addCont ...

  9. 9_ntmi_general Quark

    ... g.setFrontText("Change presets on slot 1:"); defer { Butz(\NTMI).run(\presets); Window.find(\presets).moveTo(968.0, 100.0); NTMI.pre.butAction(0); }; 6.do { 1.wait; NTMI.pre.stepNdefInf(NTMI.ndefs[0], nil) }; NTMI.g.setFrontText("Select sou ...

  10. SpatioScope Quark

    ... n space of [-1, 1] for x and y server : on which server to watch parent : which window or view to show on bounds : view bounds. // supply locations by hand - 1@1 is left bottom. z = SpatioScope ([ -0.5 @ -0.7, 0.5 @ -0.4, 0.8 @ 0.8, -0.5 @ ...

prev 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow