Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/src/video/windib/SDL_dibvideo.h Thu Jan 19 08:36:41 2006 +0000 +++ b/src/video/windib/SDL_dibvideo.h Thu Jan 19 08:43:00 2006 +0000 @@ -30,6 +30,15 @@ #include <windows.h> +/* for PDA */ +typedef enum +{ + SDL_ORIENTATION_UP, + SDL_ORIENTATION_DOWN, + SDL_ORIENTATION_LEFT, + SDL_ORIENTATION_RIGHT +} SDL_ScreenOrientation; + /* Private display data */ struct SDL_PrivateVideoData { HBITMAP screen_bmp; @@ -38,6 +47,10 @@ #define NUM_MODELISTS 4 /* 8, 16, 24, and 32 bits-per-pixel */ int SDL_nummodes[NUM_MODELISTS]; SDL_Rect **SDL_modelist[NUM_MODELISTS]; + + SDL_ScreenOrientation orientation; + int invert; + char hiresFix; // using hires mode without defining hires resource }; /* Old variable names */ #define screen_bmp (this->hidden->screen_bmp)