Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1062) Code (117) Doc (215) Help (68) Quark (660) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. TabbedViewTab Quark

    ... empView.isNil.if{ tempView = CompositeView.new(tabbedView.view, widget.bounds) .background_(labelColor.copy.alpha_(0.4)).visible_(false); }; // create a temporary view as a drag indicator. tempView.visible_(true); tempView.bounds_(tempView. ...

  2. TabbedViewTab Quark

    ... empView.isNil.if{ tempView = CompositeView.new(tabbedView.view, widget.bounds) .background_(labelColor.copy.alpha_(0.4)).visible_(false); }; // create a temporary view as a drag indicator. tempView.visible_(true); tempView.bounds_(tempView. ...

  3. SWDataNetworkOSCGui Quark

    ... ( 2 ); cw.decorator = FlowLayout(Rect( xpos, ypos, xsize, ysize), 2@2, 2@2); cw.background = Color.white; decorator = cw.decorator; addrIP = GUI.staticText.new( cw, Rect( 0, 0, 100, 16 )).string_( client.addr.ip.asString ).font_( font ).ali ...

  4. WFPathBufferView Quark

    ... w.skin ) .string_( ( \seconds: " s", \frames: " pt" )[ this.class.timeMode ] ) .background_( Color.white.alpha_( 0.25 ) ) .resize_( 3 ) .mouseDownAction_({ var actions, selected; actions = [ \seconds, \frames ].collect({ |item| MenuAction( ...

  5. RadiclesCmdsBase Quark

    ... olor, selcolortext *prColorCmds { cW.add(\color, [\str, \str], {|str1, str2| cW.background(Color.newName(str2);); }); cW.add(\colortext, [\str, \str], {|str1, str2| cW.fontColor(Color.newName(str2);); }); cW.add(\colors, [\str], {|str1| cW. ...

  6. UMIDIFilterSpec Quark

    ... ][ 0 ] = res; vws.setViews; vws.doAction; }); }) .applySkin( RoundView.skin ) .background_( Color.white.alpha_(0.25) ); vws[ \device ].setProperty(\wordWrap, false); vws[ \setViews ] = { { vws[ \device ].string = " device: %".format( vws[ ...

  7. SCKnob Help

    ... ecorator = FlowLayout (w.view.bounds, 10@4, 10@4); h = StaticText (w, 300 @ 16).background_( Color .blue(0.2,0.1)); w.view.decorator.nextLine; k = Array .fill(8, { |item, i| var knob; knob = Knob .new(w, size @ size) // .canFocus_(false) .a ...

  8. nanoktl-objects Quark

    ... drag on the slider too but it didn't work init: { |view| view.knobColor_(green).background_(sBkColor) }, spec: [0, 1] )) .add("/1/toggle%".format(~padString.(i+9, 2)).asSymbol).add(( bounds: Rect.fromPoints( origin + Point(gap + ~sliderWidt ...

  9. 01_GuidedTour Quark

    ... cs", Rect(0,0,400,400)).front; ~uv = UserView.new(~win, Rect(0,0,400,400)); ~uv.background = Color.white; // tell it what to draw: ~uv.drawFunc = { Pen.strokeRect(Rect(10,10,380,380)); }; ~uv.refresh; // now trigger drawing // strings ~uv.d ...

  10. MIDISliderWindow Quark

    ... s[i] = val; busMessage.(i, val); }; fullAction.(i, val); }).canFocus_( false ) .background_( Color.gray ).hilightColor_( Color.blue.alpha_(0.5) ); }); midiFunc = {arg src, chan, num, vel; var val; if(chan < nC) { val = num / maxMIDIVal; if( ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow