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

◆ SDL_SendDropComplete()

int SDL_SendDropComplete ( SDL_Window window)

Definition at line 92 of file SDL_dropevents.c.

93{
95}
static int SDL_SendDrop(SDL_Window *window, const SDL_EventType evtype, const char *data)
@ SDL_DROPCOMPLETE
Definition: SDL_events.h:144
#define NULL
Definition: begin_code.h:167
EGLSurface EGLNativeWindowType * window
Definition: eglext.h:1025

References NULL, SDL_DROPCOMPLETE, and SDL_SendDrop().

◆ SDL_SendDropFile()

int SDL_SendDropFile ( SDL_Window window,
const char *  file 
)

Definition at line 80 of file SDL_dropevents.c.

81{
82 return SDL_SendDrop(window, SDL_DROPFILE, file);
83}
@ SDL_DROPFILE
Definition: SDL_events.h:141

References SDL_DROPFILE, and SDL_SendDrop().

◆ SDL_SendDropText()

int SDL_SendDropText ( SDL_Window window,
const char *  text 
)

Definition at line 86 of file SDL_dropevents.c.

87{
89}
@ SDL_DROPTEXT
Definition: SDL_events.h:142
static char text[MAX_TEXT_LENGTH]
Definition: testime.c:47

References SDL_DROPTEXT, SDL_SendDrop(), and text.