상속: NSOpenGLView
예제 #1
0
        public override void DidFinishLaunching(NSNotification notification)
        {
            mainWindowController = new MainWindowController();
            view = new GLView(mainWindowController.Window.Frame, new NSOpenGLPixelFormat(new object [] {
                NSOpenGLPixelFormatAttribute.FullScreen,
                NSOpenGLPixelFormatAttribute.MinimumPolicy
            }));

            mainWindowController.Window.ContentView = view;
            mainWindowController.Window.MakeKeyAndOrderFront(this);
        }
예제 #2
0
		public override void FinishedLaunching (NSObject notification)
		{
			mainWindowController = new MainWindowController ();
			view = new GLView (mainWindowController.Window.Frame, new NSOpenGLPixelFormat (new NSOpenGLPixelFormatAttribute [] {
										NSOpenGLPixelFormatAttribute.FullScreen,
										NSOpenGLPixelFormatAttribute.MinimumPolicy				
			}));
			
			mainWindowController.Window.ContentView = view;
 			mainWindowController.Window.MakeKeyAndOrderFront (this);
		}