Creating a popup tool bar in a full screen NSOpenGLView (OSX Cocoa)

Posted by Mike2012 on Stack Overflow See other posts from Stack Overflow or by Mike2012
Published on 2011-03-11T20:13:45Z Indexed on 2011/03/12 0:10 UTC
Read the original article Hit count: 139

Filed under:
|
|

I have a Cocoa app in which one of my NSOpenGLViews can go into full screen mode (I do this with the method enterFullScreenMode:withOptions:). I would like to create a little widget that when you mouse over it, a toolbar pops up with some different controls. I am wondering what would be the best way to implement this widget? At first I thought about using a panel but I don't think you can bring up any windows when in full screen mode. Also, it seems that you can't add a subview to an NSOpenGLView? Are these two assumptions correct? What else could I use to accomplish this?

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about osx