|
Odamex
Setting the Standard in Multiplayer Doom
|
Text label widget. More...
Go to the source code of this file.
Data Structures | |
| struct | txt_label_s |
Typedefs | |
| typedef struct txt_label_s | txt_label_t |
| Label widget. | |
Functions | |
| txt_label_t * | TXT_NewLabel (char *label) |
| Create a new label widget. | |
| void | TXT_SetLabel (txt_label_t *label, char *value) |
| Set the string displayed in a label widget. | |
| void | TXT_SetBGColor (txt_label_t *label, txt_color_t color) |
| Set the background color of a label widget. | |
| void | TXT_SetFGColor (txt_label_t *label, txt_color_t color) |
| Set the foreground color of a label widget. | |
Text label widget.
| typedef struct txt_label_s txt_label_t |
Label widget.
A label widget does nothing except show a text label.
| txt_label_t* TXT_NewLabel | ( | char * | label | ) |
Create a new label widget.
| label | String to display in the widget. |
| void TXT_SetBGColor | ( | txt_label_t * | label, |
| txt_color_t | color | ||
| ) |
Set the background color of a label widget.
| label | The widget. |
| color | The background color to use. |
| void TXT_SetFGColor | ( | txt_label_t * | label, |
| txt_color_t | color | ||
| ) |
Set the foreground color of a label widget.
| label | The widget. |
| color | The foreground color to use. |
| void TXT_SetLabel | ( | txt_label_t * | label, |
| char * | value | ||
| ) |
Set the string displayed in a label widget.
| label | The widget. |
| value | The string to display. |