SDL
2.0
|
#include "../SDL_internal.h"
#include "SDL_events.h"
#include "SDL_thread.h"
#include "../video/SDL_sysvideo.h"
#include "SDL_clipboardevents_c.h"
#include "SDL_displayevents_c.h"
#include "SDL_dropevents_c.h"
#include "SDL_gesture_c.h"
#include "SDL_keyboard_c.h"
#include "SDL_mouse_c.h"
#include "SDL_touch_c.h"
#include "SDL_windowevents_c.h"
Go to the source code of this file.
Functions | |
int | SDL_StartEventLoop (void) |
void | SDL_StopEventLoop (void) |
void | SDL_QuitInterrupt (void) |
int | SDL_SendAppEvent (SDL_EventType eventType) |
int | SDL_SendSysWMEvent (SDL_SysWMmsg *message) |
int | SDL_SendKeymapChangedEvent (void) |
int | SDL_SendQuit (void) |
int | SDL_EventsInit (void) |
void | SDL_EventsQuit (void) |
void | SDL_SendPendingSignalEvents (void) |
int | SDL_QuitInit (void) |
void | SDL_QuitQuit (void) |
int SDL_EventsInit | ( | void | ) |
Definition at line 1009 of file SDL_events.c.
References NULL, SDL_AddHintCallback, SDL_DelHintCallback, SDL_EventLoggingChanged(), SDL_HINT_EVENT_LOGGING, SDL_QuitInit(), and SDL_StartEventLoop().
Referenced by SDL_InitSubSystem().
Definition at line 1023 of file SDL_events.c.
References NULL, SDL_DelHintCallback, SDL_EventLoggingChanged(), SDL_HINT_EVENT_LOGGING, SDL_QuitQuit(), and SDL_StopEventLoop().
Referenced by SDL_QuitSubSystem().
int SDL_QuitInit | ( | void | ) |
Definition at line 154 of file SDL_quit.c.
References SDL_FALSE, SDL_GetHintBoolean, SDL_HINT_NO_SIGNAL_HANDLERS, and SDL_QuitInit_Internal().
Referenced by SDL_EventsInit().
Definition at line 165 of file SDL_quit.c.
References disable_signals, and SDL_QuitQuit_Internal().
Referenced by SDL_EventsQuit().
int SDL_SendAppEvent | ( | SDL_EventType | eventType | ) |
Definition at line 972 of file SDL_events.c.
References SDL_ENABLE, SDL_GetEventState, and SDL_PushEvent().
Referenced by SDL_OnApplicationDidBecomeActive(), SDL_OnApplicationDidEnterBackground(), SDL_OnApplicationDidReceiveMemoryWarning(), SDL_OnApplicationWillEnterForeground(), SDL_OnApplicationWillResignActive(), SDL_OnApplicationWillTerminate(), SDL_SendKeymapChangedEvent(), and SDL_SendQuit().
int SDL_SendKeymapChangedEvent | ( | void | ) |
Definition at line 1003 of file SDL_events.c.
References SDL_KEYMAPCHANGED, and SDL_SendAppEvent().
Definition at line 175 of file SDL_quit.c.
References SDL_assert, SDL_FALSE, SDL_OnApplicationDidBecomeActive, SDL_OnApplicationWillResignActive, SDL_SendQuit(), and send_quit_pending.
Referenced by SDL_PumpEvents().
int SDL_SendQuit | ( | void | ) |
Definition at line 201 of file SDL_quit.c.
References SDL_FALSE, SDL_QUIT, SDL_SendAppEvent(), and send_quit_pending.
Referenced by SDL_SendPendingSignalEvents(), and SDL_SendWindowEvent().
int SDL_SendSysWMEvent | ( | SDL_SysWMmsg * | message | ) |
Definition at line 986 of file SDL_events.c.
References SDL_ENABLE, SDL_GetEventState, SDL_memset, SDL_PushEvent(), and SDL_SYSWMEVENT.
int SDL_StartEventLoop | ( | void | ) |
Definition at line 421 of file SDL_events.c.
References NULL, SDL_AtomicSet, SDL_CreateMutex, SDL_DISABLE, SDL_DROPFILE, SDL_DROPTEXT, SDL_event_watchers_lock, SDL_EventQ, SDL_EventState(), SDL_SYSWMEVENT, SDL_TEXTEDITING, and SDL_TEXTINPUT.
Referenced by SDL_EventsInit().
Definition at line 347 of file SDL_events.c.
References i, _SDL_SysWMEntry::next, NULL, SDL_arraysize, SDL_atoi, SDL_AtomicSet, SDL_DestroyMutex, SDL_disabled_events, SDL_event_watchers, SDL_event_watchers_count, SDL_event_watchers_lock, SDL_EventOK, SDL_EventQ, SDL_free, SDL_GetHint, SDL_LockMutex, SDL_Log, SDL_UnlockMutex, and SDL_zero.
Referenced by SDL_EventsQuit().