Wiki Page Content

SDL_HasEvents

Use this function to check for the existence of a range of event types in the event queue.

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.


CategoryAPI, CategoryEvents

None: SDL_HasEvents (last edited 2013-08-08 22:48:43 by RyanGordon)

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