Window options

Is there a way to set the window variables through SDL? What I would like to do is remove the toolbar and border, much like the FULLSCREEN mode. I am working in both Linux and Windows.

Thanks for any help.
Walt.

I think I found the answer. I do believe that it is the SDL_NOFRAME intialization option.

Walt.> ----- Original Message -----

From: sdl-bounces+waltc=fleetwoodgaming.com@libsdl.org on behalf of Walt Crowley
Sent: Sun 8/27/2006 9:25 PM
To: sdl at libsdl.org
Subject: [SDL] Window options.

Is there a way to set the window variables through SDL? What I would like to do is remove the toolbar and border, much like the FULLSCREEN mode. I am working in both Linux and Windows.

Thanks for any help.
Walt.

-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/ms-tnef
Size: 2734 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20060827/3ea24bd5/attachment.bin

Is there a way to set the window variables through SDL? What I would
like to do is remove the toolbar and border, much like the FULLSCREEN
mode. I am working in both Linux and Windows.

Pass SDL_NOFRAME flag to SDL_SetVideoMode().

“If possible, SDL_NOFRAME causes SDL to create a window with no title
bar or frame decoration. Fullscreen modes automatically have this flag
set.”

http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fSetVideoMode