Mercurial > sdl-ios-xcode
diff src/video/riscos/SDL_riscosvideo.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 | d910939febfa |
children | 99210400e8b9 |
line wrap: on
line diff
--- a/src/video/riscos/SDL_riscosvideo.h Sun May 21 17:27:13 2006 +0000 +++ b/src/video/riscos/SDL_riscosvideo.h Sun May 28 13:04:16 2006 +0000 @@ -34,23 +34,24 @@ /* Private display data */ -struct SDL_PrivateVideoData { +struct SDL_PrivateVideoData +{ unsigned char *bank[2]; int current_bank; - unsigned char *alloc_bank; + unsigned char *alloc_bank; int height; int xeig; int yeig; - int screen_bpp; - int screen_width; - int screen_height; - char *pixtrans; + int screen_bpp; + int screen_width; + int screen_height; + char *pixtrans; - /* Wimp variables */ - unsigned int window_handle; - char title[256]; + /* Wimp variables */ + unsigned int window_handle; + char title[256]; -#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]; }; @@ -60,3 +61,4 @@ #define SDL_modelist (this->hidden->SDL_modelist) #endif /* _SDL_risosvideo_h */ +/* vi: set ts=4 sw=4 expandtab: */