Mercurial > sdl-ios-xcode
comparison 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 |
comparison
equal
deleted
inserted
replaced
1661:281d3f4870e5 | 1662:782fd950bd46 |
---|---|
32 #define _THIS SDL_VideoDevice *this | 32 #define _THIS SDL_VideoDevice *this |
33 | 33 |
34 | 34 |
35 /* Private display data */ | 35 /* Private display data */ |
36 | 36 |
37 struct SDL_PrivateVideoData { | 37 struct SDL_PrivateVideoData |
38 { | |
38 unsigned char *bank[2]; | 39 unsigned char *bank[2]; |
39 int current_bank; | 40 int current_bank; |
40 unsigned char *alloc_bank; | 41 unsigned char *alloc_bank; |
41 int height; | 42 int height; |
42 int xeig; | 43 int xeig; |
43 int yeig; | 44 int yeig; |
44 int screen_bpp; | 45 int screen_bpp; |
45 int screen_width; | 46 int screen_width; |
46 int screen_height; | 47 int screen_height; |
47 char *pixtrans; | 48 char *pixtrans; |
48 | 49 |
49 /* Wimp variables */ | 50 /* Wimp variables */ |
50 unsigned int window_handle; | 51 unsigned int window_handle; |
51 char title[256]; | 52 char title[256]; |
52 | 53 |
53 #define NUM_MODELISTS 4 /* 8, 16, 24, and 32 bits-per-pixel */ | 54 #define NUM_MODELISTS 4 /* 8, 16, 24, and 32 bits-per-pixel */ |
54 int SDL_nummodes[NUM_MODELISTS]; | 55 int SDL_nummodes[NUM_MODELISTS]; |
55 SDL_Rect **SDL_modelist[NUM_MODELISTS]; | 56 SDL_Rect **SDL_modelist[NUM_MODELISTS]; |
56 }; | 57 }; |
57 | 58 |
58 /* Old variable names */ | 59 /* Old variable names */ |
59 #define SDL_nummodes (this->hidden->SDL_nummodes) | 60 #define SDL_nummodes (this->hidden->SDL_nummodes) |
60 #define SDL_modelist (this->hidden->SDL_modelist) | 61 #define SDL_modelist (this->hidden->SDL_modelist) |
61 | 62 |
62 #endif /* _SDL_risosvideo_h */ | 63 #endif /* _SDL_risosvideo_h */ |
64 /* vi: set ts=4 sw=4 expandtab: */ |