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

Textscreen desktop. More...

Go to the source code of this file.

Functions

void TXT_AddDesktopWindow (txt_window_t *win)
void TXT_RemoveDesktopWindow (txt_window_t *win)
void TXT_DrawDesktop (void)
void TXT_DispatchEvents (void)
void TXT_DrawWindow (txt_window_t *window, int selected)
void TXT_WindowKeyPress (txt_window_t *window, int c)
void TXT_SetDesktopTitle (char *title)
 Set the title displayed at the top of the screen.
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.

Detailed Description

Textscreen desktop.


Function Documentation

void TXT_AddDesktopWindow ( txt_window_t win)
void TXT_DispatchEvents ( void  )
void TXT_DrawDesktop ( void  )
void TXT_DrawWindow ( txt_window_t window,
int  selected 
)
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.
void TXT_WindowKeyPress ( txt_window_t window,
int  c 
)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends