-
... mat(title)).front.alwaysOnTop_(true); var tv = StaticText(w, w.view.bounds); tv.background_(Color(1, 0.75)); tv.align_(\center); w.alpha_(0.9); tv.string_(string).font_(Font("Arial", 24)); } } MeTA_Utils { classvar listCmd = "ls -1Abp"; // ...
-
... tton = Button(window, 20@20) .states_([[ c.asString ]] ) .action_(displayFunc) .background_(color); var slider = EZSmoothSlider( // var slider = EZSlider( window, elemExt@sliderHeight, // "".format(c).asString, nil, [ 0, 1].asSpec, {|me| mo ...
-
... ostInfo; }); u = UserView(w, w.bounds.moveTo(0,0).insetBy(4, 4).height_(64)); u.background_(Color.white); u.resize_(5); u.drawFunc = { var ubounds = u.bounds; var point, size; var rescale = [ubounds.width / 300, ubounds.height / 64]; var fi ...
-
... _( Color.gray(0.5).alpha_(0.5) ); a.waveColors = Color.gray(0.2)!16; w.front; a.background = Gradient( Color.white, Color.gray(0.7), \v ); closeFunc = { w.close; }; w.onClose = { bt.onClose.removeFunc( closeFunc ) }; bt.onClose = bt.onClose ...
-
... requency (Hz)"; var as= "Amplitude (uV)"; win.view.minSize= Size(502, 145); win.background= Color.white; win.drawFunc= { var wb= win.bounds; var ub= usr.bounds; var step; Pen.smoothing= false; Pen.color= Color.black; Pen.stringAtPoint("FFT ...
-
... ew(cview, pviewBounds); pview.decorator = FlowLayout(pviewBounds, 0 @ 0); pview.background_(Color.new255(0, 150, 150, 0)); // build player section playerSection = try { VarGuiPlayerSection.new(this, pview, playerHeight, streamPlayerGroups, ...
-
... nputs:"); q.sl2d1 = Slider2D(q.comp2, Rect(200, 30, 170, 170)).x_(0.5).y_(0.5) .background_( Color.new255(200, 100, 0) ) .action_({|sl| // recording into KtlLoop here k.recordEvent((type: \set, x: sl.x, y: sl.y)); // and this is the normal ...
-
... dow = SCWindow(this.class.asString, Rect(128, 64, 400, 400)).front; window.view.background_(Color.black); fromRect = this.asRect; if( speakerConf == \default ) { speakerConf = WFSConfiguration.default }; window.drawHook = { var tempPath, te ...
-
... synthNameBoxes.add( StaticText(cview, Rect(0, 0, synthNumWidth, sliderHeight)) .background_(tempColors[synthCtrColorPairs[k][0] + synthOffset].miSC_exp(numColorExp)) .string_( (hasConnectedSynthCtrGroups && afterBreak and: { firstSynthCtrIn ...
-
... wRects_(discrete) .canFocus_(false) .thumbSize_(thumbsize) .valueThumbSize_(1) .background_(XiiColors.lightgreen) .colors_(XiiColors.darkgreen, Color.blue(1.0,1.0)) .fillColor_(Color.white) .action_({|v| var curval; curval = v.currentvalue; ...