src/video/winrt/SDL_winrtevents_c.h
changeset 8521 cefdaf414ead
parent 8515 bc6cf9201dab
child 8542 97dcef41e4a7
equal deleted inserted replaced
8520:66c31b377506 8521:cefdaf414ead
    43 /*
    43 /*
    44  * Internal-use, C++/CX functions:
    44  * Internal-use, C++/CX functions:
    45  */
    45  */
    46 #ifdef __cplusplus_winrt
    46 #ifdef __cplusplus_winrt
    47 
    47 
       
    48 /* Pointers (Mice, Touch, etc.) */
       
    49 extern Windows::Foundation::Point WINRT_TransformCursorPosition(SDL_Window * window, Windows::Foundation::Point rawPosition);
       
    50 extern Uint8 WINRT_GetSDLButtonForPointerPoint(Windows::UI::Input::PointerPoint ^pt);
       
    51 extern void WINRT_ProcessPointerPressedEvent(SDL_Window *window, Windows::UI::Input::PointerPoint ^pointerPoint);
       
    52 extern void WINRT_ProcessPointerMovedEvent(SDL_Window *window, Windows::UI::Input::PointerPoint ^pointerPoint);
       
    53 extern void WINRT_ProcessPointerReleasedEvent(SDL_Window *window, Windows::UI::Input::PointerPoint ^pointerPoint);
       
    54 extern void WINRT_ProcessPointerWheelChangedEvent(SDL_Window *window, Windows::UI::Input::PointerPoint ^pointerPoint);
       
    55 extern void WINRT_ProcessMouseMovedEvent(SDL_Window * window, Windows::Devices::Input::MouseEventArgs ^args);
       
    56 
    48 /* Keyboard */
    57 /* Keyboard */
    49 extern void WINRT_ProcessKeyDownEvent(Windows::UI::Core::KeyEventArgs ^args);
    58 extern void WINRT_ProcessKeyDownEvent(Windows::UI::Core::KeyEventArgs ^args);
    50 extern void WINRT_ProcessKeyUpEvent(Windows::UI::Core::KeyEventArgs ^args);
    59 extern void WINRT_ProcessKeyUpEvent(Windows::UI::Core::KeyEventArgs ^args);
    51 
       
    52 /* Pointers (Mice, Touch, etc.) */
       
    53 extern void WINRT_ProcessMouseMovedEvent(SDL_Window * window, Windows::Devices::Input::MouseEventArgs ^args);
       
    54 extern void WINRT_ProcessPointerMovedEvent(SDL_Window *window, Windows::UI::Input::PointerPoint ^pointerPoint);
       
    55 extern void WINRT_ProcessPointerWheelChangedEvent(SDL_Window *window, Windows::UI::Input::PointerPoint ^pointerPoint);
       
    56 extern void WINRT_ProcessPointerReleasedEvent(SDL_Window *window, Windows::UI::Input::PointerPoint ^pointerPoint);
       
    57 extern void WINRT_ProcessPointerPressedEvent(SDL_Window *window, Windows::UI::Input::PointerPoint ^pointerPoint);
       
    58 extern Uint8 WINRT_GetSDLButtonForPointerPoint(Windows::UI::Input::PointerPoint ^pt);
       
    59 extern Windows::Foundation::Point WINRT_TransformCursorPosition(SDL_Window * window, Windows::Foundation::Point rawPosition);
       
    60 
    60 
    61 /* XAML Thread Management */
    61 /* XAML Thread Management */
    62 extern void WINRT_CycleXAMLThread();
    62 extern void WINRT_CycleXAMLThread();
    63 
    63 
    64 #endif // ifdef __cplusplus_winrt
    64 #endif // ifdef __cplusplus_winrt