Wiki Page Content

Differences between revisions 1 and 2
Revision 1 as of 2009-12-09 21:38:00
Size: 1280
Editor: SheenaSmith
Comment: create page, add content
Revision 2 as of 2009-12-12 06:54:35
Size: 1317
Editor: SheenaSmith
Comment: format update
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
Event subtype for window events. An enumeration that sets the --(event)-- subtype for window events.
Line 10: Line 10:
||SDL_WINDOWEVENT_NONE||''window'' never used|| ||SDL_WINDOWEVENT_NONE||^window^ never used||
Line 19: Line 19:
||SDL_WINDOWEVENT_ENTER||''THE'' window has gained mouse focus|| ||SDL_WINDOWEVENT_ENTER||,,the,, window has gained mouse focus||
Line 31: Line 31:
You can add useful comments here ''You can add useful comments here''

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

None: SDL_WindowEventID (last edited 2017-02-19 20:54:31 by PhilippWiesemann)

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