-
... me_(true) .fontRatio_(0.3); var ampSlider = GMFaderSlider(); var ampContainer = UserView() .resizeTo(128, 700) .layout_( VLayout() .margins_(0) .spacing_(0) .add(ampText, 1) .add(ampSlider, 4) ); ampContainer.front; ) ⧉ ✔ Style Setup Before ...
-
... l interfaces Location: NOT INSTALLED! See also: GMButton , GMFeedbackButton , GMUserView , GMStyle Description GMRoundButton is an easy to use customisable button with a visual feedback. On press, its color switches from a second state back ...
-
... var win= Window("red04", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var physics; usr.background= Color.red; physics= TraerParticleSystem(0, 0, 0, 0.1); usr.mouseDownAction= {|v, x, y| va ...
-
... r creating graphical interfaces Location: NOT INSTALLED! See also: GMButton , GMUserView , GMStyle Description GMFeedbackButton is an easy to use customisable button with a visual feedback. On press, its color switches from a second state b ...
-
... var win= Window("red05", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var physics; usr.background= Color.red; usr.clearOnRefresh= false; physics= TraerParticleSystem(0, 0, 0, 0.4); usr.mou ...
-
... h_(150) ) ).front; ) ⧉ ✔ The minimum size of a view is especially important for UserViews which doesn't have by default a minimum size. In the example the first UserView is invisible. ( w = Window.new(bounds:Rect(100,100,200,200)).layout_( ...
-
... ctaves= 8; w= Window("perlin test 1d", Rect(128, 64, width, height), false); u= UserView(w, Rect(0, 0, width, height)); u.background= Color.black; a= RedPerlin.new; u.drawFunc= { Pen.strokeColor= Color.white; width.do{|x| Pen.addRect(Rect.a ...
-
... a cross for creating graphical interfaces Location: NOT INSTALLED! See also: GMUserView , GMStyle Description GMCloseButton is an easy to use customisable button. It natively displays a cross, suggesting pressing it will close the currentl ...
-
... var win= Window("Bouncy Balls", Rect(100, 100, width, height), false); var usr= UserView(win, Rect(0, 0, width, height)); var mouse, b, c; var physics; var handleBoundaryCollisions; usr.background= Color.white; physics= TraerParticleSystem. ...
-
... .layout = VLayout( sl = Slider().orientation_(\horizontal).maxHeight_(30), uv = UserView().background_(Color(0.1, 0.1, 0.4)) ); sl.action = SpeedLim(0.15, { |view| j = view.value; uv.refresh; }, AppClock); uv.drawFunc = { |view| var b = vie ...