Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (216) Code (31) Doc (58) Quark (127) SCDoc ↗ Forum ↗ Google ↗
  1. RedMixGUI Quark

    ... Spec= ControlSpec(-1, 1, 'lin', 0, -1); var controllers= List.new; view.layout= VLayout( HLayout( inA= RedNumberBox().maxWidth_(bw).maxHeight_(lh), RedStaticText(nil, nil, "inA ("++redMix.def.metadata.info.inA++")").maxHeight_(lh) ), HLayou ...

  2. GUI-Layout-Management Doc

    ... age distribution of child views within parents See also: LineLayout , HLayout , VLayout , GridLayout , StackLayout The purpose of layouts is to distribute the amount of space given to the view on which they are installed among the children ...

  3. layout_scratch Quark

    w = Window.new; w.layout = VLayout( Button().states_([["Foo"]]), 20, TextView().string_("Bar\nBar\nBar\n"), nil ); w.front mPage.layout_( VLayout([ Button, HLayout([ TextField(), 0.3, Button() ]), 0.2, Slider() ], Rect() // optionally give ...

  4. sFiles Quark

    ... groundImage; var folder, files; var 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.isArr ...

  5. ExtraWindows Doc

    ... erPlot; var boxes = [], sliders = Dictionary.new; var layout = HLayout([ left = VLayout(StaticText().string_("List of Windows").maxHeight_(50).align_(\topLeft)), stretch: 1 ], [ VLayout( mid = CompositeView(), StaticText().string_("Time Dom ...

  6. SQWERTYKeyboard Quark

    ... w(name, winRect); rows= List.new; //one dictionary per keyboard row win.layout= VLayout( HLayout( SGUI.shrink(StaticText().string_("Incomming keycodes from HIDtoOSC:")), codeTextString= StaticText().fixedSize_(Size(140, " ".bounds(fntMono). ...

  7. Simple noise mixer with GUI by phjosef (pHJosef) Code

    ... on().states_([["reset"]]).action_({ ~reset.value}); ~win.layout = HLayout( VLayout(c, HLayout(*a)), VLayout(d, b), e ); a.do{ |ins, c=0| c = c+1; ins.addAction({ |sl| ~sl = sl.value; ~low = -24; ~high = 24; switch(c, ...

  8. gui_example_scrolling_fft Quark

    ... r.black, Color.grey) .value_([0]) .elasticMode_(1); }.dup(numChan); win.layout= VLayout(*msliders); ~ibva= IBVA("/dev/tty.BlueVAS_H-Data"); //replace IBVA with IBVAfake for test data Routine({ var f= IBVAfft(~ibva); f.start; inf.do{ mslider ...

  9. Visual gain reduction meter by jpdrecourt (jpdrecourt) Code

    ... // Layout of the window layout = HLayout(); layout.add(nil); layout.add(VLayout(indicator)); layout.add(VLayout(StaticText().string_("0.0dB"), nil, StaticText().string_((maxReduc/2.0).asString ++ "dB"), nil, StaticText().string_(( ...

  10. LayoutValueSlider Doc

    ... ect(2, 2, 150, 20), 0, [0, 1]); w.front; ) // 5 sliders, positioned by a master VLayout ( w = Window("test", Rect.aboutPoint(Window.screenBounds.center, 150, 100)); v = Array.fill(5, { |i| LayoutValueSlider(nil, nil, i / 4, [0, 1]) }); w.vi ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow