Mercurial > sdl-ios-xcode
diff src/video/windib/SDL_dibvideo.h @ 1662:782fd950bd46 SDL-1.3
Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API.
WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid.
The code is now run through a consistent indent format:
indent -i4 -nut -nsc -br -ce
The headers are being converted to automatically generate doxygen documentation.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 28 May 2006 13:04:16 +0000 |
parents | 8dfa9a6d69a5 |
children |
line wrap: on
line diff
--- a/src/video/windib/SDL_dibvideo.h Sun May 21 17:27:13 2006 +0000 +++ b/src/video/windib/SDL_dibvideo.h Sun May 28 13:04:16 2006 +0000 @@ -30,27 +30,28 @@ /* for PDA */ typedef enum { - SDL_ORIENTATION_UP, - SDL_ORIENTATION_DOWN, - SDL_ORIENTATION_LEFT, - SDL_ORIENTATION_RIGHT + SDL_ORIENTATION_UP, + SDL_ORIENTATION_DOWN, + SDL_ORIENTATION_LEFT, + SDL_ORIENTATION_RIGHT } SDL_ScreenOrientation; /* Private display data */ -struct SDL_PrivateVideoData { +struct SDL_PrivateVideoData +{ HBITMAP screen_bmp; HPALETTE screen_pal; -#define NUM_MODELISTS 4 /* 8, 16, 24, and 32 bits-per-pixel */ +#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; + SDL_ScreenOrientation orientation; #ifdef _WIN32_WCE - int invert; /* do to remove, used by GAPI driver! */ - char hiresFix; /* using hires mode without defining hires resource */ - int supportRotation; /* for Pocket PC devices */ - DWORD origRotation; /* for Pocket PC devices */ + int invert; /* do to remove, used by GAPI driver! */ + char hiresFix; /* using hires mode without defining hires resource */ + int supportRotation; /* for Pocket PC devices */ + DWORD origRotation; /* for Pocket PC devices */ #endif }; /* Old variable names */ @@ -60,3 +61,4 @@ #define SDL_modelist (this->hidden->SDL_modelist) #endif /* _SDL_dibvideo_h */ +/* vi: set ts=4 sw=4 expandtab: */