Mercurial > sdl-ios-xcode
comparison src/video/qtopia/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 |
comparison
equal
deleted
inserted
replaced
1894:c69cee13dd76 | 1895:c121d94672cb |
---|---|
29 | 29 |
30 /* Hidden "this" pointer for the video functions */ | 30 /* Hidden "this" pointer for the video functions */ |
31 #define _THIS SDL_VideoDevice *_this | 31 #define _THIS SDL_VideoDevice *_this |
32 | 32 |
33 /* Private display data */ | 33 /* Private display data */ |
34 struct SDL_PrivateVideoData { | 34 struct SDL_PrivateVideoData |
35 /* The main window */ | 35 { |
36 SDL_QWin *SDL_Win; | 36 /* The main window */ |
37 SDL_QWin *SDL_Win; | |
37 | 38 |
38 /* The fullscreen mode list */ | 39 /* The fullscreen mode list */ |
39 #define NUM_MODELISTS 4 /* 8, 16, 24, and 32 bits-per-pixel */ | 40 #define NUM_MODELISTS 4 /* 8, 16, 24, and 32 bits-per-pixel */ |
40 int SDL_nummodes[NUM_MODELISTS]; | 41 int SDL_nummodes[NUM_MODELISTS]; |
41 SDL_Rect **SDL_modelist[NUM_MODELISTS]; | 42 SDL_Rect **SDL_modelist[NUM_MODELISTS]; |
42 | 43 |
43 /* A completely clear cursor */ | 44 /* A completely clear cursor */ |
44 WMcursor *BlankCursor; | 45 WMcursor *BlankCursor; |
45 | 46 |
46 /* Mouse state variables */ | 47 /* Mouse state variables */ |
47 Uint32 last_buttons; | 48 Uint32 last_buttons; |
48 QPoint last_point; | 49 QPoint last_point; |
49 | 50 |
50 /* Keyboard state variables */ | 51 /* Keyboard state variables */ |
51 int key_flip; | 52 int key_flip; |
52 //struct key_info keyinfo[2]; | 53 //struct key_info keyinfo[2]; |
53 }; | 54 }; |
54 /* Old variable names */ | 55 /* Old variable names */ |
55 #define SDL_Win (_this->hidden->SDL_Win) | 56 #define SDL_Win (_this->hidden->SDL_Win) |
56 #define saved_mode (_this->hidden->saved_mode) | 57 #define saved_mode (_this->hidden->saved_mode) |
57 #define SDL_nummodes (_this->hidden->SDL_nummodes) | 58 #define SDL_nummodes (_this->hidden->SDL_nummodes) |
61 #define last_point (_this->hidden->last_point) | 62 #define last_point (_this->hidden->last_point) |
62 #define key_flip (_this->hidden->key_flip) | 63 #define key_flip (_this->hidden->key_flip) |
63 #define keyinfo (_this->hidden->keyinfo) | 64 #define keyinfo (_this->hidden->keyinfo) |
64 | 65 |
65 #endif /* _SDL_lowvideo_h */ | 66 #endif /* _SDL_lowvideo_h */ |
67 /* vi: set ts=4 sw=4 expandtab: */ |