Added Iphone support (untested)
This commit is contained in:
parent
99ed0692e1
commit
08bce778c8
2 changed files with 112 additions and 29 deletions
|
@ -22,8 +22,6 @@
|
|||
|
||||
#import <UIKit/UIKit.h>
|
||||
#include "SDL_stdinc.h"
|
||||
#include "SDL_mouse.h"
|
||||
#include "SDL_mouse_c.h"
|
||||
#include "SDL_events.h"
|
||||
|
||||
#if SDL_IPHONE_MULTIPLE_MICE
|
||||
|
@ -38,8 +36,14 @@
|
|||
#else
|
||||
@interface SDL_uikitview : UIView {
|
||||
#endif
|
||||
|
||||
|
||||
#if FIXME_MULTITOUCH
|
||||
SDL_Mouse mice[MAX_SIMULTANEOUS_TOUCHES];
|
||||
#endif
|
||||
|
||||
#if FIXED_MULTITOUCH
|
||||
int touchId;
|
||||
#endif
|
||||
|
||||
#if SDL_IPHONE_KEYBOARD
|
||||
UITextField *textField;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue