-
... corator = FlowLayout(zone.bounds, zoneMargin, skin.gap); nameBut = Button(zone, Rect(0,0, nameWidth, height)) .font_(font) .resize_(2) .states_([ [" ", skin.fontColor, skin.onColor] ]) // .keyDownAction_({ |btn, char| // char.postcs; // if ...
-
... conversion to class by adc // tests w = Window("Stick").front; z = StickView(w, Rect(200,100,100,100)); z.x = -1; z.refresh; z.x = 1; z.refresh; z.x = 0; z.refresh; z.y = -1; z.refresh; z.y = 1; z.refresh; z.y = 0; z.refresh; z.hatval = 1; ...
-
... conversion to class by adc // tests w = Window("Stick").front; z = StickView(w, Rect(200,100,100,100)); z.x = -1; z.refresh; z.x = 1; z.refresh; z.x = 0; z.refresh; z.y = -1; z.refresh; z.y = 1; z.refresh; z.y = 0; z.refresh; z.hatval = 1; ...
-
... = \QScrollTopView ) { bounds.width = bounds.width - 20; }; }; bounds = bounds.asRect; bounds.height = this.class.getHeight( unit, viewHeight, margin, gap ); if( unit.isKindOf( MassEditU ) ) { mapCheckers = unit.units.collect({ |unit| if( un ...
-
... ow about var myModel; guiBody { arg lay; lay.startRow; leftFlow = FlowView(lay, Rect(0, 0, model.numChannels * 13 + 10, 210), margin: 2@2); multiSl = GUI.multiSliderView.new(leftFlow, Rect(0, 0, model.numChannels * 13 + 2, 200)); rightFlow ...
-
... , amp], addAction:\addToTail); }; ampAnalFunc.value; win = GUI.window.new(name, Rect(point.x, point.y, 222, 100), resizable:false); stereoButt = OSCIIRadioButton(win, Rect(10,5,14,14), "stereo") .value_(params[0]) .font_(GUI.font.new("Helve ...
-
... ter| master = argMaster; lockables = List.new; win = Window.new("MoltenPlayer", Rect(100, 100, 300, 200), false) .onClose_({ master.stopPlayback; }); lockables.add ( Button(win, Rect(10, 10, 40, 20)) .states_([["<-"]]) .action_ ({|btn| if(m ...
-
... er of rows pa; // panel view if( bounds.isNil ){ bounds = Rect(0,0,400,he*(tr)); }{ he = bounds / (tr); }; wi = bounds.width; if( parent.isNil ){ parent = Window("Pad Generator",bounds ...
-
... var a; a = { |i| var w, b, x,k,t,p; k=i; i = i + 1; w = Window ( "resize:" +i, Rect (10 + (k%3 * 220), Window .screenBounds.height- [250,460,670].at(k/3), 200, 180)); b = w.view.bounds; x = CompositeView (w, w.view.bounds.insetBy(20,20)) . ...
-
... unds. bounds.isNil.if{ bounds = w.asView.bounds.moveTo(0,0); }; bounds=bounds.asRect; view = CompositeView(w,bounds).resize_(resize); lbls= lbls ? ["tab1","tab2","tab3"]; scroll=scr; labels = []; focusActions = []; unfocusActions = []; focu ...