Re: Full Screen Mode With MenuBar
Re: Full Screen Mode With MenuBar
- Subject: Re: Full Screen Mode With MenuBar
- From: Adam Gerson <email@hidden>
- Date: Fri, 6 Feb 2009 18:32:41 -0500
I got a full screen window working, with a hidden dock and a showing
menubar. Perfect! Thank you to everyone.
I have a few custom views on my window that have custom drawing in
them that contain some game pieces that move within the views. The
drawing needs to happen at specific x,y,width,height relative to the
window and each other. None of this can be static if the size of the
window frame is going to get bigger or smaller. It presents the added
challenge of calculating relative locations for everything. I have
worked with AffineTransforms before and will look into that. I
remember playing old some full screen video games that appear to
adjust the resolution of the monitor, shapes appear somewhat blurred,
not terrible, but not good either.
Is there any way to get the custom drawn content of my views to
zoom/scale along with the window?
Is there a way to force the screen resolution to change?
Thanks,
Adam
On Thu, Feb 5, 2009 at 10:57 AM, douglas welton
<email@hidden> wrote:
> Adam,
>
> How do you want to do "fullscreen mode"?
>
> Do you want your window/view to take up the entire screen, except for the
> menu bar? If so, have you tried to create a borderless window and resize it
> using [[NSScreen mainScreen] visibleFrame]?
>
> or...
>
> Do you want your window/view to take up the entire screen with the menubar
> appearing only when the cursor is moved into the top portion of the screen?
> If so, have you read Tech Note 2062 about creating a Kiosk?
>
> BTW, how does the Dock fit into your idea of what "fullscreen mode" is?
>
> regards,
>
> douglas
>
> PS: as for -enterFullScreenMode:options: being buggy, please see the
> discussion here:
> <http://www.cocoabuilder.com/archive/message/cocoa/2009/1/6/226850>
>
> On Feb 4, 2009, at 8:26 PM, Adam Gerson wrote:
>
>> I am looking to implement a fullscreen window while showing the
>> menubar. The consensus is that NSView's enterFullScreenMode is buggy
>> and doesn't support showing the menu bar. What is the alternative? Are
>> there any good examples out there? I have done many google searches
>> and read through the archives. Looks like many have asked, but an
>> exact answer is hard to come by.
>>
>> Thanks,
>> Adam
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden