-
... .background_(Color.grey(0.05)).front .alwaysOnTop = true; w.view.decorator_(FlowLayout(w.bounds,4@4, 4@4)); ~topPanel = UserView(w, 494@45).background_(Color.rand(0.7,0.9)); ~topPanel.decorator_(FlowLayout(~topPanel.bounds, 4@4, 4 ...
-
... w = Window .new( "my own scope" , Rect (20, 20, 400, 500)); w.view.decorator = FlowLayout (w.view.bounds); c = Stethoscope .new(s, view:w.view); w.onClose = { c.free }; // don't forget this w.front;
-
... ew (w, Rect (400,10,380,380)).background_( Color .rand(0.7)); v.decorator = n = FlowLayout (v.bounds, margin: 0@0, gap: 5@5); a = StaticText (v, Rect (20, 70, 90, 20)).string_( " xZoom = 1" ).background_( Color .rand); m = Slider (v, Rect ( ...
-
... ; // lots of range sliders on a view ( w = Window.new.front; w.view.decorator = FlowLayout(w.view.bounds); w.view.decorator.gap = 1@1; 20.do{ g = EZRanger(w, 400@16, " test ", \freq, { |v| v.value.postln }, [50.rand, 50+20000.rand], unitWid ...
-
... = GUI.window.new(title, Rect(100, 400, width, height ) ); win.view.decorator = FlowLayout( win.view.bounds ); }; colscheme.switch( \red, { // Black as low, red as high cols = (0.005, 0.01 .. 1).collect{|hot| Color(hot, 0, 0)}; maptotextcol ...
-
... t(tabView3.bounds.width, tabView3.bounds.height)); tabView0.decorator = flow0 = FlowLayout(window.view.bounds, Point(7, 7), Point(3, 3)); tabView1.decorator = flow1 = FlowLayout(window.view.bounds, Point(7, 7), Point(3, 3)); tabView2.decora ...
-
... put into a zone with its own layout * make sure it works with direct placement, FlowLayout or new Layout schemes * know its own preferred size * know how to place itself in a Layout * flexify getVal function, * so PdefnGui can just have a c ...
-
... ha_(skin.unfocus ? 0.9); }); win.view.background_(colBack); win.view.decorator= FlowLayout(win.view.bounds); win.view.keyDownAction_{|view, char, mod, uni, key| case {uni==63235 or:{key==124}} {RedMst.next}//right arrow key {uni==63234 or:{ ...
-
... window window = Window.new(synthDef.desc.name, bounds); window.view.decorator = FlowLayout(window.view.bounds); window.view.background = Color.grey(0.5, 1.0); width = window.view.decorator.indentedRemaining.width; window.view.keyDownAction_ ...
-
... put into a zone with its own layout * make sure it works with direct placement, FlowLayout or new Layout schemes * know its own preferred size * know how to place itself in a Layout * flexify getVal function, * so PdefnGui can just have a c ...