cocoaTouch/SDLOverrides/SDL_uikitview.m
changeset 2696 41aa7b56c17b
parent 2694 dcd248e04f3d
child 2701 3a8560c00f78
equal deleted inserted replaced
2695:ed789a7ef68d 2696:41aa7b56c17b
   164 	UITouch *touch = [touches anyObject];
   164 	UITouch *touch = [touches anyObject];
   165 	gestureStartPoint = [touch locationInView:self];
   165 	gestureStartPoint = [touch locationInView:self];
   166 
   166 
   167 	// one tap - single click
   167 	// one tap - single click
   168 	if (1 == [touch tapCount] ) {
   168 	if (1 == [touch tapCount] ) {
   169 		//SDL_WarpMouseInWindow([SDLUIKitDelegate sharedAppDelegate].windowID, gestureStartPoint.x, gestureStartPoint.y);
   169 		SDL_WarpMouseInWindow([SDLUIKitDelegate sharedAppDelegate].windowID, gestureStartPoint.x, gestureStartPoint.y);
   170 		HW_click();
   170 		HW_click();
   171 	}
   171 	}
   172 	
   172 	
   173 	// two taps - right click
   173 	// two taps - right click
   174 	if (2 == [touch tapCount] ) {
   174 	if (2 == [touch tapCount] ) {