Wiki Page Content

Revision 2 as of 2009-12-12 06:54:35

Clear message

SDL_WindowEventID

An enumeration that sets the event subtype for window events.

Values

SDL_WINDOWEVENT_NONE

window never used

SDL_WINDOWEVENT_SHOWN

window has been shown

SDL_WINDOWEVENT_HIDDEN

window has been hidden

SDL_WINDOWEVENT_EXPOSED

window has been exposed and should be redrawn

SDL_WINDOWEVENT_MOVED

window has been moved to data1, data2

SDL_WINDOWEVENT_RESIZED

window size changed to data1xdata2

SDL_WINDOWEVENT_MINIMIZED

window has been minimized

SDL_WINDOWEVENT_MAXIMIZED

window has been maximized

SDL_WINDOWEVENT_RESTORED

window has been restored to normal size and position

SDL_WINDOWEVENT_ENTER

the window has gained mouse focus

SDL_WINDOWEVENT_LEAVE

the window has lost mouse focus

SDL_WINDOWEVENT_FOCUS_GAINED

the window has gained keyboard focus

SDL_WINDOWEVENT_FOCUS_LOST

the window has lost keyboard focus

SDL_WINDOWEVENT_CLOSE

the window manager requests that the window be closed

Code Examples

You can add your code example here

Remarks

You can add useful comments here


CategoryEnum

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