diff src/video/win32/SDL_win32modes.h @ 1733:0b1070f2f94d SDL-1.3

Implemented gamma correction on Windows. Added general code to restore the video mode and gamma when windows lose focus.
author Sam Lantinga <slouken@libsdl.org>
date Sun, 09 Jul 2006 09:02:26 +0000
parents 98a3207ddde8
children
line wrap: on
line diff
--- a/src/video/win32/SDL_win32modes.h	Sat Jul 08 20:55:39 2006 +0000
+++ b/src/video/win32/SDL_win32modes.h	Sun Jul 09 09:02:26 2006 +0000
@@ -24,7 +24,19 @@
 #ifndef _SDL_win32modes_h
 #define _SDL_win32modes_h
 
+typedef struct
+{
+    TCHAR DeviceName[32];
+} SDL_DisplayData;
+
+typedef struct
+{
+    TCHAR DeviceName[32];
+    DEVMODE DeviceMode;
+} SDL_DisplayModeData;
+
 extern void WIN_InitModes(_THIS);
+extern void WIN_GetDisplayModes(_THIS);
 extern int WIN_SetDisplayMode(_THIS, SDL_DisplayMode * mode);
 extern void WIN_QuitModes(_THIS);