Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (37) Code (1) Doc (10) Quark (26) SCDoc ↗ Forum ↗ Google ↗
  1. CollidingGUI Quark

    ... bView.removeAt(0); } init{|anApp| app = anApp; GUI.qt; palette = QPalette.dark; QtGUI.palette = palette; Font.default = Colliding.guiFont; buf = Buffer.alloc(app.server, 1024, 2); bus = Bus(\audio, 0, 2, app.server); synth = BusScopeSynth(a ...

  2. FancySlider Quark

    ... DownAction( char, modifiers, unicode, keycode, key) }; }; (GUI.current.name == \QtGUI).if{ this.keyDownAction = {arg v,char, modifiers, unicode, keycode, key; this.q_defaultKeyDownAction( char, modifiers, unicode, keycode, key) }; }; slider ...

  3. InfluxGuis2 Quark

    ... Filled = true; m.reference = 0.5 ! numOuts; m.resize_(4); }; if (GUI.current != QtGUI) { // SC multisliders look different: they // don't show filled relative to reference multiSliders.do(_.isFilled_(false)); multiSliders.do(_.valueThumbSiz ...

  4. InfluxGuis2 Quark

    ... Filled = true; m.reference = 0.5 ! numOuts; m.resize_(4); }; if (GUI.current != QtGUI) { // SC multisliders look different: they // don't show filled relative to reference multiSliders.do(_.isFilled_(false)); multiSliders.do(_.valueThumbSiz ...

  5. JITView Quark

    ... dict[\font], dict[\labelCol] ); } adjustFont { |str, font, rect| var drawSize = QtGUI.stringBounds(str, font); var scaler, drawFont = font; if (drawSize.width > rect.width) { scaler = rect.width / drawSize.width; drawFont = font.copy .size_ ...

  6. JITView Quark

    ... dict[\font], dict[\labelCol] ); } adjustFont { |str, font, rect| var drawSize = QtGUI.stringBounds(str, font); var scaler, drawFont = font; if (drawSize.width > rect.width) { scaler = rect.width / drawSize.width; drawFont = font.copy .size_ ...

  7. WFPathBufferView Quark

    ... = item ); }); selected = actions.detect(_.enabled.not); Menu( *actions ).front( QtGUI.cursorPosition - (20@0), action: selected ); }); views[ \rate ] = EZSmoothSlider( view, bounds.width@viewHeight, "rate", [ 0.125, 8, \exp, 0.125, 1 ].asSp ...

  8. PopUpTreeMenu Quark

    ... in here for each level tree= (); currentPath= []; currentLeaf= []; hiliteColor= QtGUI.palette.highlight; timer= 0; timer2= 0; pop= PopUpMenu(argParent, argBounds) //visible when menu not open .beginDragAction_({|v, x, y| value}) .canReceive ...

  9. edit-gui Quark

    ... se the current statement and allow syntax-aware navigation Proto { ~bgColors = [QtGUI.palette.color(\base), QtGUI.palette.color(\base).copy.green_(0.25)]; ~statementMap = IdentityDictionary[ \clPatternSet -> { |stream| ClPatternSetNode(stre ...

  10. MixerSkin Quark

    ... channelSize, viewProtos, /*viewKeys,*/ viewBounds).init } init { clearColor = { QtGUI.palette.window }; color1 = clearColor; // Color.new255(199, 227, 202); color2 = clearColor; // Color.new255(230, 109, 225); } makeViews { |layout, origin, ...

prev 1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow