-
... View.skin ); } { labelWidth = -4; }; vws[ \valueView ] = SmoothNumberBox( view, Rect(labelWidth + 4,0,bounds.width-(labelWidth + 4),bounds.height) ) .action_({ |vw| action.value( vw, vw.value ); } ).resize_(5) .step_( stp ) .scroll_step_( s ...
-
... if( skin.font.class != Font.implClass ) { // quick hack to make sure font is correct skin.font = Font( Font.defaultSansFace, 10 ); }; if( parent.isNil ) { parent = chain.class.asString; }; if( parent.class == String ) { if( (singleWindow or ...
-
... tQWindow {|argName, argBounds, resize, border, scroll| argBounds= argBounds ?? {Rect(128, 64, 300, 300)}; if(scroll, {"RedQWindow: can't scroll".warn}); view= QTopView(this, argName.asString, argBounds.moveTo(0, 0), resize, border); resizab ...
-
... tQWindow {|argName, argBounds, resize, border, scroll| argBounds= argBounds ?? {Rect(128, 64, 300, 300)}; if(scroll, {"RedQWindow: can't scroll".warn}); view= QTopView(this, argName.asString, argBounds.moveTo(0, 0), resize, border); resizab ...
-
... tQWindow {|argName, argBounds, resize, border, scroll| argBounds= argBounds ?? {Rect(128, 64, 300, 300)}; if(scroll, {"RedQWindow: can't scroll".warn}); view= QTopView(this, argName.asString, argBounds.moveTo(0, 0), resize, border); resizab ...
-
... .org/licenses/>. */ UEventView { classvar <>showIndex = true; var <>event, <>i, rect, <>selected = false, <>state = \nothing; var <>originalStartTime, <>originalEndTime, <>originalFades, <>originalTrack; var <px5Scaled, <px10Scaled; //state ...
-
... 40, freq2), 0, amp), pan ) ); }).add; s.sync; //--world w= RedWindow("3d test", Rect(128, 64, width, height)).front; wgrav= RedVector3D[0.1, 0.98, 0.1]; world= RedWorld3(RedVector3D[width, height, depth], wgrav, 20, 0.1); //dim,grav,maxvel, ...
-
... .org/licenses/>. */ UEventView { classvar <>showIndex = true; var <>event, <>i, rect, <>selected = false, <>state = \nothing; var <>originalStartTime, <>originalEndTime, <>originalFades, <>originalTrack; var <px5Scaled, <px10Scaled; //state ...
-
... ar <>snapbackValue = 0, <snapback = false; *new { |parent, bounds, element, redirectView| // "% : redirectView is % \n".postf(thisMethod, redirectView); ^this.newCopyArgs( element ).makeView( parent, bounds, redirectView ); } *initClass { m ...
-
... , wgrav, objs, sprs, trg, mp, n= 18; //--world w= RedWindow("chain of springs", Rect(128, 64, width, height)).front; mp= w.mouse; wgrav= RedVector2D[0, 0.98]; world= RedWorld1(RedVector2D[width, height], wgrav, 30, 0.8); //dim,grav,maxvel,d ...