Mercurial > sdl-ios-xcode
diff src/video/SDL_sysvideo.h @ 1671:89f7510fe17a SDL-1.3
Moved the cursor handling into the mouse code.
Added support for multiple mice, potentially dynamically added and removed.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Fri, 09 Jun 2006 06:42:42 +0000 |
parents | eef792d31de8 |
children | 624e1412fbba |
line wrap: on
line diff
--- a/src/video/SDL_sysvideo.h Wed Jun 07 16:10:28 2006 +0000 +++ b/src/video/SDL_sysvideo.h Fri Jun 09 06:42:42 2006 +0000 @@ -291,30 +291,6 @@ int is_32bit; #endif - /* * * */ - /* Cursor manager functions */ - - /* Free a window manager cursor - This function can be NULL if CreateWMCursor is also NULL. - */ - void (*FreeCursor) (_THIS, SDL_Cursor * cursor); - - /* If not NULL, create a black/white window manager cursor */ - SDL_Cursor *(*CreateCursor) (_THIS, - Uint8 * data, Uint8 * mask, int w, int h, - int hot_x, int hot_y); - - /* Show the specified cursor, or hide if cursor is NULL */ - int (*ShowCursor) (_THIS, SDL_Cursor * cursor); - - /* Warp the window manager cursor to (x,y) - If NULL, a mouse motion event is posted internally. - */ - void (*WarpCursor) (_THIS, SDL_WindowID windowID, int x, int y); - - /* If not NULL, this is called when a mouse motion event occurs */ - void (*MoveCursor) (_THIS, int x, int y); - /* Determine whether the mouse should be in relative mode or not. This function is called when the input grab state or cursor visibility state changes.