|
Odamex
Setting the Standard in Multiplayer Doom
|
Functions | |
| txt_window_action_t * | TXT_NewWindowAction (int key, const char *label) |
| Create a new window action. | |
| txt_window_action_t * | TXT_NewWindowEscapeAction (txt_window_t *window) |
| Create a new window action that closes the window when the escape key is pressed. | |
| txt_window_action_t * | TXT_NewWindowAbortAction (txt_window_t *window) |
| Create a new window action that closes the window when the escape key is pressed. | |
| txt_window_action_t * | TXT_NewWindowSelectAction (txt_window_t *window) |
| Create a new "select" window action. | |
Variables | |
| txt_widget_class_t | txt_window_action_class |
| txt_window_action_t* TXT_NewWindowAbortAction | ( | txt_window_t * | window | ) |
Create a new window action that closes the window when the escape key is pressed.
The label "Abort" is used.
| window | The window to close. |
| txt_window_action_t* TXT_NewWindowAction | ( | int | key, |
| const char * | label | ||
| ) |
Create a new window action.
| key | The keyboard key that triggers this action. |
| label | Label to display for this action in the tray at the bottom of the window. |
| txt_window_action_t* TXT_NewWindowEscapeAction | ( | txt_window_t * | window | ) |
Create a new window action that closes the window when the escape key is pressed.
The label "Close" is used.
| window | The window to close. |
| txt_window_action_t* TXT_NewWindowSelectAction | ( | txt_window_t * | window | ) |
Create a new "select" window action.
This does not really do anything, but reminds the user that "enter" can be pressed to activate the currently-selected widget.
| window | The window. |
{
TXT_WindowActionSizeCalc,
TXT_WindowActionDrawer,
TXT_WindowActionKeyPress,
TXT_WindowActionDestructor,
TXT_WindowActionMousePress,
NULL,
}