src/video/uikit/SDL_uikitview.h
changeset 6597 d359909f8121
parent 6436 29a35c72905a
child 6654 2ecfb25be1e2
     1.1 --- a/src/video/uikit/SDL_uikitview.h	Sun Oct 21 22:18:36 2012 -0700
     1.2 +++ b/src/video/uikit/SDL_uikitview.h	Sun Oct 21 22:38:09 2012 -0700
     1.3 @@ -22,8 +22,9 @@
     1.4  #import <UIKit/UIKit.h>
     1.5  #import "SDL_uikitviewcontroller.h"
     1.6  
     1.7 +#include "SDL_touch.h"
     1.8 +
     1.9  #define IPHONE_TOUCH_EFFICIENT_DANGEROUS
    1.10 -#define FIXED_MULTITOUCH
    1.11  
    1.12  #ifndef IPHONE_TOUCH_EFFICIENT_DANGEROUS
    1.13  #define MAX_SIMULTANEOUS_TOUCHES 5
    1.14 @@ -35,12 +36,11 @@
    1.15  @interface SDL_uikitview : UIView {
    1.16  #endif
    1.17  
    1.18 -#ifdef FIXED_MULTITOUCH
    1.19 -    long touchId;
    1.20 +    SDL_TouchID touchId;
    1.21 +    SDL_FingerID leftFingerDown;
    1.22  #ifndef IPHONE_TOUCH_EFFICIENT_DANGEROUS
    1.23      UITouch *finger[MAX_SIMULTANEOUS_TOUCHES];
    1.24  #endif
    1.25 -#endif
    1.26  
    1.27  #if SDL_IPHONE_KEYBOARD
    1.28      UITextField *textField;