Well, i have tried to use SDL_WM_ToggleFullScreen() and it wont work,
then i have looked in the SDL-Docs, and theres a sentence like:
SDL_WM_ToggleFullScreen will only work on X11-Enviroments.
Does anybody know how to set FullScreen in not X11-Enviroments,
especially MacOS X ?
Thanks in Advance
Lukas–
±--------------------------------------------------------------------+
Lukas Westermann mailto:Lukas.Westermann at adnovum.ch
AdNovum Informatik AG http://www.adnovum.ch phone: +41 (1) 272 6111
Roentgenstrasse 22, CH-8005 Zuerich fax: +41 (1) 272 6312
±--------------------------------------------------------------------+
AdNovum Software Inc. San Mateo, CA 94404 phone: +1 (650) 525 9322
1400 Fashion Island Boulevard, Suite 309 fax: +1 (650) 525 9324
±--------------------------------------------------------------------+
Sure… just include (or exclude) SDL_FULLSCREEN into
the flags passed to SDL_SetVideoMode()
Hope that helps,
-Loren
— Lukas Westermann <Lukas.Westermann at AdNovum.ch>
wrote:> Hello
Well, i have tried to use SDL_WM_ToggleFullScreen()
and it wont work,
then i have looked in the SDL-Docs, and theres a
sentence like:
SDL_WM_ToggleFullScreen will only work on
X11-Enviroments.
Does anybody know how to set FullScreen in not
X11-Enviroments,
especially MacOS X ?
Loren Osborn wrote:> Sure… just include (or exclude) SDL_FULLSCREEN into
the flags passed to SDL_SetVideoMode()
Hope that helps,
-Loren
— Lukas Westermann <Lukas.Westermann at AdNovum.ch>
wrote:
Hello
Well, i have tried to use SDL_WM_ToggleFullScreen()
and it wont work,
then i have looked in the SDL-Docs, and theres a
sentence like:
SDL_WM_ToggleFullScreen will only work on
X11-Enviroments.
Does anybody know how to set FullScreen in not
X11-Enviroments,
especially MacOS X ?
The thing that only works in X is SWITCHING between
FullScreen and windowed withouth calling
SDL_SetVideoMode() (and loosing the contents of the
window)…
-Loren
— Lukas Westermann <Lukas.Westermann at AdNovum.ch>
wrote:> Really ? is that so easy ?
well, thanks alot…i hope
this will works fine.
Thanks
Lukas
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
aha, i have to restore the current
Window content, and then call SDL_SetVideoMode()
with a ‘|SDL_FULLSCREEN’ and then set the
new window content to the restored one…
I know now how to do that…
Thanks alot
Lukas
Loren Osborn wrote:> The thing that only works in X is SWITCHING between
FullScreen and windowed withouth calling
SDL_SetVideoMode() (and loosing the contents of the
window)…
-Loren
— Lukas Westermann <Lukas.Westermann at AdNovum.ch>
wrote: