-
... 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 ...
-
... r.clump(numchans).flop.collect(_.clump(netsize)); // SCWindow w = Window(title, Rect(100, 500, (picsize + 10)*rowlen+10, (picsize + 30)*numrows+20)); w.front; if(title.isNil){title = path.basename.splitext[0]}; if(labels.isNil){ labels = nu ...
-
... gui is already open, don't recreate mainView = FlowView(layout, argBounds ?? { Rect(0, 0, 700, 300) }, margin: 2@2); seqMenu = GUI.popUpMenu.new(mainView, Rect(0, 0, 120, 20)) .items_(model.menuItems) //.align(\center); .action_({ arg m; m ...
-
... gui is already open, don't recreate mainView = FlowView(layout, argBounds ?? { Rect(0, 0, 700, 300) }, margin: 2@2); seqMenu = GUI.popUpMenu.new(mainView, Rect(0, 0, 120, 20)) .items_(model.menuItems) //.align(\center); .action_({ arg m; m ...