Wiki Page Content

Differences between revisions 3 and 4
Revision 3 as of 2010-01-10 23:01:36
Size: 1390
Editor: SheenaSmith
Comment: added DRAFT to top for removal after page is edited
Revision 4 as of 2010-01-22 06:51:10
Size: 1297
Editor: SheenaSmith
Comment: edited, remove DRAFT
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
||<tablewidth="100%"style="color: rgb(255, 0, 0); text-align: center;">DRAFT||
Line 6: Line 5:
An enumeration of the --(event)-- subtype for window events. An enumeration of window events.
Line 11: Line 10:
||SDL_WINDOWEVENT_NONE||^window^ never used|| ||<style="color: #808080;">SDL_WINDOWEVENT_NONE||<style="color: #808080;">never used||
Line 20: Line 19:
||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_ENTER||window has gained mouse focus||
||SDL_WINDOWEVENT_LEAVE||window has lost mouse focus||
||SDL_WINDOWEVENT_FOCUS_GAINED||window has gained keyboard focus||
||SDL_WINDOWEVENT_FOCUS_LOST||window has lost keyboard focus||
Line 34: Line 33:
== Related Functions ==
 .[[SDL_CreateWindow]] ?????
== Related Structures ==
 .[[SDL_WindowEvent]]

SDL_WindowEventID

An enumeration of window events.

Values

SDL_WINDOWEVENT_NONE

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

window has gained mouse focus

SDL_WINDOWEVENT_LEAVE

window has lost mouse focus

SDL_WINDOWEVENT_FOCUS_GAINED

window has gained keyboard focus

SDL_WINDOWEVENT_FOCUS_LOST

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