Re: Cocoa and full-screen GL
Re: Cocoa and full-screen GL
- Subject: Re: Cocoa and full-screen GL
- From: Guy English <email@hidden>
- Date: Mon, 31 Jan 2005 21:15:51 -0500
Hi John,
On Mon, 31 Jan 2005 17:48:25 -0800, John Stiles <email@hidden> wrote:
> 3 - The other demos I've found that enter fullscreen mode will run
> their own event loop with, say, a while around [NSApp
> nextEventMatchingMask:NSAnyEventMask…].
> [snip] For example, command keys are no
> longer processed AFAICS (maybe I need to propagate events I'm not
> explicitly handling, but I don't know how to do this).
This is what I do in my code. If you don't like the event you can have
NSApplication send it down the responder chain by calling [NSApp
sendEvent: event]; I check [event window] against the window with my
GL context in it and pass it down the responder chain if it's not for
me.
Hope that helps,
Guy
_______________________________________________
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