Mercurial > sdl-ios-xcode
comparison src/video/SDL_sysvideo.h @ 1706:1577404809f0 SDL-1.3
Added a multi-window version of testsprite using the new API.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 24 Jun 2006 16:51:01 +0000 |
parents | 396a35389351 |
children | 931d111e737a |
comparison
equal
deleted
inserted
replaced
1705:fc731a7d83ed | 1706:1577404809f0 |
---|---|
102 | 102 |
103 /* The current renderer info */ | 103 /* The current renderer info */ |
104 SDL_RendererInfo info; | 104 SDL_RendererInfo info; |
105 | 105 |
106 /* The window associated with the renderer */ | 106 /* The window associated with the renderer */ |
107 SDL_Window *window; | 107 SDL_WindowID window; |
108 | 108 |
109 void *driverdata; | 109 void *driverdata; |
110 }; | 110 }; |
111 | 111 |
112 /* Define the SDL render driver structure */ | 112 /* Define the SDL render driver structure */ |
128 int w, h; | 128 int w, h; |
129 Uint32 flags; | 129 Uint32 flags; |
130 | 130 |
131 Uint16 *gamma; | 131 Uint16 *gamma; |
132 | 132 |
133 SDL_VideoDisplay *display; | 133 int display; |
134 SDL_Renderer *renderer; | 134 SDL_Renderer *renderer; |
135 | 135 |
136 void *userdata; | 136 void *userdata; |
137 void *driverdata; | 137 void *driverdata; |
138 }; | 138 }; |
443 extern void SDL_AddDisplayMode(int displayIndex, | 443 extern void SDL_AddDisplayMode(int displayIndex, |
444 const SDL_DisplayMode * mode); | 444 const SDL_DisplayMode * mode); |
445 extern void SDL_AddRenderDriver(int displayIndex, | 445 extern void SDL_AddRenderDriver(int displayIndex, |
446 const SDL_RenderDriver * driver); | 446 const SDL_RenderDriver * driver); |
447 | 447 |
448 extern SDL_Window *SDL_GetWindowFromID(SDL_WindowID windowID); | |
449 extern SDL_VideoDisplay *SDL_GetDisplayFromWindow(SDL_Window * window); | |
450 | |
448 #endif /* _SDL_sysvideo_h */ | 451 #endif /* _SDL_sysvideo_h */ |
449 | 452 |
450 /* vi: set ts=4 sw=4 expandtab: */ | 453 /* vi: set ts=4 sw=4 expandtab: */ |