comparison src/video/wincommon/SDL_lowvideo.h @ 338:518ffd98a8f6

Fixed gamma ramps in DirectX windowed and OpenGL modes
author Sam Lantinga <slouken@libsdl.org>
date Thu, 11 Apr 2002 15:23:07 +0000
parents bc4d50d2edd9
children a6fa62b1be09
comparison
equal deleted inserted replaced
337:9154ec9ca3d2 338:518ffd98a8f6
65 extern void (*WIN_RealizePalette)(_THIS); 65 extern void (*WIN_RealizePalette)(_THIS);
66 66
67 /* Called by windows message loop when the system palette changes */ 67 /* Called by windows message loop when the system palette changes */
68 extern void (*WIN_PaletteChanged)(_THIS, HWND window); 68 extern void (*WIN_PaletteChanged)(_THIS, HWND window);
69 69
70 /* Called by windows message loop when losing or gaining gamma focus */
71 extern void (*WIN_SwapGamma)(_THIS);
72
73 /* Called by windows message loop when a portion of the screen needs update */ 70 /* Called by windows message loop when a portion of the screen needs update */
74 extern void (*WIN_WinPAINT)(_THIS, HDC hdc); 71 extern void (*WIN_WinPAINT)(_THIS, HDC hdc);
75 72
76 /* Called by windows message loop when the message isn't handled */ 73 /* Called by windows message loop when the message isn't handled */
77 extern LONG (*HandleMessage)(_THIS, HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam); 74 extern LONG (*HandleMessage)(_THIS, HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
91 /* The GDI fullscreen mode currently active */ 88 /* The GDI fullscreen mode currently active */
92 #ifndef NO_CHANGEDISPLAYSETTINGS 89 #ifndef NO_CHANGEDISPLAYSETTINGS
93 extern DEVMODE SDL_fullscreen_mode; 90 extern DEVMODE SDL_fullscreen_mode;
94 #endif 91 #endif
95 92
93 /* The system gamma ramp for GDI modes */
94 extern WORD *gamma_saved;
95
96 /* This is really from SDL_dx5audio.c */ 96 /* This is really from SDL_dx5audio.c */
97 extern void DX5_SoundFocus(HWND window); 97 extern void DX5_SoundFocus(HWND window);
98 98
99 /* DJM: This is really from SDL_sysevents.c, we need it in 99 /* DJM: This is really from SDL_sysevents.c, we need it in
100 GDL_CreateWindow as well */ 100 GDL_CreateWindow as well */