-
... kground_(Color(1, 0.75)); tv.align_(\center); w.alpha_(0.9); tv.string_(string).font_(Font("Arial", 24)); w }; /* q.warnWin("Test - Something in the setup went wrong, please do something or other", "OOPS!"); */
-
... hildren, levels, countSize; var view, bounds; var updater, updateFunc; var pen, font; pen = GUI.current.pen; font = Font.sansSerif(10); view = UserView.new(parent, Rect(0,0,400,400)); view.drawFunc = { var xtabs = 0, ytabs = 0, drawFunc; dr ...
-
... , 10@30); Pen.stringAtPoint("type backspace to clear last line.\n", 10@50); Pen.font = Font("Verdana", 12); scaleX = usr.bounds.width / object.dim.x; scaleY = usr.bounds.height / object.dim.y; Pen.scale(scaleX, scaleY); object.envir.keysVal ...
-
... , 10@30); Pen.stringAtPoint("type backspace to clear last line.\n", 10@50); Pen.font = Font("Verdana", 12); scaleX = usr.bounds.width / object.dim.x; scaleY = usr.bounds.height / object.dim.y; Pen.scale(scaleX, scaleY); object.envir.keysVal ...
-
... 8); chatView = TextView(view, Rect(0, 0, width, 170)).resize_(8); chatViewWrite.font = Font("Helvetica", 14); chatView.font = Font("Helvetica", 12); chatView.hasVerticalScroller_(true); this.startTask; listView.onClose = { this.stopTask; th ...
-
GMTextView : GMUserView { var thisString = ""; var thisFontRatio = 0.8; var thisTextOrientation = \right; var thisMaxFontSize; *new { ^super.new.init; } init { super.init; this.setEventHandler( QObject.mouseUpEvent, \mouseDownEvent, false); ...
-
... t,Rect(0,0,500,30)) .object_(model) .background_(Color.white) .align_(\center) .font_(GUI.font.new("Helvetica-Bold",18)); } guiBody { arg layout; var vert,list,listItems,actions,val; listItems = List.new; actions = List.new; displayHooks.at ...
-
... |x| UserView().drawFunc_{|usr| Pen.stringAtPoint(x.key.asString.drop(1), 50@50, Font(SGUI.font.name, 64))} .setBackgroundImage(x.value, 10).mouseUpAction_{SInstruments.toFront(x.key.asString)} }.clump(2) ) ); win.front; win.onClose= { image ...
-
... taticText(compView, Rect( 0, 50, width: 30, height: 20)).align_(\center); label.font_(Font(options.font)); label.stringColor_(Color.fromHexString("#A0A0A0")); label.string = i+1; }; /* create oscfunction */ oscOutputLevels = OSCFunc({arg ms ...
-
... .class ] ); } newWindow { |bounds, title, onClose, background, margin, gap| var font = Font( Font.defaultSansFace, 11 ); if( bounds.isKindOf( View ) ) { window = bounds; } { bounds = bounds ? Rect(230 + 20.rand2, 230 + 20.rand2, 680, 300); ...