|
Odamex
Setting the Standard in Multiplayer Doom
|
Data Structures | |
| struct | callback_data_t |
Functions | |
| txt_dropdown_list_t * | TXT_NewDropdownList (int *variable, char **values, int num_values) |
| Create a new dropdown list widget. | |
Variables | |
| txt_widget_class_t | txt_dropdown_list_class |
| txt_dropdown_list_t* TXT_NewDropdownList | ( | int * | variable, |
| char ** | values, | ||
| int | num_values | ||
| ) |
Create a new dropdown list widget.
The parameters specify a list of string labels, and a pointer to an integer variable. The variable contains the current "value" of the list, as an index within the list of labels.
| variable | Pointer to the variable containing the list's value. |
| values | Pointer to an array of strings containing the labels to use for the list. |
| num_values | The number of variables in the list. |
{
TXT_DropdownListSizeCalc,
TXT_DropdownListDrawer,
TXT_DropdownListKeyPress,
TXT_DropdownListDestructor,
TXT_DropdownListMousePress,
NULL,
}