src/events/SDL_mouse_c.h
changeset 3685 64ce267332c6
parent 2940 b93965a16fe0
child 3697 f7b03b6838cb
     1.1 --- a/src/events/SDL_mouse_c.h	Thu Jan 21 05:49:41 2010 +0000
     1.2 +++ b/src/events/SDL_mouse_c.h	Thu Jan 21 06:21:52 2010 +0000
     1.3 @@ -48,7 +48,7 @@
     1.4      void (*FreeCursor) (SDL_Cursor * cursor);
     1.5  
     1.6      /* Warp the mouse to (x,y) */
     1.7 -    void (*WarpMouse) (SDL_Mouse * mouse, SDL_WindowID windowID, int x,
     1.8 +    void (*WarpMouse) (SDL_Mouse * mouse, SDL_Window * window, int x,
     1.9                         int y);
    1.10  
    1.11      /* Free the mouse when it's time */
    1.12 @@ -65,7 +65,7 @@
    1.13  
    1.14      /* Data common to all mice */
    1.15      int id;
    1.16 -    SDL_WindowID focus;
    1.17 +    SDL_Window *focus;
    1.18      int which;
    1.19      int x;
    1.20      int y;
    1.21 @@ -106,7 +106,7 @@
    1.22  extern void SDL_ResetMouse(int index);
    1.23  
    1.24  /* Set the mouse focus window */
    1.25 -extern void SDL_SetMouseFocus(int id, SDL_WindowID windowID);
    1.26 +extern void SDL_SetMouseFocus(int id, SDL_Window * window);
    1.27  
    1.28  /* Send a mouse motion event for a mouse */
    1.29  extern int SDL_SendMouseMotion(int id, int relative, int x, int y, int z);