SDL 3.0
|
#include <SDL_events.h>
Data Fields | |
SDL_EventType | type |
Uint32 | reserved |
Uint64 | timestamp |
SDL_WindowID | windowID |
float | x |
float | y |
const char * | source |
const char * | data |
An event used to drop text or request a file open by the system (event.drop.*)
Definition at line 785 of file SDL_events.h.
const char* SDL_DropEvent::data |
The text for SDL_EVENT_DROP_TEXT and the file name for SDL_EVENT_DROP_FILE, NULL for other events
Definition at line 794 of file SDL_events.h.
Uint32 SDL_DropEvent::reserved |
Definition at line 788 of file SDL_events.h.
const char* SDL_DropEvent::source |
The source app that sent this drop event, or NULL if that isn't available
Definition at line 793 of file SDL_events.h.
Uint64 SDL_DropEvent::timestamp |
In nanoseconds, populated using SDL_GetTicksNS()
Definition at line 789 of file SDL_events.h.
SDL_EventType 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 787 of file SDL_events.h.
SDL_WindowID SDL_DropEvent::windowID |
The window that was dropped on, if any
Definition at line 790 of file SDL_events.h.
float SDL_DropEvent::x |
X coordinate, relative to window (not on begin)
Definition at line 791 of file SDL_events.h.
float SDL_DropEvent::y |
Y coordinate, relative to window (not on begin)
Definition at line 792 of file SDL_events.h.