-
... h, args[0].bounds.height ); }) .drawFunc_ ({|view| Pen.color = Color.black; Pen.font = Font(Font.defaultMonoFace, 10); Pen.stringAtPoint(name.asString, 3@3); }); } color_ {|argColor| color = argColor; view.background_(color); } removeSelf { ...
-
GMButton : GMUserView { var thisString = ""; var thisFontRatio = 0.8; var thisMaxFontSize = 64; var thisOrientation = \right; var thisSVG; var thisSVGPath = ""; var thisSVGRatio = 0.8; var thisSVGSize; *new { ^super.new.init; } init { super ...
-
... kground_(Color(1, 0.75)); tv.align_(\center); w.alpha_(0.9); tv.string_(string).font_(Font("Arial", 24)); } } MeTA_Utils { classvar listCmd = "ls -1Abp"; // print all files in a row, dirs have a trailing slash classvar <slash; *initClass { ...
-
... deView.string_("t%".format(model.getDef(c.asSymbol))) }; me.editable = true; } .font_(Font(Font.defaultMonoFace, 18)); decorator.nextLine; // set general amplitude vSlider = EZSmoothSlider( // vSlider = EZSlider( window, (width - (2*window. ...
-
... tn1, btn2, pw, po; var horizontalScale, verticalScale, maxFreq, maxAmp; var f0= Font("Helvetiva", 16); var f1= Font("Helvetiva", 14); var f2= Font("Helvetiva", 10); var colors= [ Color.new255(129, 129, 129), Color.new255(124, 75, 141), Colo ...
-
... rspectiveView = View().layout_( HLayout( VLayout( StaticText().string_("Ortho").font_(Font.default.bold_(true)).align_(\center).fixedWidth_(65), GridLayout.columns( [ nil, StaticText().string_("X"), StaticText().string_("Y"), StaticText().s ...
-
... f( filterName.notNil ) { " : " ++ filterName } { "" } ) .align_( \bottomLeft ) .font_( RoundView.skin.font.copy.bold_( true ) ); views[ \scrollview].decorator.nextLine; dict[ filterName ].clump(2).sort({ |a,b| a[0] <= b[0] }).flatten(1).pai ...
-
... 724; defaults[\PAGE, \state] = 1; defaults[\PAGE, \group] = 0; defaults[\PAGE, \font] = "tahoma,11,0"; defaults[\PAGE_REMOVE, \group] = 0; defaults[\PAGE_REMOVE, \class] = defaults[\PAGE, \class]; defaults[\PAGE_RENAME, \class] = defaults[\ ...
-
... mBpb.value); tWidth.do ({|cnt| block ({|break| if(cnt % ticksPerBar == 0, { Pen.font_(Font("Courier-Bold", 10)); Pen.color_(Color.red); Pen.stringAtPoint((cnt / ticksPerBar).floor.asString, (cnt * zoom)@7); Pen.color_(Color.black); Pen.font ...
-
... s; writeName { arg layout; CXLabel(layout, "Multi Dimensional Spline Designer", font:Font("Helvetica-Bold", 14)); layout.startRow; } guiBody { arg layout, bounds, argMaxTime; maxTime = argMaxTime ?? {model.spline.points.last[0]}; splineGui ...