Re: The right way to build a full screen app
Re: The right way to build a full screen app
- Subject: Re: The right way to build a full screen app
- From: Omar Qazi <email@hidden>
- Date: Wed, 2 Aug 2006 14:42:06 -0700
On Aug 2, 2006, at 1:57 PM, Wayne Pascoe wrote:
The tutorial at http://cocoadevcentral.com/articles/000028.php
seems to be a little out of date and some of the detail is quite
unclear to me (e.g. create a controller - what kind of controller?)
NSView *contentView = GetFullScreenWindowContentViewSomeHow(); //Get
the content view of you new full screen window
NSWindow *fullScreenWindow = [[NSWindow alloc]initWithContentRect:
[[NSScreen mainScreen]frame] styleMask:NSBorderlessWindowMask
backing:NSBackingStoreBuffered]; //Create a borderless window the
size of the screen
[fullScreenWindow setLevel:CGShieldingWindowLevel()];
[fullScreenWindow setContentView:contentView];
CGDisplayCapture(kCGDirectMainDisplay);
[fullScreenWindow makeKeyAndOrderFront:nil];
Omar Qazi
ROFL Software
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden