comparison src/video/bwindow/SDL_lowvideo.h @ 1895:c121d94672cb

SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
author Sam Lantinga <slouken@libsdl.org>
date Mon, 10 Jul 2006 21:04:37 +0000
parents d910939febfa
children 99210400e8b9
comparison
equal deleted inserted replaced
1894:c69cee13dd76 1895:c121d94672cb
30 30
31 /* Hidden "this" pointer for the video functions */ 31 /* Hidden "this" pointer for the video functions */
32 #define _THIS SDL_VideoDevice *_this 32 #define _THIS SDL_VideoDevice *_this
33 33
34 /* Private display data */ 34 /* Private display data */
35 struct SDL_PrivateVideoData { 35 struct SDL_PrivateVideoData
36 /* The main window */ 36 {
37 SDL_BWin *SDL_Win; 37 /* The main window */
38 SDL_BWin *SDL_Win;
38 39
39 /* The fullscreen mode list */ 40 /* The fullscreen mode list */
40 display_mode saved_mode; 41 display_mode saved_mode;
41 #define NUM_MODELISTS 4 /* 8, 16, 24, and 32 bits-per-pixel */ 42 #define NUM_MODELISTS 4 /* 8, 16, 24, and 32 bits-per-pixel */
42 int SDL_nummodes[NUM_MODELISTS]; 43 int SDL_nummodes[NUM_MODELISTS];
43 SDL_Rect **SDL_modelist[NUM_MODELISTS]; 44 SDL_Rect **SDL_modelist[NUM_MODELISTS];
44 45
45 /* A completely clear cursor */ 46 /* A completely clear cursor */
46 WMcursor *BlankCursor; 47 WMcursor *BlankCursor;
47 48
48 SDL_Overlay *overlay; 49 SDL_Overlay *overlay;
49 }; 50 };
50 /* Old variable names */ 51 /* Old variable names */
51 #define SDL_Win (_this->hidden->SDL_Win) 52 #define SDL_Win (_this->hidden->SDL_Win)
52 #define saved_mode (_this->hidden->saved_mode) 53 #define saved_mode (_this->hidden->saved_mode)
53 #define SDL_nummodes (_this->hidden->SDL_nummodes) 54 #define SDL_nummodes (_this->hidden->SDL_nummodes)
54 #define SDL_modelist (_this->hidden->SDL_modelist) 55 #define SDL_modelist (_this->hidden->SDL_modelist)
55 #define SDL_BlankCursor (_this->hidden->BlankCursor) 56 #define SDL_BlankCursor (_this->hidden->BlankCursor)
56 #define current_overlay (_this->hidden->overlay) 57 #define current_overlay (_this->hidden->overlay)
57 58
58 #endif /* _SDL_lowvideo_h */ 59 #endif /* _SDL_lowvideo_h */
60 /* vi: set ts=4 sw=4 expandtab: */