SDL 2.0
|
#include <SDL_events.h>
Data Fields | |
Uint32 | type |
Uint32 | timestamp |
char * | file |
Uint32 | windowID |
An event used to request a file open by the system (event.drop.*)
This event is enabled by default, you can disable it with SDL_EventState().
If this event is enabled, you must free the filename in the event.
Definition at line 588 of file SDL_events.h.
char* SDL_DropEvent::file |
The file name, which should be freed with SDL_free(), is NULL on begin/complete
Definition at line 592 of file SDL_events.h.
Uint32 SDL_DropEvent::timestamp |
In milliseconds, populated using SDL_GetTicks()
Definition at line 591 of file SDL_events.h.
Uint32 SDL_DropEvent::type |
SDL_DROPBEGIN or SDL_DROPFILE or SDL_DROPTEXT or SDL_DROPCOMPLETE
Definition at line 590 of file SDL_events.h.
Uint32 SDL_DropEvent::windowID |
The window that was dropped on, if any
Definition at line 593 of file SDL_events.h.