Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/src/video/SDL_sysvideo.h Sat Jun 24 04:31:42 2006 +0000 +++ b/src/video/SDL_sysvideo.h Sat Jun 24 16:51:01 2006 +0000 @@ -104,7 +104,7 @@ SDL_RendererInfo info; /* The window associated with the renderer */ - SDL_Window *window; + SDL_WindowID window; void *driverdata; }; @@ -130,7 +130,7 @@ Uint16 *gamma; - SDL_VideoDisplay *display; + int display; SDL_Renderer *renderer; void *userdata; @@ -445,6 +445,9 @@ extern void SDL_AddRenderDriver(int displayIndex, const SDL_RenderDriver * driver); +extern SDL_Window *SDL_GetWindowFromID(SDL_WindowID windowID); +extern SDL_VideoDisplay *SDL_GetDisplayFromWindow(SDL_Window * window); + #endif /* _SDL_sysvideo_h */ /* vi: set ts=4 sw=4 expandtab: */