Differences between current version and predecessor to the previous major change of SDL_UserEvent(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:50 pm | by perry | |
Older page: | version 1 | Last edited on Monday, June 3, 2002 6:53:50 pm | by perry | Revert |
@@ -1,6 +1,6 @@
-SDL_UserEvent
-!!!SDL_UserEvent
+SDL_!
UserEvent
+!!!SDL_!
UserEvent
NAME
STRUCTURE DEFINITION
STRUCTURE DATA
DESCRIPTION
@@ -9,18 +9,18 @@
----
!!NAME
-SDL_UserEvent- A user-defined event type
+SDL_!
UserEvent- A user-defined event type
!!STRUCTURE DEFINITION
typedef struct{
Uint8 type;
int code;
void *data1;
void *data2;
-} SDL_UserEvent;
+} SDL_!
UserEvent;
!!STRUCTURE DATA
__type SDL_USEREVENT__ through to
@@ -36,12 +36,12 @@
__data2__ User defined data pointer
!!DESCRIPTION
-__SDL_UserEvent__ is in the __user__ member of the
+__SDL_!
UserEvent__ is in the __user__ member of the
structure __SDL_Event__. This event is unique, it is
never created by SDL but only by the user. The event can be
-pushed onto the event queue using __SDL_PushEvent__. The
+pushed onto the event queue using __SDL_!
PushEvent__. The
contents of the structure members or completely up to the
programmer, the only requirement is that __type__ is a
value from __SDL_USEREVENT__ to __SDL_NUMEVENTS-1__
(inclusive).
@@ -52,10 +52,10 @@
event.type = SDL_USEREVENT;
event.user.code = my_event_code;
event.user.data1 = significant_data;
event.user.data2 = 0;
-SDL_PushEvent(
+SDL_!
PushEvent(
!!SEE ALSO
-__SDL_Event__, __SDL_PushEvent__
+__SDL_Event__, __SDL_!
PushEvent__
----