[SDL] Showing zoom button on Mac non-resizable window

Michael Ryan Bannon ryan.bannon at humagade.com
Wed Jun 21 13:21:45 PDT 2006


Hello,

Is there an easy way to show and define behaviours of Mac window control 
buttons without having ot use SDL_RESIZABLE?
In particular, I don't want my window resizable (so I'm not using 
SDL_RESIZABLE).  A consequence of this is that the green zoom button does 
not appear.  However, I need that button; when pressed, my app would go to 
fullscreen.

If I set SDL_RESIZABLE, the button shows up and I could redefine the resize 
and button behaviours.  However, I end up getting that little Mac resize 
triangle on the bottom right corner of my window which I don't want.  So, 
ideally I'd just like to turn on the zoom button and redefine its behaviour 
without setting SDL_RESIZABLE.  Is this possible?

Thanks,

Ryan 







More information about the SDL mailing list