|
Odamex
Setting the Standard in Multiplayer Doom
|
Spin control widget. More...
Go to the source code of this file.
Data Structures | |
| struct | txt_spincontrol_s |
Typedefs | |
| typedef struct txt_spincontrol_s | txt_spincontrol_t |
| Spin control widget. | |
Enumerations | |
| enum | txt_spincontrol_type_t { TXT_SPINCONTROL_INT, TXT_SPINCONTROL_FLOAT } |
Functions | |
| txt_spincontrol_t * | TXT_NewSpinControl (int *value, int min, int max) |
| Create a new spin control widget tracking an integer value. | |
| txt_spincontrol_t * | TXT_NewFloatSpinControl (float *value, float min, float max) |
| Create a new spin control widget tracking a float value. | |
Spin control widget.
| typedef struct txt_spincontrol_s txt_spincontrol_t |
Spin control widget.
A spin control widget works as an input box that can be used to set numeric values, but also has buttons that allow its value to be increased or decreased.
| txt_spincontrol_t* TXT_NewFloatSpinControl | ( | float * | value, |
| float | min, | ||
| float | max | ||
| ) |
Create a new spin control widget tracking a float value.
| value | Pointer to the variable containing the value displayed in the widget. |
| min | Minimum value that may be set. |
| max | Maximum value that may be set. |
| txt_spincontrol_t* TXT_NewSpinControl | ( | int * | value, |
| int | min, | ||
| int | max | ||
| ) |
Create a new spin control widget tracking an integer value.
| value | Pointer to the variable containing the value displayed in the widget. |
| min | Minimum value that may be set. |
| max | Maximum value that may be set. |