src/events/SDL_mouse_c.h
changeset 8815 c6d0a457f3b2
parent 8149 681eb46b8ac4
child 8953 dc80dc0bd22e
equal deleted inserted replaced
8814:8a6a21356035 8815:c6d0a457f3b2
    55     void (*MoveCursor) (SDL_Cursor * cursor);
    55     void (*MoveCursor) (SDL_Cursor * cursor);
    56 
    56 
    57     /* Free a window manager cursor */
    57     /* Free a window manager cursor */
    58     void (*FreeCursor) (SDL_Cursor * cursor);
    58     void (*FreeCursor) (SDL_Cursor * cursor);
    59 
    59 
    60     /* Warp the mouse to (x,y) */
    60     /* Warp the mouse to (x,y) within a window */
    61     void (*WarpMouse) (SDL_Window * window, int x, int y);
    61     void (*WarpMouse) (SDL_Window * window, int x, int y);
       
    62 
       
    63     /* Warp the mouse to (x,y) in screen space */
       
    64     void (*WarpMouseGlobal) (int x, int y);
    62 
    65 
    63     /* Set relative mode */
    66     /* Set relative mode */
    64     int (*SetRelativeMouseMode) (SDL_bool enabled);
    67     int (*SetRelativeMouseMode) (SDL_bool enabled);
    65 
    68 
    66     /* Data common to all mice */
    69     /* Data common to all mice */