-
... ounds_(Rect.aboutPoint(Window.screenBounds.center + (0 @ -60), 260, 190)); MTP.uview.background_(Color.grey(0.4, 0.6)); MTP.guiWin.view.alpha_(0.8); MFdef(\mtp).add(\pad, { |id, xys| var mypadindex, myimukey, numfingers; var imukeys = [ 'ac ...
-
GMGridView : GMUserView { var thisDrawGridBG = false; var thisDrawDotGridBG = false; var bgGridColor; var bgGridWidth = 1; var thisDrawGrid = false; var thisDrawDotGrid = false; var gridColor; var gridWidth = 2; var caseSize; var thisGridSi ...
-
... alette.button], ["•Greybox2", palette.buttonText, palette.highlight] ]), plate= View().fixedSize_(Size(320, 240)).background_(Color.grey(0.9, 0.5)), infoTextElementString.addView(StaticText().fixedHeight_(" ".bounds(fnt).height*2) .align_(\ ...
-
... 0)}; parent.notNil.if({ win = parent; width = parent.bounds.width; dec = parent.view.decorator; }, { width = bounds.width; win = Window.new(id = ctkPMod.id, bounds); win.onClose_({ ctkPMod.releaseFunc.removeFunc(relFunc); ctkPMod.hasGUI = f ...
-
... List.new.addFirst(conn)); }; }; }; }; ^chains } } JITModPatchGui { var <model, <view, window, psGuiView, psGui, saveButton, saveAsButton, loadButton, synthdefButton, clearButton, midiButton, bufButton, stack, bufferView, // not yet midiView ...
-
/* abstract superclass for testing views on windows. ideally should leave window open on failure or error */ ViewTester : UnitTest { var w; var <>leaveWindowsOpen = false; setUp { w = Window.new; if(leaveWindowsOpen,{ w.front }) } tearDown ...
-
... ax,decorator; w = w ?? { w = GUI.window.new(title, Rect( 0,0,300,25 )).front; w.view.decorator = FlowLayout(Rect(0, 0, 300, 25), 2@2, 2@2); decorator = w.view.decorator; w; }; StaticText.new( w, 150@20 ).string_( title ); min = EZNumber.new ...
-
... ax,decorator; w = w ?? { w = GUI.window.new(title, Rect( 0,0,300,25 )).front; w.view.decorator = FlowLayout(Rect(0, 0, 300, 25), 2@2, 2@2); decorator = w.view.decorator; w; }; StaticText.new( w, 150@20 ).string_( title ); min = EZNumber.new ...
-
... ("Warning: %".format(title)).front.alwaysOnTop_(true); var tv = StaticText(w, w.view.bounds); tv.background_(Color(1, 0.75)); tv.align_(\center); w.alpha_(0.9); tv.string_(string).font_(Font(Font.defaultMonoFace, 24)); };
-
... y; stop a.stop; makeButton (parent, bounds) Put a stop/start button on a parent view or window parent - the parent view (window or compositeview) bounds - a rect with the button size.