comparison 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
comparison
equal deleted inserted replaced
303:767c10b9ec9f 304:ec53caed9fb2
33 #include "SDL_sysvideo.h" 33 #include "SDL_sysvideo.h"
34 34
35 /* Hidden "this" pointer for the video functions */ 35 /* Hidden "this" pointer for the video functions */
36 #define _THIS SDL_VideoDevice *this 36 #define _THIS SDL_VideoDevice *this
37 37
38 #define WINDIB_FULLSCREEN() \
39 ( \
40 ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \
41 (((SDL_VideoSurface->flags & SDL_OPENGL ) == SDL_OPENGL ) || \
42 (strcmp(this->name, "windib") == 0)) \
43 )
38 #define DDRAW_FULLSCREEN() \ 44 #define DDRAW_FULLSCREEN() \
39 ( \ 45 ( \
40 ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \ 46 ((SDL_VideoSurface->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN) && \
41 ((SDL_VideoSurface->flags & SDL_OPENGL ) != SDL_OPENGL ) && \ 47 ((SDL_VideoSurface->flags & SDL_OPENGL ) != SDL_OPENGL ) && \
42 (strcmp(this->name, "directx") == 0) \ 48 (strcmp(this->name, "directx") == 0) \
82 extern int SDL_resizing; 88 extern int SDL_resizing;
83 89
84 /* Flag -- the mouse is in relative motion mode */ 90 /* Flag -- the mouse is in relative motion mode */
85 extern int mouse_relative; 91 extern int mouse_relative;
86 92
93 /* The GDI fullscreen mode currently active */
94 #ifndef NO_CHANGEDISPLAYSETTINGS
95 extern DEVMODE SDL_fullscreen_mode;
96 #endif
97
87 /* This is really from SDL_dx5audio.c */ 98 /* This is really from SDL_dx5audio.c */
88 extern void DX5_SoundFocus(HWND window); 99 extern void DX5_SoundFocus(HWND window);
89 100
90 /* DJM: This is really from SDL_sysevents.c, we need it in 101 /* DJM: This is really from SDL_sysevents.c, we need it in
91 GDL_CreateWindow as well */ 102 GDL_CreateWindow as well */