Mercurial > sdl-ios-xcode
comparison src/video/win32/SDL_win32video.h @ 1725:98a3207ddde8 SDL-1.3
Implemented Win32 video mode support
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 07 Jul 2006 08:05:39 +0000 |
parents | 6c63fc2bd986 |
children | e70477157db9 |
comparison
equal
deleted
inserted
replaced
1724:6c63fc2bd986 | 1725:98a3207ddde8 |
---|---|
26 | 26 |
27 #include "../SDL_sysvideo.h" | 27 #include "../SDL_sysvideo.h" |
28 | 28 |
29 #define WIN32_LEAN_AND_MEAN | 29 #define WIN32_LEAN_AND_MEAN |
30 #define UNICODE | 30 #define UNICODE |
31 #define WINVER 0x0410 // 0x0410 needed for AlphaBlend() | 31 #define WINVER 0x500 // Need 0x410 for AlphaBlend() and 0x500 for EnumDisplayDevices() |
32 #include <windows.h> | 32 #include <windows.h> |
33 | 33 |
34 #include "SDL_win32events.h" | 34 #include "SDL_win32events.h" |
35 #include "SDL_win32keyboard.h" | 35 #include "SDL_win32keyboard.h" |
36 #include "SDL_win32modes.h" | |
36 #include "SDL_win32mouse.h" | 37 #include "SDL_win32mouse.h" |
37 #include "SDL_win32window.h" | 38 #include "SDL_win32window.h" |
38 | 39 |
39 #ifdef UNICODE | 40 #ifdef UNICODE |
40 #define WIN_StringToUTF8(S) SDL_iconv_string("UTF-8", "UCS-2", (char *)S, (wcslen(S)+1)*sizeof(WCHAR)) | 41 #define WIN_StringToUTF8(S) SDL_iconv_string("UTF-8", "UCS-2", (char *)S, (wcslen(S)+1)*sizeof(WCHAR)) |