src/core/winrt/SDL_winrtapp_direct3d.cpp
changeset 8542 97dcef41e4a7
parent 8531 d481485a1b85
child 8576 8dd593afe2d7
     1.1 --- a/src/core/winrt/SDL_winrtapp_direct3d.cpp	Mon Nov 04 19:54:29 2013 -0500
     1.2 +++ b/src/core/winrt/SDL_winrtapp_direct3d.cpp	Thu Nov 28 21:15:05 2013 -0500
     1.3 @@ -495,7 +495,7 @@
     1.4  void SDL_WinRTApp::OnPointerPressed(CoreWindow^ sender, PointerEventArgs^ args)
     1.5  {
     1.6  #if LOG_POINTER_EVENTS
     1.7 -    WINRT_LogPointerEvent("pointer pressed", args, WINRT_TransformCursorPosition(WINRT_GlobalSDLWindow, args->CurrentPoint->Position));
     1.8 +    WINRT_LogPointerEvent("pointer pressed", args, WINRT_TransformCursorPosition(WINRT_GlobalSDLWindow, args->CurrentPoint->Position, TransformToSDLWindowSize));
     1.9  #endif
    1.10  
    1.11      WINRT_ProcessPointerPressedEvent(WINRT_GlobalSDLWindow, args->CurrentPoint);
    1.12 @@ -504,7 +504,7 @@
    1.13  void SDL_WinRTApp::OnPointerMoved(CoreWindow^ sender, PointerEventArgs^ args)
    1.14  {
    1.15  #if LOG_POINTER_EVENTS
    1.16 -    WINRT_LogPointerEvent("pointer moved", args, WINRT_TransformCursorPosition(WINRT_GlobalSDLWindow, args->CurrentPoint->Position));
    1.17 +    WINRT_LogPointerEvent("pointer moved", args, WINRT_TransformCursorPosition(WINRT_GlobalSDLWindow, args->CurrentPoint->Position, TransformToSDLWindowSize));
    1.18  #endif
    1.19  
    1.20      WINRT_ProcessPointerMovedEvent(WINRT_GlobalSDLWindow, args->CurrentPoint);
    1.21 @@ -513,7 +513,7 @@
    1.22  void SDL_WinRTApp::OnPointerReleased(CoreWindow^ sender, PointerEventArgs^ args)
    1.23  {
    1.24  #if LOG_POINTER_EVENTS
    1.25 -    WINRT_LogPointerEvent("pointer released", args, WINRT_TransformCursorPosition(WINRT_GlobalSDLWindow, args->CurrentPoint->Position));
    1.26 +    WINRT_LogPointerEvent("pointer released", args, WINRT_TransformCursorPosition(WINRT_GlobalSDLWindow, args->CurrentPoint->Position, TransformToSDLWindowSize));
    1.27  #endif
    1.28  
    1.29      WINRT_ProcessPointerReleasedEvent(WINRT_GlobalSDLWindow, args->CurrentPoint);
    1.30 @@ -522,7 +522,7 @@
    1.31  void SDL_WinRTApp::OnPointerWheelChanged(CoreWindow^ sender, PointerEventArgs^ args)
    1.32  {
    1.33  #if LOG_POINTER_EVENTS
    1.34 -    WINRT_LogPointerEvent("pointer wheel changed", args, WINRT_TransformCursorPosition(WINRT_GlobalSDLWindow, args->CurrentPoint->Position));
    1.35 +    WINRT_LogPointerEvent("pointer wheel changed", args, WINRT_TransformCursorPosition(WINRT_GlobalSDLWindow, args->CurrentPoint->Position, TransformToSDLWindowSize));
    1.36  #endif
    1.37  
    1.38      WINRT_ProcessPointerWheelChangedEvent(WINRT_GlobalSDLWindow, args->CurrentPoint);