From 9682c8870b8ff5e4ac2e4c70b759f791c6f38c1f Mon Sep 17 00:00:00 2001 From: Jesse Hall Date: Mon, 9 Jul 2012 11:27:07 -0700 Subject: Import SDL release-1.2.15 Change-Id: I505c4aea24325cad475f217db5589814b4c75dbf --- distrib/sdl-1.2.15/docs/html/sdlpushevent.html | 266 +++++++++++++++++++++++++ 1 file changed, 266 insertions(+) create mode 100644 distrib/sdl-1.2.15/docs/html/sdlpushevent.html (limited to 'distrib/sdl-1.2.15/docs/html/sdlpushevent.html') diff --git a/distrib/sdl-1.2.15/docs/html/sdlpushevent.html b/distrib/sdl-1.2.15/docs/html/sdlpushevent.html new file mode 100644 index 0000000..6905385 --- /dev/null +++ b/distrib/sdl-1.2.15/docs/html/sdlpushevent.html @@ -0,0 +1,266 @@ +SDL_PushEvent
SDL Library Documentation
PrevNext

SDL_PushEvent

Name

SDL_PushEvent -- Pushes an event onto the event queue

Synopsis

#include "SDL.h"

int SDL_PushEvent(SDL_Event *event);

Description

The event queue can actually be used as a two way communication channel. Not only can events be read from the queue, but the user can also push their own events onto it. event is a pointer to the event structure you wish to push onto the queue.

Note: Pushing device input events onto the queue doesn't modify the state of the device within SDL.

Return Value

Returns 0 on success or -1 if the event couldn't be pushed.

Examples

See SDL_Event.

See Also

SDL_PollEvent, +SDL_PeepEvents, +SDL_Event


PrevHomeNext
SDL_WaitEventUpSDL_SetEventFilter
\ No newline at end of file -- cgit v1.1