Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (114) Code (10) Doc (18) Help (10) Quark (76) SCDoc ↗ Forum ↗ Google ↗
  1. 00. GeoGraphyStartup Quark

    ... Requirements GeoGraphy has been tested under MacOSX 10.4, with SC 3.1. It uses SwingOSC 0.56. The core is platform indepedent and GUI pattern is used (but at the moment works properly only with SwingOSC): it is highly unprobable that you c ...

  2. XixiPainter Quark

    ... ed.not.if({ // if window is not closed, update... drawer.refresh; if(GUI.id == \swing, {win.refresh;}); }) }.defer; } start { running = true; playerTask = Task({ inf.do({ arg i; drawList.do({ |object| object.update; }); frameFunc.value; // ...

  3. TabbedViewTab Quark

    ... dget.mouseMoveAction.isNil.if{ this.refreshMouseMoveHandler; }; (context.name==\SwingGUI).if{clickCount=clickCount-1}; (clickCount.booleanValue && rightClickDetach.value(this)).if{ this.detachTab; }{ tempedges = tabbedView.followEdges; clic ...

  4. TabbedViewTab Quark

    ... dget.mouseMoveAction.isNil.if{ this.refreshMouseMoveHandler; }; (context.name==\SwingGUI).if{clickCount=clickCount-1}; (clickCount.booleanValue && rightClickDetach.value(this)).if{ this.detachTab; }{ tempedges = tabbedView.followEdges; clic ...

  5. ActionButton Quark

    // abstract // SC/Qt/Swing all use this SCButtonAdapter : SCViewHolder { *initClass { Class.initClassTree(GUI); } makeView { arg layout,x,y; var rect; if((layout.isNil or: { layout.isKindOf(PageLayout) }),{ layout = layout.asFlowView; }); t ...

  6. ActionButton Quark

    // abstract // SC/Qt/Swing all use this SCButtonAdapter : SCViewHolder { *initClass { Class.initClassTree(GUI); } makeView { arg layout, x, y; var rect; if((layout.isNil or: { layout.isKindOf(PageLayout) }), { layout = layout.asFlowView; }) ...

  7. HadronCanvasItem Quark

    ... DownAction_ ({|...args| parentPlugin.parentApp.isDirty = true; //args.postln; //swingosc has different mouse button and keymod bindings if(GUI.id == \swing, { args[4].switch( 1, { args[4] = 0; }, 3, { args[4] = 1; }); //button bindings args ...

  8. KeyCodesEditor Quark

    ... cocoa, { platform = platform+"[Cocoa]" }, \qt, { platform = platform+"[Qt]" }, \swing, { platform = platform+"[SwingOSC]" } ); bounds !? { thisBounds = bounds }; if(parent.isNil) { window = Window("key-codes and modifiers for"+platform, thi ...

  9. TabbedView2 Quark

    ... bs <focusFrameColor, // normally Color.clear <labelPadding = 20, >clickbox=15, >swingFactor, // for swing only <>unfocusTabs=false, // for swing only tabWidth = \auto, // default scheme. cviewan be overriden by individual tabs <tabHeight=\a ...

  10. TestFlowView Quark

    ... ) }); } test_flow { // this is a minor change in behavior that would affect the swing method too var comp,innerFlow; w.flow({ arg f; f.comp({ |comp| innerFlow = comp.flow({ arg layout; //ActionButton(layout,"yo"); },Rect(100,100,100,100)) . ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow