src/events/SDL_mouse_c.h
changeset 2794 f7872b7a8732
parent 2727 76c2fc9696ea
child 2849 523b10db69f8
     1.1 --- a/src/events/SDL_mouse_c.h	Thu Nov 27 05:29:12 2008 +0000
     1.2 +++ b/src/events/SDL_mouse_c.h	Thu Nov 27 21:53:18 2008 +0000
     1.3 @@ -66,8 +66,8 @@
     1.4      /* Data common to all mice */
     1.5      SDL_WindowID focus;
     1.6      int which;
     1.7 -    int x;
     1.8 -    int y;
     1.9 +    int x, x_max;
    1.10 +    int y, y_max;
    1.11      int z;                      /* for future use */
    1.12      int xdelta;
    1.13      int ydelta;
    1.14 @@ -112,6 +112,9 @@
    1.15  /* Set the mouse focus window */
    1.16  extern void SDL_SetMouseFocus(int id, SDL_WindowID windowID);
    1.17  
    1.18 +/* Set the size of the mouse focus window */
    1.19 +extern void SDL_SetMouseFocusSize(SDL_WindowID windowID, int w, int h);
    1.20 +
    1.21  /* Send a mouse motion event for a mouse */
    1.22  extern int SDL_SendMouseMotion(int id, int relative, int x, int y, int z);
    1.23  
    1.24 @@ -128,7 +131,6 @@
    1.25  extern void SDL_MouseQuit(void);
    1.26  
    1.27  /* FIXME: Where do these functions go in this header? */
    1.28 -extern void SDL_UpdateCoordinates(int x, int y);
    1.29  extern void SDL_ChangeEnd(int id, int end);
    1.30  
    1.31  #endif /* _SDL_mouse_c_h */