-
... }); }; }); var recButton = GMRecordButton() .style_(style); var playContainer = UserView() .layout_( HLayout() .margins_(0) .spacing_(0) .add(playButton) .add(recButton) ); //////////////// // BEAT // //////////////// var pianoRoll = GMList ...
-
... ollider GUIDES GUI Custom Views A guide to creating custom views by subclassing UserView See also: UserView , Writing Classes , Introduction to GUI Tutorial 1. Setup instance vars appropriate to your widget 2. Define the *viewClass method 3 ...
-
... t is on top. The second mode is useful for example for overlaying a view with a UserView , on which you can then draw additional information. If you still want to be able to interact with the view below using the mouse, you can make the one ...
-
QUserView: Filter: Description Class methods Inherited class methods Instance methods Inherited instance methods Help template Classes | Undocumented classes QUserView : UserView : View : QObject : Object (Undocumented class) Source: classN ...
-
... ); win= Window("fingerprint", Rect(100, 100, width, height), false).front; usr= UserView(win, Rect(0, 0, width, height)); usr.drawFunc= { Pen.translate(width*0.5, height*0.5); Pen.strokeColor= Color.white; rf.array= rf.array.rotate(cnt.div( ...
-
... ( var value = 1; var displayValue = { |value| value.postln; }; var sliderView = UserView() .bounds_(Rect(0, 0, 400, 64)); var slider; var text = StaticText() .align_(\center) .string_("Slider Name"); var field; slider = Slider() .orientatio ...
-
... 0000, 1000); var w= Window("ifs", Rect(100, 200, width, height), false); var u= UserView(w, Rect(0, 0, width, height)); u.background= Color.white; u.drawFunc= { Pen.translate(width*0.5, height*0.5); a.draw(width, height); }; w.front; ) //-- ...
-
... mples a= Red3DLine(); a.points; a.update; a.render(2, 100); a.renderedPoints; ( UserView().front.animate_(true).drawFunc_{|u| Pen.translate(75, 75); a.rotation_(RedVector3D[0, u.frame*0.01, u.frame*0.05]); a.update; a.render; a.draw; a.draw ...
-
... ples a= Red3DPlane(); a.points; a.update; a.render(2, 100); a.renderedPoints; ( UserView().front.animate_(true).drawFunc_{|u| Pen.translate(75, 75); a.rotation_(RedVector3D[0, u.frame*0.01, u.frame*0.05]); a.update; a.render; a.draw; a.draw ...
-
... amples a= Red3DBox(); a.points; a.update; a.render(2, 100); a.renderedPoints; ( UserView().front.animate_(true).drawFunc_{|u| Pen.translate(75, 75); a.rotation_(RedVector3D[0, u.frame*0.01, u.frame*0.05]); a.update; a.render; a.draw; a.draw ...