-
/* syntax colorisation for a difference between lines. */ ( var str = " abc axc xxxy xkxxy klakxmxcvay klixmmycvay klymix abkly "; var lines = str.split(Char.nl).collect { |line| line.as(Array) }; var diff, lineIndex; var indices = []; diff ...
-
... s.height); this.view_(GUI.userView.new(parent, argbounds)) .drawFunc_({ GUI.pen.color = Color.black.alpha_(0.4); GUI.pen.width = 1; GUI.pen.strokeRect(Rect(bounds.left+0.5, bounds.top+0.5, bounds.width-0.5, bounds.height-0.5)); // center // ...
-
... nt = Font("Monaco", fontSize); image.draw{ Pen.stringAtPoint(string, x@y, font, Color.black); }; win.refresh; }; storeGraphicUndo = { | graphic | var gtmp = Image.fromImage(graphic); if (undoAr.size < maxUndo) { undoAr = undoAr.addFirst(gtm ...
-
... wslib 2006 // slider based on blackrain's knob SmoothSlider : RoundView { var <>color, <value, <>step, hit, <>mode, isCentered = false, <centerPos = 0.5; var <border = 0, <baseWidth = 1, <extrude = false, <knobBorderScale = 2; var <knobSize ...
-
... Instance methods start stop setBufSize Instance variables rate intensity inbus color background bufSize Inherited instance methods Examples Classes (extension) | GUI > Interfaces'>Interfaces Spectrogram Extension a spectral analysis view L ...
-
... es below use the ViewRedirect subclass, Pen . See also: SCWindow , SCUserView , Color , and String Drawing Methods The following methods define paths. You will need to call *stroke or *fill to actually draw them. *moveTo (point) Move the Pe ...
-
... Size / 60 ]); canv = UserView(w, Rect(0, 0, size, size)); canv.background_(Color.black); canv.drawFunc_ { var center, wedge; center = size@size * 0.5; wedge = { |l1, l2, color| Pen.color = color; Pen.addAnnularWedge(size ...
-
... _slider, font; var volume, volume_slider, volume_value, volume_label, volume_color; var lifetime, lifetime_slider, lifetime_value, lifetime_label, lifetime_color; var env, env_array, env_points, env_slider, env_duration, env_multiSlide ...
-
... ds Instance methods index parent childAt addChild insertChild strings setString colors setColor textColors setTextColor setView removeView view == isNull Inherited instance methods Undocumented instance methods id treeView Examples Classes ...
-
... w("Influx").front; w.layout = VLayout( HLayout( ~utext = UserView().background_(Color.rand), ~uouts = UserView().background_(Color.rand), ), HLayout( ~uins = UserView().background_(Color.rand), ~uwg = UserView().background_(Color.rand), ) ) ...