Differences between current version and previous revision of SDL_MouseMotionEvent(3).
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 2 | Last edited on Monday, June 3, 2002 6:53:46 pm | by perry | |
Older page: | version 1 | Last edited on Monday, June 3, 2002 6:53:46 pm | by perry | Revert |
@@ -1,6 +1,6 @@
-SDL_MouseMotionEvent
-!!!SDL_MouseMotionEvent
+SDL_!
MouseMotionEvent
+!!!SDL_!
MouseMotionEvent
NAME
STRUCTURE DEFINITION
STRUCTURE DATA
DESCRIPTION
@@ -8,18 +8,18 @@
----
!!NAME
-SDL_MouseMotionEvent- Mouse motion event structure
+SDL_!
MouseMotionEvent- Mouse motion event structure
!!STRUCTURE DEFINITION
typedef struct{
Uint8 type;
Uint8 state;
Uint16 x, y;
Sint16 xrel, yrel;
-} SDL_MouseMotionEvent;
+} SDL_!
MouseMotionEvent;
!!STRUCTURE DATA
__type SDL_MOUSEMOTION__
@@ -36,30 +36,30 @@
direction
!!DESCRIPTION
-__SDL_MouseMotionEvent__ is a member of the
+__SDL_!
MouseMotionEvent__ is a member of the
__SDL_Event__ union and is used when an event of type
__SDL_MOUSEMOTION__ is reported.
Simply put, a __SDL_MOUSEMOTION__ type event occurs when
a user moves the mouse within the application window or when
-__SDL_WarpMouse__ is called. Both the absolute (__x__
+__SDL_!
WarpMouse__ is called. Both the absolute (__x__
and __y__) and relative (__xrel__ and __yrel__)
coordinates are reported along with the current button
states (__state__). The button state can be interpreted
using the __SDL_BUTTON__ macro (see
-__SDL_GetMouseState__).
+__SDL_!
GetMouseState__).
-If the cursor is hidden (__SDL_ShowCursor__''()'')
+If the cursor is hidden (__SDL_!
ShowCursor__''()'')
and the input is grabbed
-(__SDL_WM_GrabInput__''(SDL_GRAB_ON)''), then the
+(__SDL_WM_!
GrabInput__''(SDL_GRAB_ON)''), then the
mouse will give relative motion events even when the cursor
reaches the edge fo the screen. This is currently only
implemented on Windows and Linux/Unix-a-likes.
!!SEE ALSO
-__SDL_Event__, __SDL_MouseButtonEvent__
+__SDL_Event__, __SDL_!
MouseButtonEvent__
----