SDL
2.0
|
Go to the source code of this file.
Functions | |
static void | quit (int rc) |
static int | button_messagebox (void *eventNumber) |
int | main (int argc, char *argv[]) |
|
static |
Definition at line 29 of file testmessage.c.
References button, SDL_MessageBoxData::buttons, SDL_MessageBoxData::message, NULL, quit(), SDL_GetError, SDL_Log, SDL_LOG_CATEGORY_APPLICATION, SDL_LogError, SDL_MESSAGEBOX_BUTTON_ESCAPEKEY_DEFAULT, SDL_MESSAGEBOX_BUTTON_RETURNKEY_DEFAULT, SDL_MESSAGEBOX_INFORMATION, SDL_PushEvent, and SDL_ShowMessageBox.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 84 of file testmessage.c.
References button_messagebox(), NULL, quit(), SDL_CreateThread, SDL_CreateWindow, SDL_GetError, SDL_Init, SDL_INIT_VIDEO, SDL_KEYUP, SDL_Log, SDL_LOG_CATEGORY_APPLICATION, SDL_LOG_PRIORITY_INFO, SDL_LogError, SDL_LogSetPriority, SDL_MESSAGEBOX_ERROR, SDL_Quit, SDL_QUIT, SDL_RegisterEvents, SDL_ShowSimpleMessageBox, SDL_WaitEvent, SDL_WaitThread, SDL_WINDOWPOS_CENTERED, and SDL_Event::type.
|
static |
Definition at line 22 of file testmessage.c.
References SDL_Quit, and SDLCALL.
Referenced by button_messagebox(), and main().