Mercurial > sdl-ios-xcode
view Xcode/SDLTest/sdlcommon_prefix.h @ 5056:8b7988f42fcb
Added the ability to get the UIKit window through the SDL API.
You can also do this through the native API:
UIWindow *window = [[UIApplication sharedApplication] keyWindow];
Also needed to name the union for events and window info.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 20 Jan 2011 16:05:59 -0800 |
parents | d44a0a913aa2 |
children |
line wrap: on
line source
/* * sdlcommon_prefix.h * SDLTest * * Created by Darrell Walisser on Wed Aug 06 2003. * Copyright (c) 2003 __MyCompanyName__. All rights reserved. * */ #ifndef _SDLCOMMON_PREFIX_H_ #define _SDLCOMMON_PREFIX_H_ #include "SDL.h" #endif