SDL  2.0
SDL_dropevents_c.h File Reference
#include "../SDL_internal.h"
+ Include dependency graph for SDL_dropevents_c.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int SDL_SendDropFile (SDL_Window *window, const char *file)
int SDL_SendDropText (SDL_Window *window, const char *text)
int SDL_SendDropComplete (SDL_Window *window)

Function Documentation

int SDL_SendDropComplete ( SDL_Window window)

Definition at line 92 of file SDL_dropevents.c.

References NULL, SDL_DROPCOMPLETE, and SDL_SendDrop().

{
}
int SDL_SendDropFile ( SDL_Window window,
const char *  file 
)

Definition at line 80 of file SDL_dropevents.c.

References SDL_DROPFILE, and SDL_SendDrop().

{
return SDL_SendDrop(window, SDL_DROPFILE, file);
}
int SDL_SendDropText ( SDL_Window window,
const char *  text 
)

Definition at line 86 of file SDL_dropevents.c.

References SDL_DROPTEXT, and SDL_SendDrop().

{
return SDL_SendDrop(window, SDL_DROPTEXT, text);
}