Mercurial > sdl-ios-xcode
comparison include/SDL_mouse.h @ 3774:8b5b67000dc0 gsoc2008_manymouse
Cursor support added
author | Szymon Wilczek <kazeuser@gmail.com> |
---|---|
date | Tue, 05 Aug 2008 14:10:11 +0000 |
parents | 2970fcfbdd54 |
children | a9c2a7071874 |
comparison
equal
deleted
inserted
replaced
3773:3b5691f85c0d | 3774:8b5b67000dc0 |
---|---|
205 */ | 205 */ |
206 | 206 |
207 extern DECLSPEC int SDLCALL SDL_GetNumOfMice(void); | 207 extern DECLSPEC int SDLCALL SDL_GetNumOfMice(void); |
208 | 208 |
209 extern DECLSPEC char* SDLCALL SDL_GetMouseName(int index); | 209 extern DECLSPEC char* SDLCALL SDL_GetMouseName(int index); |
210 | |
211 extern DECLSPEC int SDLCALL SDL_GetCursorsNumber(int index); | |
210 | 212 |
211 #define SDL_BUTTON(X) (1 << ((X)-1)) | 213 #define SDL_BUTTON(X) (1 << ((X)-1)) |
212 #define SDL_BUTTON_LEFT 1 | 214 #define SDL_BUTTON_LEFT 1 |
213 #define SDL_BUTTON_MIDDLE 2 | 215 #define SDL_BUTTON_MIDDLE 2 |
214 #define SDL_BUTTON_RIGHT 3 | 216 #define SDL_BUTTON_RIGHT 3 |