comparison include/SDL_mouse.h @ 1330:450721ad5436

It's now possible to build SDL without any C runtime at all on Windows, using Visual C++ 2005
author Sam Lantinga <slouken@libsdl.org>
date Mon, 06 Feb 2006 08:28:51 +0000
parents c9b51268668f
children 67114343400d
comparison
equal deleted inserted replaced
1329:bc67bbf87818 1330:450721ad5436
113 Button 2: Middle mouse button 113 Button 2: Middle mouse button
114 Button 3: Right mouse button 114 Button 3: Right mouse button
115 Button 4: Mouse wheel up (may also be a real button) 115 Button 4: Mouse wheel up (may also be a real button)
116 Button 5: Mouse wheel down (may also be a real button) 116 Button 5: Mouse wheel down (may also be a real button)
117 */ 117 */
118 #define SDL_BUTTON(X) (SDL_PRESSED << ((X)-1)) 118 #define SDL_BUTTON(X) (1 << ((X)-1))
119 #define SDL_BUTTON_LEFT 1 119 #define SDL_BUTTON_LEFT 1
120 #define SDL_BUTTON_MIDDLE 2 120 #define SDL_BUTTON_MIDDLE 2
121 #define SDL_BUTTON_RIGHT 3 121 #define SDL_BUTTON_RIGHT 3
122 #define SDL_BUTTON_WHEELUP 4 122 #define SDL_BUTTON_WHEELUP 4
123 #define SDL_BUTTON_WHEELDOWN 5 123 #define SDL_BUTTON_WHEELDOWN 5