Mercurial > sdl-ios-xcode
view src/video/uikit/SDL_uikitview.h @ 2389:fcb9fb150484 gsoc2008_iphone
XCode files for test applications (the ones previously bundled with the source, mostly SDL 1.2 demos). README contains some notes on various problems.
author | Holmes Futrell <hfutrell@umail.ucsb.edu> |
---|---|
date | Fri, 18 Jul 2008 20:58:48 +0000 |
parents | 07acabba25d9 |
children | e9a1eed243c9 |
line wrap: on
line source
// // SDL_uikitview.h // iPodSDL // // Created by Holmes Futrell on 6/23/08. // Copyright 2008 __MyCompanyName__. All rights reserved. // #import <UIKit/UIKit.h> #include "SDL_stdinc.h" #include "SDL_mouse.h" #include "SDL_mouse_c.h" #include "SDL_events.h" #define MAX_SIMULTANEOUS_TOUCHES 5 @interface SDL_uikitview : UIView { SDL_Mouse mice[MAX_SIMULTANEOUS_TOUCHES]; } - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event; - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event; @end