Mercurial > sdl-ios-xcode
comparison src/video/windib/SDL_dibvideo.h @ 1251:86d0d01290ea
Updated Windows CE/PocketPC support...adds GAPI driver, landscape mode,
updated project files, VS2005 support, VGA mode, more device support, etc,
etc, etc.
Fixes Bugzilla #47 and #28.
--ryan.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Thu, 19 Jan 2006 08:43:00 +0000 |
parents | b8d311d90021 |
children | c9b51268668f |
comparison
equal
deleted
inserted
replaced
1250:a4d515d0fc3a | 1251:86d0d01290ea |
---|---|
28 #ifndef _SDL_dibvideo_h | 28 #ifndef _SDL_dibvideo_h |
29 #define _SDL_dibvideo_h | 29 #define _SDL_dibvideo_h |
30 | 30 |
31 #include <windows.h> | 31 #include <windows.h> |
32 | 32 |
33 /* for PDA */ | |
34 typedef enum | |
35 { | |
36 SDL_ORIENTATION_UP, | |
37 SDL_ORIENTATION_DOWN, | |
38 SDL_ORIENTATION_LEFT, | |
39 SDL_ORIENTATION_RIGHT | |
40 } SDL_ScreenOrientation; | |
41 | |
33 /* Private display data */ | 42 /* Private display data */ |
34 struct SDL_PrivateVideoData { | 43 struct SDL_PrivateVideoData { |
35 HBITMAP screen_bmp; | 44 HBITMAP screen_bmp; |
36 HPALETTE screen_pal; | 45 HPALETTE screen_pal; |
37 | 46 |
38 #define NUM_MODELISTS 4 /* 8, 16, 24, and 32 bits-per-pixel */ | 47 #define NUM_MODELISTS 4 /* 8, 16, 24, and 32 bits-per-pixel */ |
39 int SDL_nummodes[NUM_MODELISTS]; | 48 int SDL_nummodes[NUM_MODELISTS]; |
40 SDL_Rect **SDL_modelist[NUM_MODELISTS]; | 49 SDL_Rect **SDL_modelist[NUM_MODELISTS]; |
50 | |
51 SDL_ScreenOrientation orientation; | |
52 int invert; | |
53 char hiresFix; // using hires mode without defining hires resource | |
41 }; | 54 }; |
42 /* Old variable names */ | 55 /* Old variable names */ |
43 #define screen_bmp (this->hidden->screen_bmp) | 56 #define screen_bmp (this->hidden->screen_bmp) |
44 #define screen_pal (this->hidden->screen_pal) | 57 #define screen_pal (this->hidden->screen_pal) |
45 #define SDL_nummodes (this->hidden->SDL_nummodes) | 58 #define SDL_nummodes (this->hidden->SDL_nummodes) |