SDL
2.0
|
#include "../SDL_internal.h"
#include "SDL_events.h"
#include "SDL_thread.h"
#include "SDL_clipboardevents_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_QuitInit (void) |
int | SDL_SendQuit (void) |
void | SDL_QuitQuit (void) |
void | SDL_SendPendingQuit (void) |
int SDL_QuitInit | ( | void | ) |
Definition at line 92 of file SDL_quit.c.
References SDL_FALSE, SDL_GetHintBoolean, SDL_HINT_NO_SIGNAL_HANDLERS, and SDL_QuitInit_Internal().
Referenced by SDL_InitSubSystem().
Definition at line 128 of file SDL_quit.c.
References disable_signals, and SDL_QuitQuit_Internal().
Referenced by SDL_QuitSubSystem().
int SDL_SendAppEvent | ( | SDL_EventType | eventType | ) |
Definition at line 919 of file SDL_events.c.
References SDL_ENABLE, SDL_GetEventState, and SDL_PushEvent().
Referenced by IsSDLWindowEventPending(), SDL_OnApplicationDidBecomeActive(), SDL_OnApplicationDidEnterBackground(), SDL_OnApplicationDidReceiveMemoryWarning(), SDL_OnApplicationWillEnterForeground(), SDL_OnApplicationWillResignActive(), SDL_OnApplicationWillTerminate(), SDL_SendKeymapChangedEvent(), and SDL_SendQuit().
int SDL_SendKeymapChangedEvent | ( | void | ) |
Definition at line 950 of file SDL_events.c.
References SDL_KEYMAPCHANGED, and SDL_SendAppEvent().
Definition at line 144 of file SDL_quit.c.
References SDL_assert, SDL_SendQuit(), and send_quit_pending.
Referenced by SDL_PumpEvents().
int SDL_SendQuit | ( | void | ) |
Definition at line 137 of file SDL_quit.c.
References SDL_FALSE, SDL_QUIT, SDL_SendAppEvent(), and send_quit_pending.
Referenced by SDL_SendPendingQuit(), and SDL_SendWindowEvent().
int SDL_SendSysWMEvent | ( | SDL_SysWMmsg * | message | ) |
Definition at line 933 of file SDL_events.c.
References SDL_ENABLE, SDL_GetEventState, SDL_memset, SDL_PushEvent(), and SDL_SYSWMEVENT.
int SDL_StartEventLoop | ( | void | ) |
Definition at line 391 of file SDL_events.c.
References NULL, SDL_AtomicSet, SDL_CreateMutex, SDL_DISABLE, SDL_EventQ, SDL_EventState(), SDL_SYSWMEVENT, SDL_TEXTEDITING, and SDL_TEXTINPUT.
Referenced by SDL_InitSubSystem().
Definition at line 317 of file SDL_events.c.
References i, SDL_EventEntry::next, SDL_SysWMEntry::next, NULL, SDL_arraysize, SDL_atoi, SDL_AtomicSet, SDL_DestroyMutex, SDL_event_watchers_count, SDL_EventQ, SDL_free, SDL_GetHint, SDL_LockMutex, SDL_Log, SDL_UnlockMutex, and SDL_zero.
Referenced by SDL_QuitSubSystem().