-
... tempTransX; tempSkewX = skewX; tempTransX = translateX; this.layout_( VLayout( HLayout( rTxt = StaticText().string_("Rotation") .mouseDownAction_({ |txt| var cur; cur = rotationView.visible; if (cur) { txt.stringColor_(offCol); this.skewX_ ...
-
... patternBoxName); // Header controls // Score Id input text field layoutHeader = HLayout(); layoutMain.add(layoutHeader); buttonPlay = ButtonFactory.createInstance(this, class: "btn-toggle btn-large", buttonString1: "▶", buttonString2: "◼"); ...
-
... ).initialize().initializeView(); } initialize { } initializeView { mainLayout = HLayout(); mainLayout.margins = 0!4; this.layout = mainLayout; numberBoxChan = NumberBox(); numberBoxChan.background = Color.white.alpha_(0.5); numberBoxChan.to ...
-
... es_([["Apply"]]) .action_{ this.applyAction() }; topLayout = VLayout( infoText, HLayout(linkButton, modeButton) ); bottomLayout = HLayout(cancelButton, applyButton); mainView = View(parent); mainView.bounds_(bounds).layout_( VLayout( topLay ...
-
... iew().minSize_( 40@40);// An area to show the color var v = View().layout_( l = HLayout( r, g, b, a)); v.front; ( red: r, green: g, blue: b, area: a, v: v ) }; ~makeAlternativeView = { var r = NumberBox(); var g = NumberBox(); var b = Numbe ...
-
... t; win.view.background= GUI.skins.redFrik.background; win.view.layout= VLayout( HLayout( lagBox= RedNumberBox().maxHeight_(lh).maxWidth_(bw) .value_(redMixer.lag) .action_({|v| redMixer.lag= v.value.max(0)}); controllers.add( SimpleControll ...
-
... ck ); color_picker_view.layout_( VLayout( [ helper, stretch:1 ], [ HLayout( [ h_slider, stretch: 1 ], [ sv_slider, stretch: 2 ] ), stretch:2 ] ); ); color_picker_view.addUniqueMethod( \bindFunction, { | o ...
-
... t; win.view.background= GUI.skins.redFrik.background; win.view.layout= VLayout( HLayout( outBox= RedNumberBox().maxHeight_(lh).maxWidth_(bw) .value_(redEffectsRack.out) .action_({|v| redEffectsRack.out= v.value; }); controllers.add( SimpleC ...
-
... synths[ch] = nil; }; nil; }); tasks[ch].play; }; keys.do {|row, i| var layout = HLayout.new; win.layout.add(layout); row.do {|key,j| var v = Button(win, Rect(0,0,5,5)); v.states = [ [key.asString,Color.black, Color.white], [key.asString,Col ...
-
... e"); ~console.postMsg("Hello World !"); // Nest it inside a Layout win.layout_( HLayout( ~console, ).margins_(0)); win.front; // Useful when developping CmdPeriod.doOnce({ win.close; }); ) ~console.postMsg("Update !"); ⧉ ✔ helpfile source: ...