Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2010-03-24 20:09:32
Size: 779
Editor: SheenaSmith
Comment: create page, add content (Rev 5540)
Revision 2 as of 2010-07-28 19:55:05
Size: 905
Editor: SheenaSmith
Comment: update content - changeset 4624
Deletions are marked like this. Additions are marked like this.
Line 12: Line 12:
SDL_bool SDL_HasEvent(Uint32 mask) SDL_bool SDL_HasEvent(Uint32 type)
Line 16: Line 16:
||'''type'''||^the type of event to check for^||

<<Color2(green,Was this really removed entirely?)>>
Line 19: Line 22:
SDL_TRUE if events matching '''mask''' are present, or SDL_FALSE if events matching '''mask''' are not present. ??? SDL_TRUE if events matching '''type''' are present, or SDL_FALSE if events matching '''type''' are not present. ???
Line 30: Line 33:
 .[[SDL_HasEvents]]

DRAFT

SDL_HasEvent

Use this function to check to see if for certain event types are in the event queue.

Syntax

SDL_bool SDL_HasEvent(Uint32 type)

Function Parameters

type

the type of event to check for

green

mask

criteria by which to select events from the queue

Return Value

SDL_TRUE if events matching type are present, or SDL_FALSE if events matching type are not present. ???

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryAPI, CategoryEvents

None: SDL_HasEvent (last edited 2013-08-08 22:49:07 by RyanGordon)

Feedback
Please include your contact information if you'd like to receive a reply.
Submit