Mercurial > sdl-ios-xcode
diff src/video/wincommon/SDL_lowvideo.h @ 304:ec53caed9fb2
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 10 Mar 2002 03:25:47 +0000 |
parents | f6ffac90895c |
children | 1b5457c0a8ad |
line wrap: on
line diff
--- a/src/video/wincommon/SDL_lowvideo.h Thu Mar 07 20:29:04 2002 +0000 +++ b/src/video/wincommon/SDL_lowvideo.h Sun Mar 10 03:25:47 2002 +0000 @@ -35,6 +35,12 @@ /* Hidden "this" pointer for the video functions */ #define _THIS SDL_VideoDevice *this +#define WINDIB_FULLSCREEN() \ +( \ + ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \ + (((SDL_VideoSurface->flags & SDL_OPENGL ) == SDL_OPENGL ) || \ + (strcmp(this->name, "windib") == 0)) \ +) #define DDRAW_FULLSCREEN() \ ( \ ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \ @@ -84,6 +90,11 @@ /* Flag -- the mouse is in relative motion mode */ extern int mouse_relative; +/* The GDI fullscreen mode currently active */ +#ifndef NO_CHANGEDISPLAYSETTINGS +extern DEVMODE SDL_fullscreen_mode; +#endif + /* This is really from SDL_dx5audio.c */ extern void DX5_SoundFocus(HWND window);