diff src/events/SDL_mouse_c.h @ 3774:8b5b67000dc0 gsoc2008_manymouse

Cursor support added
author Szymon Wilczek <kazeuser@gmail.com>
date Tue, 05 Aug 2008 14:10:11 +0000
parents 3b5691f85c0d
children a9c2a7071874
line wrap: on
line diff
--- a/src/events/SDL_mouse_c.h	Mon Aug 04 11:18:10 2008 +0000
+++ b/src/events/SDL_mouse_c.h	Tue Aug 05 14:10:11 2008 +0000
@@ -62,6 +62,8 @@
     int pressure_min;
     int tilt;/*for future use*/
     int rotation;/*for future use*/
+    int total_ends;
+    int current_end;
 
     /* Data common to all mice */
     SDL_WindowID focus;
@@ -96,7 +98,8 @@
 /* Add a mouse, possibly reattaching at a particular index (or -1),
    returning the index of the mouse, or -1 if there was an error.
  */
-extern int SDL_AddMouse(const SDL_Mouse * mouse, int index, char* name, int pressure_max, int pressure_min);
+extern int SDL_AddMouse(const SDL_Mouse * mouse, int index, char* name,\
+ int pressure_max, int pressure_min, int ends);
 
 /* Remove a mouse at an index, clearing the slot for later */
 extern void SDL_DelMouse(int index);
@@ -129,6 +132,10 @@
 
 extern void SDL_UpdateCoordinates(int x, int y);
 
+extern void SDL_ChangeEnd(int id, int end);
+
+extern int SDL_GetCursorsNumber(int index);
+
 #endif /* _SDL_mouse_c_h */
 
 /* vi: set ts=4 sw=4 expandtab: */