Inheritance: MonoMac.Foundation.NSObject, ISynchronizeInvoke
Exemple #1
0
        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);
        }
Exemple #2
0
        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);
        }