|
Odamex
Setting the Standard in Multiplayer Doom
|
Data Structures | |
| struct | txt_callback_t |
| struct | txt_callback_table_s |
Functions | |
| txt_callback_table_t * | TXT_NewCallbackTable (void) |
| void | TXT_RefCallbackTable (txt_callback_table_t *table) |
| void | TXT_UnrefCallbackTable (txt_callback_table_t *table) |
| void | TXT_InitWidget (TXT_UNCAST_ARG(widget), txt_widget_class_t *widget_class) |
| void | TXT_SignalConnect (TXT_UNCAST_ARG(widget), const char *signal_name, TxtWidgetSignalFunc func, void *user_data) |
| Set a callback function to be invoked when a signal occurs. | |
| void | TXT_EmitSignal (TXT_UNCAST_ARG(widget), const char *signal_name) |
| void | TXT_CalcWidgetSize (TXT_UNCAST_ARG(widget)) |
| void | TXT_DrawWidget (TXT_UNCAST_ARG(widget), int selected) |
| void | TXT_DestroyWidget (TXT_UNCAST_ARG(widget)) |
| int | TXT_WidgetKeyPress (TXT_UNCAST_ARG(widget), int key) |
| void | TXT_SetWidgetAlign (TXT_UNCAST_ARG(widget), txt_horiz_align_t horiz_align) |
| Set the policy for how a widget should be aligned within a table. | |
| void | TXT_WidgetMousePress (TXT_UNCAST_ARG(widget), int x, int y, int b) |
| void | TXT_LayoutWidget (TXT_UNCAST_ARG(widget)) |
| void TXT_CalcWidgetSize | ( | TXT_UNCAST_ARG(widget) | ) |
| void TXT_DestroyWidget | ( | TXT_UNCAST_ARG(widget) | ) |
| void TXT_DrawWidget | ( | TXT_UNCAST_ARG(widget) | , |
| int | selected | ||
| ) |
| void TXT_EmitSignal | ( | TXT_UNCAST_ARG(widget) | , |
| const char * | signal_name | ||
| ) |
| void TXT_InitWidget | ( | TXT_UNCAST_ARG(widget) | , |
| txt_widget_class_t * | widget_class | ||
| ) |
| void TXT_LayoutWidget | ( | TXT_UNCAST_ARG(widget) | ) |
| txt_callback_table_t* TXT_NewCallbackTable | ( | void | ) |
| void TXT_RefCallbackTable | ( | txt_callback_table_t * | table | ) |
| void TXT_SetWidgetAlign | ( | TXT_UNCAST_ARG(widget) | , |
| txt_horiz_align_t | horiz_align | ||
| ) |
Set the policy for how a widget should be aligned within a table.
By default, widgets are aligned to the left of the column.
| widget | The widget. |
| horiz_align | The alignment to use. |
| void TXT_SignalConnect | ( | TXT_UNCAST_ARG(widget) | , |
| const char * | signal_name, | ||
| TxtWidgetSignalFunc | func, | ||
| void * | user_data | ||
| ) |
Set a callback function to be invoked when a signal occurs.
| widget | The widget to watch. |
| signal_name | The signal to watch. |
| func | The callback function to invoke. |
| user_data | User-specified pointer to pass to the callback function. |
| void TXT_UnrefCallbackTable | ( | txt_callback_table_t * | table | ) |
| int TXT_WidgetKeyPress | ( | TXT_UNCAST_ARG(widget) | , |
| int | key | ||
| ) |
| void TXT_WidgetMousePress | ( | TXT_UNCAST_ARG(widget) | , |
| int | x, | ||
| int | y, | ||
| int | b | ||
| ) |