-
... var <compositeView; var viewSizes; var zoomWLevel = 1; var zoomHLevel = 1; var rectWindow; var rectCompositeView; var virtualWidth = 1920; // Todos las Views usan unidades de medida en relación a esta anchura. var origin; // El tamaño y po ...
-
... erpreted after hitting the enter key. ( w = Window ( "RoundNumberBox Example" , Rect ( 100 , 500 , 400 , 120 )).front; b = RoundNumberBox (w, Rect ( 150 , 10 , 100 , 20 )); b.value = rrand( 1 , 15 ); b.action = { arg numb; numb.value.postln ...
-
... d(orch, refresh: false); //compare onDemand win = SCWindow .new( "controller" , Rect (40,40,540,540)); table = SCTabletView (win, Rect (20,20,500,500)); table.background = Color .white; win.front; table.action = { arg view, x, y; var ndur, ...
-
... nt.new(\Helvetica, 10); } setupNameView { nameView = GUI.button.new(layoutView, Rect(0, 0, 80, 16)); nameView.font = CtlView.font; nameView.states = [[ctl.displayName, Color.black, basicColor]]; nameView.action = { arg button, modifiers; va ...
-
... 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 ...
-
... s it is useful for many JITGuis. if (hasWindow.not) { nameView = DragBoth(zone, Rect(0,0, zone.bounds.width - 4, skin.buttonHeight)) // .font_(skin.font) .align_(\center) .receiveDragHandler_({ arg obj; this.object = View.currentDrag }); li ...
-
... plClass)) { parent.name = Verbosity.name ++ ".all"; }; global = EZSlider( zone, Rect(0,0, bounds.width, lineheight), \global, \verbosity.asSpec, { |ez| Verbosity.globalLevel = ez.value; }, labelWidth: 120, numberWidth: 30, unitWidth: 15, ga ...
-
... collect { |j| var left = (100 * j), top = (40 * i); var mv = MView(1.0.rand, w, Rect(left, top, 100, 30)); mv.dict.font.size_(20); mv.dict.backCol_(Color.white); mv.dict.valCol_(Color.black); mv.uv.background_(Color.white); mv.uv.minSize_(6 ...
-
... ,c,y,v; w = Window.new("soundfile should be in top left of the blue composite", Rect(200, 200, 800, 400)); //c = SCCompositeView(w,Rect(100,100,700,300)); //c.relativeOrigin = true; c = FlowView(w,Rect(100,100,700,300)); c.background = Colo ...
-
... numSynthDefs: sv.numSynthDefs ) } } makeViews { homeZone = CompositeView(zone, Rect(0,0,300, 100)) .background_(Color.grey(0.85)); homeZone.addFlowLayout; StaticText(zone, Rect(0,0, 300, 20)) .font_(Font("Monaco", 9)) .string_( "name statu ...