Differences between version 2 and predecessor to the previous major change of SDL_MouseButtonEvent(3).
Other diffs: Previous 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 | Revert |
Older page: | version 1 | Last edited on Monday, June 3, 2002 6:53:46 pm | by perry | Revert |
@@ -1,6 +1,6 @@
-SDL_MouseButtonEvent
-!!!SDL_MouseButtonEvent
+SDL_!
MouseButtonEvent
+!!!SDL_!
MouseButtonEvent
NAME
STRUCTURE DEFINITION
STRUCTURE DATA
DESCRIPTION
@@ -8,18 +8,18 @@
----
!!NAME
-SDL_MouseButtonEvent- Mouse button event structure
+SDL_!
MouseButtonEvent- Mouse button event structure
!!STRUCTURE DEFINITION
typedef struct{
Uint8 type;
Uint8 button;
Uint8 state;
Uint16 x, y;
-} SDL_MouseButtonEvent;
+} SDL_!
MouseButtonEvent;
!!STRUCTURE DATA
__type SDL_MOUSEBUTTONDOWN__ or
@@ -37,9 +37,9 @@
press/release time
!!DESCRIPTION
-__SDL_MouseButtonEvent__ is a member of the
+__SDL_!
MouseButtonEvent__ is a member of the
__SDL_Event__ union and is used when an event of type
__SDL_MOUSEBUTTONDOWN__ or __SDL_MOUSEBUTTONUP__ is
reported.
@@ -48,13 +48,13 @@
of the button pressed (from 1 to 255, with 1 usually being
the left button and 2 the right) is placed into
__button__, the position of the mouse when this event
occured is stored in the __x__ and the __y__ fields.
-Like __SDL_KeyboardEvent__, information on whether the
+Like __SDL_!
KeyboardEvent__, information on whether the
event was a press or a release event is stored in both the
__type__ and __state__ fields, but this should be
obvious.
!!SEE ALSO
-__SDL_Event__, __SDL_MouseMotionEvent__
+__SDL_Event__, __SDL_!
MouseMotionEvent__
----