diff src/video/uikit/SDL_uikitview.m @ 4678:f8431f66613d

Added SDL_TouchID, SDL_FingerID, SDL_GestureID types. Converted to integer cioordinates (<- not working).
author jimtla
date Sat, 31 Jul 2010 20:02:54 +0400
parents 31607094315c
children c24ba2cc9583
line wrap: on
line diff
--- a/src/video/uikit/SDL_uikitview.m	Sat Jul 31 01:24:50 2010 +0400
+++ b/src/video/uikit/SDL_uikitview.m	Sat Jul 31 20:02:54 2010 +0400
@@ -58,13 +58,13 @@
 	
 	touch.x_min = 0;
 	touch.x_max = frame.size.width;
-	touch.xres = touch.x_max - touch.x_min;
+	touch.native_xres = touch.x_max - touch.x_min;
 	touch.y_min = 0;
 	touch.y_max = frame.size.height;
-	touch.yres = touch.y_max - touch.y_min;
+	touch.native_yres = touch.y_max - touch.y_min;
 	touch.pressure_min = 0;
 	touch.pressure_max = 1;
-	touch.pressureres = touch.pressure_max - touch.pressure_min;
+	touch.native_pressureres = touch.pressure_max - touch.pressure_min;
 
 
 	touchId = SDL_AddTouch(&touch, "IPHONE SCREEN");