Odamex
Setting the Standard in Multiplayer Doom
textscreen/txt_desktop.cpp File Reference

Functions

void TXT_AddDesktopWindow (txt_window_t *win)
void TXT_RemoveDesktopWindow (txt_window_t *win)
void TXT_SetDesktopTitle (char *title)
 Set the title displayed at the top of the screen.
void TXT_DrawDesktop (void)
void TXT_DispatchEvents (void)
void TXT_ExitMainLoop (void)
 Exit the currently-running main loop and return from the TXT_GUIMainLoop function.
void TXT_DrawASCIITable (void)
void TXT_GUIMainLoop (void)
 Start the main event loop.

Function Documentation

void TXT_AddDesktopWindow ( txt_window_t win)
void TXT_DispatchEvents ( void  )
void TXT_DrawASCIITable ( void  )
void TXT_DrawDesktop ( void  )
void TXT_ExitMainLoop ( void  )

Exit the currently-running main loop and return from the TXT_GUIMainLoop function.

void TXT_GUIMainLoop ( void  )

Start the main event loop.

At least one window must have been opened prior to running this function. When no windows are left open, the event loop exits.

It is possible to trigger an exit from this function using the TXT_ExitMainLoop function.

void TXT_RemoveDesktopWindow ( txt_window_t win)
void TXT_SetDesktopTitle ( char *  title)

Set the title displayed at the top of the screen.

Parameters:
titleThe title to display.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends