-
... or}); } makeWindow {|bounds, rate= 1.0, interpolation= \fast| var b= bounds ?? {Rect(300, 300, width, height)}; var win= Window(this.class.name, b); var img= Image(width, height).interpolation_(interpolation); var index= 0, image; win.drawF ...
-
... isNil) { label = collective.myName.asString + "Collective"; w = SCWindow(label, Rect(10, Server.named.values.size * 120 + 10, 306, 292)); w.view.decorator = FlowLayout(w.view.bounds); } { label = w.name }; listview = SCListView(w, w.view.bo ...
-
... d; d = Document((envir.tryPerform(\name) ? "log").asString); d.bounds_(bounds ? Rect(10, 400, 600, 500)); d.background_(color ? Color.new255(180, 160, 180)); d.string_("//" + Date.getDate.asString ++ "\n\n\n"); this.action = { arg disp, str ...
-
... ue); blinkTimer = blinkDuration; win = Window.new( name: "SCLOrkWatch", bounds: Rect(0, 0, winWidth, winHeight), resizable: false ).front.alwaysOnTop_(true); minutesView = StaticText.new(win); separatorView = StaticText.new(win); secondsVie ...
-
... rocessView.notNil } }).if({ view = GUI.popUpMenu.new(voicer.editor.processView, Rect(0, 0, 120, 20)) .items_(this.items) .action_({ arg v; this.value_(v.value, false); // set value but don't update gui processes.at(v.value).doAction(this) } ...
-
... rocessView.notNil } }).if({ view = GUI.popUpMenu.new(voicer.editor.processView, Rect(0, 0, 120, 20)) .items_(this.items) .action_({ arg v; this.value_(v.value, false); // set value but don't update gui processes.at(v.value).doAction(this) } ...
-
( //--settings var winRect= Rect(0, 60, 400, 400); //x, y, w, h var palette= SGUI.palette; //--functions and objects var parseAmplitudes, parseFrequencies; var stringToFloats; //--gui var presetsPop; var amplitudesTypePop, amplitudesText, a ...
-
... or.new255(162, 82, 49, alphaColor) ]; var window= Window.new("Plotter Example", Rect(0,0,1024,600)).front; window.view.layout_(VLayout( //the plotters (plotterA= Plotter("PlotterA",nil,View())).interactionView.minSize_(500@150).canFocus_(fa ...
-
... The parent view for the control. Should be set to window . argBounds - Type is Rect . The bounds of the control, 2 menus would be placed automatically inside these bounds. argParentApp - The parent Hadron instance. Should be set to parentA ...
-
... s spec, isOn, and sliderParam q.sources[0].getHalo; // test toggling on/off - direct play/release q.sources[0].send.play; q.sources[0].release; */ // first function - toggle a sound on/off // return whether is was turned on or off ( q.srcTo ...