-
... keyDownAction = { |view, key| MTP.keydownDict[key].value(view, key); }; uview = UserView(guiWin, guiWin.view.bounds).resize_(5) .background_(Color.grey(0.4)); uview.drawFunc_(defaultDrawFunc); guiOn = true; ^guiWin.front; } *resetActions { ...
-
... in= Window("EaseGallery", Rect(100, 100, width, height), false).front; var usr= UserView(win, Rect(0, 0, width, height)); var drawBox= {|pos, class ...arguments| var rect= Rect(0, 0, boxWidth, boxHeight); var arr= Array.fill(boxWidth, {|i| ...
-
... or.white), tempoCtlView = View().minWidth_(400), nil )), beatView = UserView().fixedHeight_(100) ); deviceMenu .items_(devices) .background_(vBack) .stringColor_(Color.white) .action_({ |view| if(device.notNil) { mi ...
-
... ed bugs: * Refixed the save/load mechanism, hopefully properly this time. * The UserView code now uses the new coordinates system. So Hadron now requires SC 3.3.1 minimum, and SwingOSC 0.62 on systems that use it. * Fixed the code that was ...
-
... )", Rect(10, 10, 700, 700)); win.onClose = { r.fReset; run = false; }; view = UserView(win, 700@700).drawFunc_({ r.fUpdate }).clearOnRefresh_(false).mouseDownAction_({ |v,x,y| view.clearDrawing; r.fReset; r.fSpawn(x,y) }); win.front; { ...
-
... ow_size[0], window_size[1]), false); win.background_( frame_color ); slider = UserView( win, Rect( margin, margin, window_size[0] - ( margin * 2 ), window_size[1] - ( margin * 2 ) )); slider.drawFunc = { Pen.width = stroke_size; Pe ...
-
... fileView = SoundFileView().readFile(soundFile).gridOn_(false); grainView = UserView().resize_(5); window.layout = StackLayout(fileView, grainView).mode_(\stackAll).index_(1); window.onClose = {p.stop}; window.front; // Where in ...
-
... riginDist eyeDist renderDistanceSize pointDistScale refresh Internal properties userView pointsNorm pointsPx Other export Inherited instance methods Examples Classes (extension) | GUI PointView Extension An interactive view displaying a col ...
-
... ote: this will leave stray clocks running //--changes 080819: //added metronome userview //changed fps to dur for update rate //--changes 080815: //added isPlaying flag //added RedMstGUI class and helpfile //--changes 080814: //added skipEm ...
-
... w = Window.new( "Scale Listener", Rect.new( 0, 0, 1500, 700 ) ); var subview = UserView.new( view, Rect( 0, 0, view.bounds.width, view.bounds.height * 0.2 * all_groups.size ) ); var slider = Slider.new( view, Rect( view.bounds.width * 0 ...