diff include/SDL_mouse.h @ 3685:64ce267332c6

Switched from SDL_WindowID and SDL_TextureID to SDL_Window* and SDL_Texture* for code simplicity and improved performance.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 21 Jan 2010 06:21:52 +0000
parents f8816ffa210b
children f7b03b6838cb
line wrap: on
line diff
--- a/include/SDL_mouse.h	Thu Jan 21 05:49:41 2010 +0000
+++ b/include/SDL_mouse.h	Thu Jan 21 06:21:52 2010 +0000
@@ -75,7 +75,7 @@
 /**
  *  \brief Get the window which currently has focus for the specified mouse.
  */
-extern DECLSPEC SDL_WindowID SDLCALL SDL_GetMouseFocusWindow(int index);
+extern DECLSPEC SDL_Window * SDLCALL SDL_GetMouseFocusWindow(int index);
 
 /**
  *  \brief Set relative mouse mode for the specified mouse.
@@ -126,13 +126,13 @@
 /**
  *  \brief Moves the currently selected mouse to the given position within the window.
  *  
- *  \param windowID The window to move the mouse into, or 0 for the current mouse focus
+ *  \param window The window to move the mouse into, or NULL for the current mouse focus
  *  \param x The x coordinate within the window
  *  \param y The y coordinate within the window
  *  
  *  \note This function generates a mouse motion event
  */
-extern DECLSPEC void SDLCALL SDL_WarpMouseInWindow(SDL_WindowID windowID,
+extern DECLSPEC void SDLCALL SDL_WarpMouseInWindow(SDL_Window * window,
                                                    int x, int y);
 
 /**