-
... , numberWidth| spec = argSpec.asSpec; value = spec.constrain(initValue); view = CompositeView(parent, bounds); view.layout = HLayout( number = NumberBox().maxWidth_(numberWidth), slider = Slider().orientation_(\horizontal) ).margins_(0).spa ...
-
... lue_(0) } }; } init { |parent, bounds| var center = bounds.extent * 0.5; zone = CompositeView(parent, bounds) .background_(Color.grey(0.8, 0.5)); skin = GUI.skins.jit; nameView = StaticText(zone, Rect.aboutPoint(center, 30, 10)) // .string_ ...
-
... lue_(0) } }; } init { |parent, bounds| var center = bounds.extent * 0.5; zone = CompositeView(parent, bounds) .background_(Color.grey(0.8, 0.5)); skin = GUI.skins.jit; nameView = StaticText(zone, Rect.aboutPoint(center, 30, 10)) // .string_ ...
-
... and example code for writing it as a SC Class. GUI design: These variables hold CompositeViews placed onto main window: ___________________________ | leftTop | | |____________| | | | | | leftBottom | right | | | | |____________| | | | | | v ...
-
... 7"; window.bounds = rect; image = Image(imagesPath +/+ "panels" +/+ "panel_7"); compositeView.setBackgroundImage(image,10); this.makeChannels; this.saveOrigin; this.resizePanel(Window.availableBounds.width/virtualWidth); this.saveOrigin; wi ...
-
... SessionGUI(session)} ) } ] ); }; }.defer(0.1) }, margin:0, gap:0); topBarView = CompositeView(view, Rect(0,0,bounds.width,topBarHeigth)).resize_(2); topBarView.addFlowLayout; SmoothButton( topBarView, 40@size ) .states_( [ [ \play, Color.bl ...
-
... 1"; window.bounds = rect; image = Image(imagesPath +/+ "panels" +/+ "panel_1"); compositeView.setBackgroundImage(image,10); this.makeFilters(compositeView, 38, 80, 53.4); this.makeEnvelopes(compositeView, 38, 238, 59.7); this.makeRingModula ...
-
... me ); }; parent.onClose = { if( current == this ) { current = nil; }; }; view = CompositeView( parent, parent.asView.bounds.insetAll(0,0,0,30) ); view.resize_(5); view.addFlowLayout(0@0, 4@4); RoundView.useWithSkin( UChainGUI.skin, { barMap ...
-
... me ); }; parent.onClose = { if( current == this ) { current = nil; }; }; view = CompositeView( parent, parent.asView.bounds.insetAll(0,0,0,30) ); view.resize_(5); view.addFlowLayout(0@0, 4@4); RoundView.useWithSkin( UChainGUI.skin, { barMap ...
-
... redKeys, buttonState).init(parent, bounds) } init { |parent, bounds| var comp = CompositeView(parent, Rect(0,0, bounds.width, bounds.height)); var width = 105, height = 22, gap, buttons; comp.decorator = FlowLayout(comp.bounds); gap = comp. ...