SDL 3.0
|
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_SetEventEnabled(). More...
#include <SDL_events.h>
Data Fields | |
Uint32 | type |
Uint64 | timestamp |
char * | file |
SDL_WindowID | windowID |
float | x |
float | y |
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_SetEventEnabled().
Definition at line 517 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 521 of file SDL_events.h.
Uint64 SDL_DropEvent::timestamp |
In nanoseconds, populated using SDL_GetTicksNS()
Definition at line 520 of file SDL_events.h.
Uint32 SDL_DropEvent::type |
SDL_EVENT_DROP_BEGIN or SDL_EVENT_DROP_FILE or SDL_EVENT_DROP_TEXT or SDL_EVENT_DROP_COMPLETE or SDL_EVENT_DROP_POSITION
Definition at line 519 of file SDL_events.h.
SDL_WindowID SDL_DropEvent::windowID |
The window that was dropped on, if any
Definition at line 522 of file SDL_events.h.
float SDL_DropEvent::x |
X coordinate, relative to window (not on begin)
Definition at line 523 of file SDL_events.h.
float SDL_DropEvent::y |
Y coordinate, relative to window (not on begin)
Definition at line 524 of file SDL_events.h.