-
... his.refresh; } // Custom drawFunc draw { var symbolSize = min( super.interactionRect.height * thisSymbolRatio, super.interactionRect.width * thisSymbolRatio ); super.drawFrame(super.backgroundColor); Pen.fillColor_(super.mainColor); Pen.str ...
-
... ew // and connected back from element via SimpleController ( w = Window("test", Rect(10, 100, 150, 600)).front; m = List[]; g = List[]; MPadView.modeKeys.keep(5).do { |mode, i| var elemDesc, desc, mktl, mkgui, grp, pad; elemDesc = ( groupTy ...
-
... lfont = [16, 14, 12].collect(Font("Helvetica", _)); w = Window("Tuning Editor", Rect(300,20, 1120, 755), false); w.view.decorator = FlowLayout(w.bounds.moveTo(2, 2)); w.view.keyDownAction = { |topview, char| var playCharIndex = playKeys.ind ...
-
... eight= 480, w, wgrav, world, n= 100, kmeans; //--world w= RedWindow("k-means2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0); //dim,grav,maxvel,damp //--interface ...
-
... rNameLabel.string = senderNameLabel.string ++ " "; }); senderNameLabel.bounds = Rect.new( messageViewPadding, messageViewPadding, messageWidth, senderNameLabel.sizeHint.height ); currentHeight = currentHeight + senderNameLabel.sizeHint.heig ...
-
... 0.001*\point.kr(0,0)) }, [[\bus,0,IntegerSpec()], [\point, Point(1,2),PointSpec(Rect(0,0,20,20))], // is not constraining... [\thing2,1,BoolSpec()], [\thing3,1,ListSpec([1,2,3,4],2)], //[\thing4,1,RangeSpec()] this is broken ]); y = U(\test ...
-
... nt("Lucida Grande", 11)}; } createMainWindow { window = Window(this.windowName, Rect(1400, 650, width: 282, height: this.windowHeight), resizable: false); window.view.decorator = FlowLayout( window.view.bounds ); window.background_(Color.fr ...
-
... 0.001*\point.kr(0,0)) }, [[\bus,0,IntegerSpec()], [\point, Point(1,2),PointSpec(Rect(0,0,20,20))], // is not constraining... [\thing2,1,BoolSpec()], [\thing3,1,ListSpec([1,2,3,4],2)], //[\thing4,1,RangeSpec()] this is broken ]); y = U(\test ...
-
... 0.001*\point.kr(0,0)) }, [[\bus,0,IntegerSpec()], [\point, Point(1,2),PointSpec(Rect(0,0,20,20))], // is not constraining... [\thing2,1,BoolSpec()], [\thing3,1,ListSpec([1,2,3,4],2)], //[\thing4,1,RangeSpec()] this is broken ]); y = U(\test ...
-
... .front }); if(w.isNil,{ w = window = GUI.window.new(name.asString ++ " server", Rect(10, named.values.indexOf(this) * 120 + 10, 390, 92)); w.view.decorator = FlowLayout(w.view.bounds); }); menu = Menu( MenuAction.separator( name.asString ), ...