Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (32) Code (1) Doc (10) Help (5) Quark (16) SCDoc ↗ Forum ↗ Google ↗
  1. devEnvironment Quark

    ... mc => CC.prNew(mc.ccnum.shortName.asSymbol); }); ~midiControlFlow.startRow; GUI.dragSink.new(~midiControlFlow, 80@20).string_("reset").align_(\center) .background_(Color.new255(190, 198, 225)).stringColor_(Color.new255(191, 0, 0)) .action_( ...

  2. devEnvironment Quark

    ... mc => CC.prNew(mc.ccnum.shortName.asSymbol); }); ~midiControlFlow.startRow; GUI.dragSink.new(~midiControlFlow, 80@20).string_("reset").align_(\center) .background_(Color.new255(190, 198, 225)).stringColor_(Color.new255(191, 0, 0)) .action_( ...

  3. sFiles Quark

    ... win= Window("sFiles", winRect); win.layout= VLayout(); win.layout.add( folder= DragSink().object_("drop folder or files here") .canReceiveDragHandler_{ View.currentDrag.isString or:{View.currentDrag.isArray} } .receiveDragHandler_{ var ind ...

  4. GUI Quark

    ... 0); startButton.value_(0); endButton.value_(0); }) }; //*** Drop Area *** drg = DragSink(win, Rect(15, 15, 700, 50)) .resize_(2) .background_(colorSet1[1]) .align_(\center) .string_("drop file here") .action_({|obj| if(obj.string.isSoundFil ...

  5. TestSCCompositeView Quark

    ... slider2D,\tabletSlider2D, \button,\popUpMenu,\staticText,\listView,\dragSource,\dragSink,\dragBoth,\numberBox,\textField,\userView, \multiSliderView,\envelopeView,\tabletView,\soundFileView,\movieView,\textView,\quartzComposerView, \scrollV ...

  6. RedDiskInPlayer Quark

    ... o work with Qt and sc3.9 //--changes090829: //drag and drop from finder using a dragsink //--changes090613: //no longer use the GUI redirect (GUI.button.new became Button) //--changes090123: //changed boxColor_ to background_ //ctrl click t ...

  7. MixerSkin Quark

    ... } } MixerNameWidget : MixerWidgetBase { makeView { |layout, bounds| view = GUI.dragSink.new(layout, bounds) .font_(this.class.font) .align_(\center) } checkDoAction { |view| { view.object.draggedIntoMixerGUI(gui); }.try({ |error| error.isK ...

  8. MixerSkin Quark

    ... } } MixerNameWidget : MixerWidgetBase { makeView { |layout, bounds| view = GUI.dragSink.new(layout, bounds) .font_(this.class.font) .align_(\center) } checkDoAction { |view| { view.object.draggedIntoMixerGUI(gui); }.try({ |error| error.isK ...

  9. ProcMod Quark

    ... a GUI. The GUI has * two parts. A window that shows ProcMods in GUI mode, and a DragSink that takes ProcMods, places * them in the GUI, and can save them to a file as an archive */ ProcSink { var <name, initmod, killmod, server, <sinkWindow ...

  10. GUI-Introduction Doc

    ... n = { a.dragLabel ="I'm dragging: \""++ a.states[0][0]++"\""; a.states[0][0] }; DragSink(w,Rect(10,40,200,20)).align_(\center).string="Cmd-drag from Button to here"; ) ⧉ ✔ Other specialized actions Some views can be assigned actions on othe ...

prev 1 2 3 4 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow