Wiki Page Content

Differences between revisions 5 and 6
Revision 5 as of 2011-12-06 05:24:33
Size: 1427
Editor: SheenaSmith
Comment: some sans-Sam editing; camelcase
Revision 6 as of 2011-12-30 19:39:29
Size: 1205
Editor: SheenaSmith
Comment: remove reference to SDL_VideoInfo
Deletions are marked like this. Additions are marked like this.
Line 35: Line 35:
*<<Color2(green,Does the following still apply in 1.3?)>><<BR>>
[[SDL_EventState]]() must be called following the [[SDL_VideoInfo]] call. Otherwise the back-end data structure will be erased.*

== Related Functions ==

DRAFT

SDL_EventState

Use this function to set the state of processing events by type.

Syntax

Uint8 SDL_EventState(Uint32 type,
                     int    state)

Function Parameters

type

the type of event; see SDL_EventType for details

state

how to process the event; see Remarks for details

Return Value

Returns an 8-bit bitmask of the current processing state. See Remarks for details; call SDL_GetError() for more information.

Code Examples

You can add your code example here

Remarks

state may be any of the following:

-1

SDL_QUERY

returns the current processing state of the specified event

0

SDL_IGNORE

the event will automatically be dropped from the event queue and will not be filtered

0

SDL_DISABLE

the event type will be disabled (blocked) and pending events discarded

1

SDL_ENABLE

the event will be processed normally


CategoryAPI, CategoryEvents

None: SDL_EventState (last edited 2018-11-18 17:03:41 by SylvainBeucler)

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