22 #include <winpr/wtypes.h>
25 #include "sdl_types.hpp"
27 BOOL sdl_scale_coordinates(
SdlContext* sdl, Uint32 windowId, INT32* px, INT32* py,
28 BOOL fromLocalToRDP, BOOL applyOffset);
30 BOOL sdl_handle_mouse_motion(
SdlContext* sdl,
const SDL_MouseMotionEvent* ev);
31 BOOL sdl_handle_mouse_wheel(
SdlContext* sdl,
const SDL_MouseWheelEvent* ev);
32 BOOL sdl_handle_mouse_button(
SdlContext* sdl,
const SDL_MouseButtonEvent* ev);
34 BOOL sdl_handle_touch_down(
SdlContext* sdl,
const SDL_TouchFingerEvent* ev);
35 BOOL sdl_handle_touch_up(
SdlContext* sdl,
const SDL_TouchFingerEvent* ev);
36 BOOL sdl_handle_touch_motion(
SdlContext* sdl,
const SDL_TouchFingerEvent* ev);