-
... unds = view.asView.bounds; view.resize_( resize ? 5 ); this.addCtrl; plotView = UserView( view, bounds.moveTo(0,0) ) .resize_( 5 ) .onClose_({ this.removeCtrl; }); plotView.mouseDownAction = { |vw,x,y,mod| var bounds; var pt; if( active ) { ...
-
... unds = view.asView.bounds; view.resize_( resize ? 5 ); this.addCtrl; plotView = UserView( view, bounds.moveTo(0,0) ) .resize_( 5 ) .onClose_({ this.removeCtrl; }); plotView.mouseDownAction = { |vw,x,y,mod| var bounds; var pt; if( active ) { ...
-
... n with time, play/stop, amp etc [ VLayout( { var dragOffset, action; zoomView = UserView() .background_(skin.background.lighten(Color.gray(1, 0.1), 0.1)) .fixedHeight_(50) .drawingEnabled_(true) .mouseDownAction_({arg view, x, y, modifiers, ...
-
... f(nuview.view); }; nuview }; redirView = nil; newViews; }; }).flat; labelView = UserView( parent, bounds.moveTo(0,0) ) .background_( Color.black.alpha_(0.33) ) .drawFunc_({ |vw| views.do({ |item, i| var name; var doDraw = item.view.isKindOf ...
-
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 ...
-
... ont_(Font("Helvetica", labelSize)) .string_(""); // Pen draws in here usrView = UserView(compView, Rect(0, txtH, size, size)).canFocus_(false); scs= XiiDiscs.new; // does the interval calcs dotsColFn = { Color.black }; lines = true; this.ma ...
-
... tainer = View().layout_( VLayout( widget, if (i != this.class.widgets.size()) { UserView().fixedHeight_(10).drawFunc_({ |v| var y = (v.bounds.height / 2).round + 0.5; Pen.strokeColor = Color.grey(0.5, 0.2); Pen.width = 1; Pen.line(2@y, (v.b ...
-
... dFile.numFrames / soundFile.sampleRate; window.addFlowLayout( 4@4, 4@4 ); uvw = UserView( window, window.bounds.insetAll( 4, 4, 4, 40 ) ).resize_(5); uvw.background = Color.gray(0.6); uvw.bounds = uvw.bounds.insetAll( -4, -4, -4, 0 ); windo ...
-
... on_(\vertical).minSize_(15@180)), View().fixedSize_(15@5) ), [StackLayout( usr= UserView().minSize_(500@100), usrAnim= UserView().minSize_(500@100) ).mode_(\stackAll), stretch:1] ), HLayout( View().fixedSize_(usrPadding.width+15@15), ampRan ...
-
... f the focus frame of the tabs. Cocoa only. unfocusTabs_(boolean ) Unfocuses the UserView which draws the tabs after a tab is clicked. Defaut on Cocoa is false, otherwise true. (because Swing can't hide focus frames); backgrounds_ (colorarra ...