Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (394) Code (59) Doc (78) Help (6) Quark (250) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. PopUpTreeMenu Quark

    ... ect classes instead of GUI //took out relativeOrigin and rewrote to use sc3.3.1 userview x/y mouse positions //--changes090521 //added sortFunc, value_ and valueAction_. thanks miguel //--changes090114 //bugfix: userview canfocus now set to ...

  2. XiiQuanoon Quark

    ... alenames, scaleObject; var thisX, lastX, thisY, lastY; var stringRecent, point, userView, tablet; var fundamental, octave, outbus, vol, fundamentalWin; var tmppoints; var playdstrings = {0} ! 8; // array counting how often strings are pluck ...

  3. UMapGUI Quark

    UMapGUI : UGUI { classvar <>nowBuildingUMap; var <>header, <>userView, <>mainComposite; var <>removeAction; var <>parentUnit; var <removeButton; var <>wasBuildingUMap; *viewNumLines { |unit| ^super.viewNumLines( unit ) + 1 + (2/18); } makeV ...

  4. LayoutTestsAgain Quark

    ... ).maxSize_(Size(180, 300)).indexIsHorizontal_(false).value_({ 1.0.rand } ! 17), UserView().minSize_(Size(200, 200)).maxSize_(Size(300, 300)) .background_(Color.red) ), HLayout( StaticText().minSize_(Size(120, 120)).maxSize_(Size(180, 300)), ...

  5. ColorPickerUI Quark

    ... = initFunc; color = Color.gray(0.85); hsv = [ 0, 0, 0.85 ]; color_picker_view = UserView(); // Main View // Resizing adjustments color_picker_view.onResize = { | view | margin = ( view.bounds.width * 0.05 ); v_slider.refresh; sv_slider.refr ...

  6. OSCIIRadioButton Quark

    ... ounds) .string_(string); // toggle radio when clicked on string invButton = GUI.userView.new(w, stringbounds); invButton.background = Color.new255(11,11,11,0); invButton.canFocus = false; invButton.mouseDownAction = { argÊ view,x,y; //butto ...

  7. 5_drawer Quark

    ... red[\DRAW] ? Rect(400,400,400,400)).front; q.draw.win.alpha_(0.7); // and put a userview on it, on which we can we draw: q.draw.uv = UserView(q.draw.win, q.draw.win.bounds.extent.asRect).front; q.draw.uv.background = Color.black; q.draw.uv. ...

  8. ddwSnippets Quark

    ... ssn.value > 0) { str = str ++ assn.key; }; }; str }, modStr, mod, code, window, userView, cond = Condition.new, rout, // how to tell when the user hit the real key? // it's different for each supported OS. yup. Qt is "cross platform" done = ...

  9. RedMRCM Quark

    ... Rect(100, 200, 400, 400)}; var win= Window(this.class.name, b, false); var usr= UserView(win, Rect(0, 0, b.width, b.height)); usr.background= background ?? {Color.white}; usr.drawFunc= { Pen.translate(b.width*0.5, b.height*0.5); this.draw(b ...

  10. sLauncher Quark

    ... .string_("Click to launch instrument..."), GridLayout.rows( *images.collect{|x| UserView().drawFunc_{|usr| Pen.stringAtPoint(x.key.asString.drop(1), 50@50, Font(SGUI.font.name, 64))} .setBackgroundImage(x.value, 10).mouseUpAction_{SInstrume ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow