-
... ng by executing the currently defined function. See also: Window , SCUserView , Color , and Pen . Note: for cross-platform GUIs, use Pen .stringAtPoint, Pen .stringInRect , Pen .stringCenteredIn , Pen .stringLeftJustIn , Pen .stringRightJus ...
-
... de and close the window. ( w = Window .new(border: false ); w.view.background_( Color .rand); w.front; w.fullScreen; Button .new(w, Rect (200,200,200,200)).states_([[ "Close Window" ]]).action_({w.endFullScreen;w.close}); ) isClosed Returns ...
-
... ds, scroll: false); infoString= StaticText(mainView, Rect(3, 3, 200, 20)).stringColor_(Color.grey); } } setViewOptions{ mainView.view.background = Color.black; mainView.onClose = {mainView = nil; }; mainView.front; /* mainView.alwaysOnTop = ...
-
... on — (spacebar to pause/unpause)", Rect(100, 100, 1020, 520) ).background_(Color.gray(0.2)).front; win.view.decorator_(FlowLayout(win.view.bounds, 10@10, 10@10)); cview = UserView(win.view, 1000@500).background_(Color.gray(0.25)); ...
-
... 0, outmin=0, outmax=127, num=50+i; TextField(window, size1).font_(font).stringColor_(Color.green(0.5)).string_(cmd).action_({ |v| cmd = v.string; responders[i].cmdName = cmd }); NumberBox(window, size2).scroll_step_(0.01).step_(0.001).v ...
-
... wslib 2007 // Pen-based plot view PlotView : SCUserView { var <value; var <lineColor, <lineWidth = 1; var <dotColor, <dotSize = 0; var <fillColor, <fill = false; var <border = 1, <borderColor; var <minVal = 0, <maxVal = 1; var orientation ...
-
... Func; var makeField, nextFields; var staticTextFont, bigSansFont; var staticTextColor = Color(0.2, 0.2, 0.2); var textFieldFont, bigMonoFont; var textFieldFontColor = Color.black; var textFieldBg = Color.white; if (Font.respondsTo(\availabl ...
-
... StartTime,\dur,\fadeIn,\fadeOut,\fadeInCurve,\fadeOutCurve,\name,\track,\displayColor,\start,\end,\autoPause].do{ |key| s.put(key,{ { if( this.currentScore.updatePos ) { this.currentScore.changed( \something ); }; }.defer; }) }; s } } remov ...
-
... vetiva", 16); var f1= Font("Helvetiva", 14); var f2= Font("Helvetiva", 10); var colors= [ Color.new255(129, 129, 129), Color.new255(124, 75, 141), Color.new255(54, 87, 158), Color.new255(49, 113, 89), Color.new255(221, 178, 13), Color.new25 ...
-
... ws[ \plot ] = UserView( view, (subViewHeight@subViewHeight) * 4 ) .background_( Color.gray(0.5) ) .drawFunc_({ |vw| var radius, points, pos, n = 64; radius = (vw.bounds.width / 2) - 2; #points, pos = n.collect({ |i| var value; i = i.linlin( ...