public Canvas() { root = new RootNode(); renderers = new List <object> (); uisync = new UISyncInvoke(); Motion.Tweener.Sync = uisync; testButton = new NSButton(new System.Drawing.RectangleF(100, 100, 100, 50)); testButton.BezelStyle = NSBezelStyle.Rounded; testButton.FrameCenterRotation = 40; AddSubview(testButton); }
public Canvas() { root = new RootNode (); renderers = new List<object> (); uisync = new UISyncInvoke (); Motion.Tweener.Sync = uisync; testButton = new NSButton (new System.Drawing.RectangleF (100, 100, 100, 50)); testButton.BezelStyle = NSBezelStyle.Rounded; testButton.FrameCenterRotation = 40; AddSubview (testButton); }