-
... , b, \magbuf, c]); w = Window("3D SCOPE", Rect(600, 400, 800, 600)).front; w.view.keyDownAction_{ |view, char, xxx, code| if(code==32){ w.refresh; t = t.not; u.animate = t; } }; u = UserView(w, w.view.bounds); u.background = Color.blac ...
-
A GUI example of nesting Views and multiplying widgets, including mouse actions and Pen drawing for each of the views. Thanks to hjh for spotting an early bug on sc-users. Add your own sound... ( var numX=12, numY=8, width, height, margin; ...
-
... button 'settings' icon ( var size= Size(22, 22); var button; Window().front.view.layout_( StackLayout( UserView().drawFunc_{|usr| Pen.strokeColor= Color.black; Pen.width= 1; Pen.translate(size.width/2, size.height/2); ...
-
... NI reaktor in SC original instrument design by mike daliot based on ScopeView helpfile and https://www.youtube.com/watch?v=l-uuPlAk_FY a go at making something like metaphysical function from NI reaktor in SC original instrument ...
-
... udGenMiniBuf", Rect.fromPoints(posPoint, (posPoint + (400@410)))).front; w.view.decorator_(FlowLayout(w.bounds.copy.moveTo(0, 0))); w.view.decorator.nextLine; // a just in time - gui for the Tdef z = TdefGui(tdef, parent: w) ...
-
... lti-touch on touchscreen may function, but it" + "hasn't been tested."); w.view .keyDownAction_{ |view, char| kAct.(char, 1) } .keyUpAction_{ |view, char, mod, unicode, keycode, key| kAct.(char, 0) } .mouseUpAction_{ // ...
-
... Boot{ var midiPitchOffset, k, n, kLabel, intervals, bIndecise, x; var w, kView, bView, k1, k2, k3, k4, b, bs1, bs2, bs3, bs4, bs; var bLay, kLay, ctl, kAct, lastPressedButton, pressedOrReleased; midiPitchOffset = 48; k = ...
-
... Window("rate changer",Rect(900,200,300,150)) .front .alwaysOnTop_(true); w.view.decorator_(FlowLayout(w.bounds, 20@10,50@10)); ~tex_1 = StaticText(w.view, 80@20) .string_("Button_1") .align_(\center) .font_(Font("Monaco", 10)) . ...
-
... q.numOscs * (colWidth + 5) + 150, 20)).string_("-- modulation index "); q.win.view.decorator.nextLine; q.higherAmpSliders = q.numOscs.collect{|i| var slider; //(i+1).do{|j| q.numOscs.do{|j| var ez; ez = EZKnob(q.win, Rect ...
-
... onds ; ~allPoints = [] ; ~diffPoints = [] ; w = Window.new.front; q = UserView.new(w,w.view.bounds); q.mouseDownAction_({ | view, x, y, modifiers, buttonNumber, clickCount | ~allPoints = []; }); q.mouseMoveAction_({ | view, ...