|
⇤ ← Revision 1 as of 2009-12-09 21:38:00
Size: 1280
Comment: create page, add content
|
Size: 1317
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
Related Functions
SDL_CreateWindow ?????
