-
... . (Previously, Windows users had to obtain the now-ancient Visual Studio 2013.) UserView now supports Retina/HiDPI display. A somewhat different build process on Linux. See the README. The minimum required version is now CMake 3.5 instead o ...
-
... s, { this.refresh }) .put( \curves, { this.refresh }); } refresh { if( plotView.userView.view.isClosed.not ) { { plotView.refresh }.defer; }; } selected_ { |index| selected = index; this.changed( \selected, selected ); this.refresh } select ...
-
... n.view.mouseMoveAction; win.front; CmdPeriod.doOnce({win.close}); //--plot usr= UserView(win, Rect(*#[0.1, 0.08, 0.88, 0.84]*win.bounds.extent.asArray)); img= Image(usr.bounds.width.asInteger, usr.bounds.height.asInteger); img.interpolation ...
-
... Top = true; w.view.decorator_(FlowLayout(w.bounds,4@4, 4@4)); ~topPanel = UserView(w, 494@45).background_(Color.rand(0.7,0.9)); ~topPanel.decorator_(FlowLayout(~topPanel.bounds, 4@4, 4@4)); ~subPanel= Array.fill(4, { arg view; ...
-
... = Rect(0, 0, 400, max(400, tabSize * (countSize.value(levels) + 2))); // view = UserView.new(window, bounds); // // view.drawFunc = { // var xtabs = 0, ytabs = 0, drawFunc; // // drawFunc = {|group| // var thisSize, rect, endYTabs; // xtabs ...
-
... ew(123); // now type "x = x + 1" // -> 2 // 2. Window resize by code loops when userview with drawfunc is present. m = MView(123); m.drawFunc.disable(\all); m.parent.bounds_(Rect(100, 100, 150, 24)); // crash m.parent.bounds_(m.parent.bound ...
-
... tationProb = 0.2; win = Window .new( "TSP" , Rect (300, 300, 500, 500)); view = UserView (win, win.view.bounds).background_( Color .black) .drawFunc_ ({ var fittest = gaInstance.genePool[0]; points.do ({ |pnt, cnt| Pen .color = if(cnt == 0, ...
-
... LinesButtonLeft, ampLinesButtonRight, ampLinesPopup; var ampUsr, ampUsrAnim, ampUserView; var ampLfoDepthElement= SGUIelement(); var ampLfoDepthSpec= ControlSpec(0, 100, 'lin', 1, defaultAmpLfoDepth, "%"); var ampLfoRateElement= SGUIelement ...
-
... bounds = Rect(bounds.left+1, bounds.top+1, bounds.width, bounds.height); view = UserView(w, bounds); bounds = bounds.moveTo(0,0); // my reference boxWidth = bounds.width.asFloat / numCols; boxHeight = bounds.height.asFloat / numRows; view.f ...
-
... r view Inherits from: Object Plot data of up to three dimensions on a Window or UserView . See also: plot. Creation / Class Methods *new(name, bounds, parent) name - Plot window title. parent - Either a Window / View may be passed in - then ...