SDL
2.0
|
#include "../SDL_internal.h"
#include "SDL_events.h"
#include "SDL_events_c.h"
#include "SDL_dropevents_c.h"
#include "../video/SDL_sysvideo.h"
Go to the source code of this file.
Functions | |
static int | SDL_SendDrop (SDL_Window *window, const SDL_EventType evtype, const char *data) |
int | SDL_SendDropFile (SDL_Window *window, const char *file) |
int | SDL_SendDropText (SDL_Window *window, const char *text) |
int | SDL_SendDropComplete (SDL_Window *window) |
|
static |
Definition at line 33 of file SDL_dropevents.c.
References SDL_Window::id, SDL_Window::is_dropping, NULL, SDL_DROPBEGIN, SDL_DROPCOMPLETE, SDL_ENABLE, SDL_FALSE, SDL_GetEventState, SDL_PushEvent, SDL_strdup, SDL_TRUE, and SDL_zero.
Referenced by SDL_SendDropComplete(), SDL_SendDropFile(), and SDL_SendDropText().
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().
int SDL_SendDropText | ( | SDL_Window * | window, |
const char * | text | ||
) |
Definition at line 86 of file SDL_dropevents.c.
References SDL_DROPTEXT, and SDL_SendDrop().