Toddler-proofing an app (disabling spotlight keyboard shortcut)?

2012-09-21 Thread Clay Heaton
My 20 month old daughter loves to bang on the keys of the keyboard. I made a simple cocos2d app that shows random animal pictures (with noises) when she presses keys. (This has proved very popular with her and she now can identify all of the animals!) Anyhow, she'll sit on my lap and bang the keyb

Re: Toddler-proofing an app (disabling spotlight keyboard shortcut)?

2012-09-23 Thread Clay Heaton
Thank you, Ken. Your tips pointed me in an acceptable direction. I poked around in the cocos2d internals and discovered that your second option worked best. The Kiosk Mode Technical Note was helpful: Thi

Re: Toddler-proofing an app: selectively disabling function keys?

2012-09-24 Thread Clay Heaton
As I reported yesterday, I had luck with your second suggestion. There are a few minor problems that I would like to fix, discovered as my daughter banged on the keyboard this morning. These are the mappings on an extended keyboard: - F1, F2 - the brightness keys - I would like to disable them w

NSView image corruption when dragging from scaled view

2012-12-12 Thread Clay Heaton
I'm trying to implement dragging of a subclass of NSView, to copy an NSImage to the pasteboard so that it can be dragged into other applications (Pages, Mail, etc.). It works as expected until I resize the NSView's parent window (which resizes the NSView -- it always remains square). Once resize

How do I use CGDisplayCapture() to capture an NSOpenGLView in a XIB?

2013-01-22 Thread Clay Heaton
OS X / Cocoa question: I have a subclass of NSOpenGLView in a XIB (working with cocos2d). I want to capture the screen to disable the function keys, process switching, etc. while the app is running. Given that I have an IBOutlet to the NSOpenGLView, how do I capture the screen in the App Deleg

Re: How do I use CGDisplayCapture() to capture an NSOpenGLView in a XIB?

2013-01-22 Thread Clay Heaton
em regardless of what I do therein. Hence, I was trying to capture the screen. Any other ideas? Thanks, Clay On Jan 22, 2013, at 11:00 AM, Kyle Sluder wrote: > On Tue, Jan 22, 2013, at 07:50 AM, Clay Heaton wrote: >> >> I've read through the Apple display capturing guide,

Re: How do I use CGDisplayCapture() to capture an NSOpenGLView in a XIB?

2013-01-22 Thread Clay Heaton
Clay On Jan 22, 2013, at 7:17 PM, Ken Thomases wrote: > > On Jan 22, 2013, at 10:16 AM, Clay Heaton wrote: > >> That's actually what I'm doing at the moment: >> >> NSApplicationPresentationOptions options = >> NSApplicationPresentationHideDock +

Re: How do I use CGDisplayCapture() to capture an NSOpenGLView in a XIB?

2013-01-30 Thread Clay Heaton
way to achieve the desired functionality given the currently shipping system configurations." Thanks for the help, Clay On Jan 23, 2013, at 12:05 AM, Ken Thomases wrote: > On Jan 22, 2013, at 8:33 PM, Clay Heaton wrote: > >> While that goes full screen and does prevent proces