-
... code, esc key to close window and abort animation var wt0, wt1, result, wt0view, wt1view, resultView, animateFn, wmean, numSteps, animate, wtIndex, win, wtPosBox, wtPosView; animateFn.stop; numSteps = 101; animate = true; wtInde ...
-
GMZZSlider : GMXYUserView { var thisValue = 0; var thisMin = 0; var thisMax = 1; var thisScale = \lin; var thisPolarity = \uni; var thisOrientation = \vertical; var thisModStep = 0.01; var thisModStepOperator = \add; var thisModStep2 = 2; v ...
-
... eGUI { var <clothesline, <>name, <timeStep; var <window, <bounds, <margin, <userView, <overlayView; var <selectedIndex = 0, <currentTimeOffset = 0, currentZoom = 1; var <>passiveModeName = \______passive; var <>backgroundColor, <>foreground ...
-
... will still consume cpu cycles. UScore The UScore editor consists of a time-line view where events appear as rectangles. The start position of the score can be changed by double-clicking on an empty area of the score. The events can be dragg ...
-
... ht*10), width*20,height*20 ), false, false) .alwaysOnTop_(true); u = UserView(win, win.view.bounds) .background_(Color.gray(0.1)); //game over & score box, only visible when you crash //(score = snake body size) deadbox = Stati ...
-
... Rect(10 + 20.rand, 500 + 20.rand, 300, (param[0].size * 20) + 50), false); win.view.decorator = lay = FlowLayout(win.view.bounds, 5@5, 5@5); SCStaticText(win, 50 @ 15).font_(Font("Helvetica", 9)).string_("Bus").align_(\right); SCNumberBox( ...
-
... *makeCleanerWindow { var w; w = SCWindow("cleaner", Rect(0,0,140, 60)).front; w.view.decorator = FlowLayout(w.bounds.copy.left_(0).top_(0)); SCButton(w, Rect(0,0,120,20)) .states_([["clean current doc"]]) .action_ { Document.current.clean(f ...
-
... s; gui.zone.bounds = zonebounds.height_(zonebounds.height + 10); if (i.odd) { w.view.decorator.shift(0, 10) }; g.tuneNameView(gui.proxyGui); ProxyMeter.addNdefGui(gui.proxyGui); gui; }; g.ndefPreGuis.do { |gui| gui.skipjack.dt_(0.1) }; g[na ...
-
Binary Shift Register Sequencer by Dario Lozano-Thornton by dario-lozano-thornton (Dario Lozano-Thornton) Code
... ow.new("Binary Register", Rect(400,400,200,320)).front.alwaysOnTop_(true); ~w2.view.decorator = FlowLayout.new(~w2.bounds); ~butt = 3.collect{~w2.view.decorator.nextLine;8.collect{Button(~w2,20@20)}}; ~bits = 0!8!3; ~binary_2digit = 8.c ...
-
... GUI related core classes Inherits from: Object See also: GUI-Classes , GUI-Overview , ViewRedirect The GUI class provides a means of writing cross platform gui code. GUI provides Factory abstraction for all gui related core classes. Each g ...