comparison src/events/SDL_mouse_c.h @ 2712:c4e697245676

Fixed compile errors introduced during the merge refactoring
author Sam Lantinga <slouken@libsdl.org>
date Mon, 25 Aug 2008 08:50:37 +0000
parents 44e49d3fa6cf
children 76c2fc9696ea
comparison
equal deleted inserted replaced
2711:62e7af9b2b67 2712:c4e697245676
86 }; 86 };
87 87
88 /* Initialize the mouse subsystem */ 88 /* Initialize the mouse subsystem */
89 extern int SDL_MouseInit(void); 89 extern int SDL_MouseInit(void);
90 90
91 /* Get the mouse at an index */
92 extern SDL_Mouse *SDL_GetMouse(int index);
93
94 /* Assign an id to a mouse at an index */ 91 /* Assign an id to a mouse at an index */
95 extern int SDL_SetMouseIndexId(int id, int index); 92 extern int SDL_SetMouseIndexId(int id, int index);
96 93
97 /* Get the mouse by id */ 94 /* Get the index of a mouse specified by id */
98 extern SDL_Mouse *SDL_GetMouseByID(int id); 95 extern int SDL_GetMouseIndexId(int id);
96
97 /* Get the mouse at an index */
98 extern SDL_Mouse *SDL_GetMouse(int index);
99 99
100 /* Add a mouse, possibly reattaching at a particular index (or -1), 100 /* Add a mouse, possibly reattaching at a particular index (or -1),
101 returning the index of the mouse, or -1 if there was an error. 101 returning the index of the mouse, or -1 if there was an error.
102 */ 102 */
103 extern int SDL_AddMouse(const SDL_Mouse * mouse, int index, char *name, 103 extern int SDL_AddMouse(const SDL_Mouse * mouse, int index, char *name,