|
Size: 540
Comment: create page, add content (Rev 5540)
|
Size: 766
Comment: Updated structure.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 2: | Line 2: |
| #pragma disable-camelcase ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| |
#pragma camelcase off |
| Line 11: | Line 10: |
| ||Uint8||'''type'''||SDL_QUIT|| | ||Uint32||'''type'''||SDL_QUIT|| ||Uint32||'''timestamp'''||timestamp of the event|| |
| Line 19: | Line 19: |
| ''You can add useful comments here'' | [[SDL_QuitEvent]] is a member of the [[SDL_Event]] union and is used when an event of type SDL_QUIT is reported. You would access it through the event's `quit` field. Please refer to [[SDL_EventType#SDL_QUIT|the discussion of SDL_QUIT]] for more details. |
| Line 22: | Line 24: |
| .[[SDL_EventMask]]??? .[[SDL_EventType]]??? |
.[[SDL_EventType]] |
| Line 25: | Line 26: |
| == Related Functions == | == Related Structures == .[[SDL_Event]] |
| Line 28: | Line 30: |
| [[CategoryStruct]] | [[CategoryStruct]], [[CategoryEvents]] |
SDL_QuitEvent
A structure that contains the "quit requested" event.
Data Fields
Uint32 |
type |
SDL_QUIT |
Uint32 |
timestamp |
timestamp of the event |
Code Examples
You can add your code example here
Remarks
SDL_QuitEvent is a member of the SDL_Event union and is used when an event of type SDL_QUIT is reported. You would access it through the event's quit field.
Please refer to the discussion of SDL_QUIT for more details.
Related Enumerations
