src/video/uikit/SDL_uikitview.m
changeset 7191 75360622e65f
parent 7111 f4ae9f1233df
child 7774 c5d6c8c001be
child 8477 ad08f0d710f3
     1.1 --- a/src/video/uikit/SDL_uikitview.m	Sat May 18 12:48:50 2013 -0700
     1.2 +++ b/src/video/uikit/SDL_uikitview.m	Sat May 18 14:17:52 2013 -0700
     1.3 @@ -63,11 +63,11 @@
     1.4  {
     1.5      CGPoint point = [touch locationInView: self];
     1.6  
     1.7 -    // Get the display scale and apply that to the input coordinates
     1.8 +    /* Get the display scale and apply that to the input coordinates */
     1.9      SDL_Window *window = self->viewcontroller.window;
    1.10      SDL_VideoDisplay *display = SDL_GetDisplayForWindow(window);
    1.11      SDL_DisplayModeData *displaymodedata = (SDL_DisplayModeData *) display->current_mode.driverdata;
    1.12 -    
    1.13 +
    1.14      if (normalize) {
    1.15          CGRect bounds = [self bounds];
    1.16          point.x /= bounds.size.width;
    1.17 @@ -99,9 +99,10 @@
    1.18  
    1.19          CGPoint locationInView = [self touchLocation:touch shouldNormalize:YES];
    1.20  #ifdef IPHONE_TOUCH_EFFICIENT_DANGEROUS
    1.21 -        // FIXME: TODO: Using touch as the fingerId is potentially dangerous
    1.22 -        // It is also much more efficient than storing the UITouch pointer
    1.23 -        // and comparing it to the incoming event.
    1.24 +        /* FIXME: TODO: Using touch as the fingerId is potentially dangerous
    1.25 +         * It is also much more efficient than storing the UITouch pointer
    1.26 +         * and comparing it to the incoming event.
    1.27 +         */
    1.28          SDL_SendTouch(touchId, (SDL_FingerID)((size_t)touch),
    1.29                        SDL_TRUE, locationInView.x, locationInView.y, 1.0f);
    1.30  #else