-
... 4!4; this.layout = mainLayout; this.setContextMenuActions( MenuAction.separator.string_("Item"), MenuAction("Insert control before", { if (actionInsertControlItem.notNil, { actionInsertControlItem.value(this, "INSERT_BEFORE"); }); }), MenuA ...
-
... tonShowFileMenu = ButtonFactory.createInstance(this, class: "btn-normal", buttonString1: "File") .action_({ fileMenu.front; }); mainLayout.add(buttonShowFileMenu, 0, 0); buttonShowSessionMenu = ButtonFactory.createInstance(this, class: "btn ...
-
... de array. { |a = 9, b = 10, c| a + b }.def.code; sourceCode Get the source code string. { |a = 9, b = 10, c| a + b }.def.sourceCode.postcs; context Get the enclosing FunctionDef or Method. findReferences(aSymbol) return a list of all refere ...
-
... mber in the TextField will set the value to 0.0 (because converting a non-float String with .asFloat returns 0.0). ( var value = 1; var displayValue = { |value| value.postln; }; var sliderView = UserView() .bounds_(Rect(0, 0, 400, 64)); var ...
-
... , selectionSizeG; writeName { arg layout; this.prWriteName(layout,model.class.asString); } guiBody { arg layout; var xfade, r, size,absBounds,test; divs = 1; zout = 1.1; zin = zout.reciprocal; zyout = 1.1; zyin = zyout.reciprocal; rScroll = ...
-
... selectionSizeG; writeName { arg layout; this.prWriteName(layout, model.class.asString); } guiBody { arg layout; var xfade, r, size, absBounds, test; divs = 1; zout = 1.1; zin = zout.reciprocal; zyout = 1.1; zyin = zyout.reciprocal; rScroll ...
-
... ack; pen.strokeColor = Color.black; pen.strokeRect(node.fillrect); }); if( node.string != "", { //if( fillColor != fontColor, {Êpen.fillColor = fillColor = fontColor }); if(GUI.current.id == \swing, { pen.font = font; pen.stringInRect( node ...
-
... eviewHeight + 10,sidePanelWidth,30)).font_(Font("Courier", 22)).align_(\center).stringColor_(Color.white).string_("Level:"); levelBox = StaticText(compositeView, Rect(matrixWidth + boxSpace, previewHeight + 50, sidePanelWidth - (2*boxSpace) ...
-
... ; c = Plotter.new("Output", parent: z); StaticText(x, Rect(5, 0, 50, 20)) .string_("input"); StaticText(y, Rect(5, 0, 200, 20)) .string_("transfer function"); StaticText(z, Rect(5, 0, 50, 20)) .string_("output"); // // FEEDING ...
-
... { if( hasParent ) { labelView = StaticText( view, bounds.width @ labelHeight ) .string_( label ); bounds.height = bounds.height - ( labelHeight + gap.y ); } { view.parent.findWindow.name = label; }; }; textView = TextView( view, bounds.widt ...