|
Size: 927
Comment: minor change
|
← Revision 3 as of 2013-08-08 22:48:43 ⇥
Size: 962
Comment: Edited
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 6: | Line 5: |
| Use this function to check ,,to see if,, ^for^ certain event types ,,are,, in the event queue. | Use this function to check for the existence of a range of event types in the event queue. |
| Line 17: | Line 16: |
| ||'''minType'''||^the minimum number of the specified type of event^|| ||'''maxType'''||^the maximum number of the specified type of event^|| |
||'''minType'''||the minimum type of event to be queried; see [[SDL_EventType]] for details|| ||'''maxType'''||the maximum type of event to be queried; see [[SDL_EventType]] for details|| |
| Line 21: | Line 20: |
| Returns ^SDL_TRUE if between '''minType''' and '''maxType''' events are present, or SDL_FALSE if more or less are present^. | Returns SDL_TRUE if events with types in the range between '''minType''' and '''maxType''' are present, or SDL_FALSE if not. |
| Line 29: | Line 28: |
| ''You can add useful comments here'' | If you need to check for a single event type, you can use [[SDL_HasEvent]]() instead. |
SDL_HasEvents
Use this function to check for the existence of a range of event types in the event queue.
Contents
Syntax
SDL_bool SDL_HasEvents(Uint32 minType,
Uint32 maxType)
Function Parameters
minType |
the minimum type of event to be queried; see SDL_EventType for details |
maxType |
the maximum type of event to be queried; see SDL_EventType for details |
Return Value
Returns SDL_TRUE if events with types in the range between minType and maxType are present, or SDL_FALSE if not.
Code Examples
You can add your code example here
Remarks
If you need to check for a single event type, you can use SDL_HasEvent() instead.
