src/video/winrt/SDL_winrtevents_c.h
changeset 8542 97dcef41e4a7
parent 8521 cefdaf414ead
child 8582 c3e9a2b93517
     1.1 --- a/src/video/winrt/SDL_winrtevents_c.h	Mon Nov 04 19:54:29 2013 -0500
     1.2 +++ b/src/video/winrt/SDL_winrtevents_c.h	Thu Nov 28 21:15:05 2013 -0500
     1.3 @@ -46,7 +46,13 @@
     1.4  #ifdef __cplusplus_winrt
     1.5  
     1.6  /* Pointers (Mice, Touch, etc.) */
     1.7 -extern Windows::Foundation::Point WINRT_TransformCursorPosition(SDL_Window * window, Windows::Foundation::Point rawPosition);
     1.8 +typedef enum {
     1.9 +    NormalizeZeroToOne,
    1.10 +    TransformToSDLWindowSize
    1.11 +} WINRT_CursorNormalizationType;
    1.12 +extern Windows::Foundation::Point WINRT_TransformCursorPosition(SDL_Window * window,
    1.13 +                                                                Windows::Foundation::Point rawPosition,
    1.14 +                                                                WINRT_CursorNormalizationType normalization);
    1.15  extern Uint8 WINRT_GetSDLButtonForPointerPoint(Windows::UI::Input::PointerPoint ^pt);
    1.16  extern void WINRT_ProcessPointerPressedEvent(SDL_Window *window, Windows::UI::Input::PointerPoint ^pointerPoint);
    1.17  extern void WINRT_ProcessPointerMovedEvent(SDL_Window *window, Windows::UI::Input::PointerPoint ^pointerPoint);