-
... safety check in RedObject gravityForce, added an example * 220724 - improve RedWindow timing for smoother drawing and adapted examples * 220719 - added RedVector4, matrix multiplication and shape classes with examples * 220713 - refactor R ...
-
WinBounds.addMake(\chanTest, { q.chantest = q.chantest ? (); q.chantest.win = Window("chanTest").front; q.chantest.win.addFlowLayout; Button(q.chantest.win, Rect(0,0,120,30)).states_([["STOP"]]) .action_({ q.chantest.pink.end; q.chantest.ta ...
-
... nf ); // calls .asStream internally ~freq.postln; // becomes a Routine ( ~win = Window( ).front; ~slider = EZSlider(Ê ~win, 400@20,Ê "freq", \freq, { |sl| ~freq = sl.value }, 440, true ); ) */ PenvirGet : Pattern { var <>key; var <>default; ...
-
... e Examples // trigger percussion-style notes from computer keyboard while above window. // could also be done without NPVoicer, but it is convenient with NPVoicer. ( s.latency = nil; g = NPVoicer ( Ndef ( \x )); g.prime({ |freq = 400| SinOs ...
-
... ).activeNames; MFdef(\mainWinUpdate).enable(\imuPad); ( ~mfgui = { |mf| var w = Window(mf.cs, Rect(100, 100, 300, 200)).front; var modebuts, funcbuts; var updateFuncbuts = { funcbuts.do { |but, i| but.value = mf.activeNames.postln.includes( ...
-
... es2= matrices.collect{|x| x*[1, 1, 1, 1, width, height]}; this.prDraw(0); } makeWindow {|bounds, background| var b= bounds ?? {Rect(100, 200, 400, 400)}; var win= Window(this.class.name, b, false); var usr= UserView(win, Rect(0, 0, b.width, ...
-
... iewProtos, /*viewKeys,*/ viewBounds).init } init { clearColor = { QtGUI.palette.window }; color1 = clearColor; // Color.new255(199, 227, 202); color2 = clearColor; // Color.new255(230, 109, 225); } makeViews { |layout, origin, mixer, mcgui| ...
-
ServerTreeGui : ObjectGui { // model is Server *makeWindow { arg server; var gui; server = server ? Server.default; gui = super.new(server); server.getQueryTree({ arg rootData; gui.gui(nil,nil,rootData) }) } gui { arg layout,bounds,root; va ...
-
( //--settings var winRect= Rect(Window.availableBounds.width-400, 0, 400, 200); //x, y, w, h var palette= SGUI.palette; var fnt= Font.monospace(10); var volumeSpec= ControlSpec(-inf, 10, 'db', 0.0, 0.0, "dB"); var snapshotKeys= #[ //more c ...
-
... hainGUI { classvar <>skin; classvar <>current; classvar <>all; classvar <>singleWindow = true; classvar <>packUnitsDefault = true; classvar <>scrollViewOrigin; classvar <>startTimeMode = \time; // \time, \bar classvar <>durationMode = \dura ...