[SDL] Creating Mac dialog box in fullscreen SDL app

Michael Ryan Bannon ryan.bannon at humagade.com
Wed Jun 14 07:43:35 PDT 2006


I imagine there has to be a way.  I've seen some of the libraries in the SDL 
archive...I might try one of those.  There has to be a way.  But, yeah, like 
you said...going to windowed mode isn't very elegant.  I don't think my 
client will want that solution.  If I find a good solution I'll post.

Thanks,

Ryan

"Christian Walther" <cwalther at gmx.ch> wrote in message 
news:e6p2vm$lh7$1 at sea.gmane.org...
> Michael Ryan Bannon wrote:
>> I've got a game running on MacOSX using SDL.  I have created the option 
>> to
>> play the game in windowed and fullscreen modes.  I'm also using Carbon to
>> create an open file dialog.  The dialog works fine in windowed mode but 
>> is
>> completely hidden (or non-existant) in fullscreen mode.
>>
>> My questions are these: should I be creating dialog boxes via an SDL 
>> library
>> (and which library is the best for this) or is this strictly a Mac/Carbon
>> problem?
>
> What I do in this situation is just going to windowed mode before
> showing the dialog and returning to fullscreen afterwards. Not very
> elegant, but it works. I'm not sure if it's possible to show other
> windows on top of a fullscreen OpenGL context - you'd have to check
> Apple's documentation about this.
>
>  -Christian 







More information about the SDL mailing list