|
⇤ ← Revision 1 as of 2010-03-24 20:09:32
Size: 779
Comment: create page, add content (Rev 5540)
|
Size: 905
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.
Contents
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
