GUI labels management.
More...
#include <stdlib.h>
#include <tgfclient.h>
#include "gui.h"
#include "guifont.h"
Go to the source code of this file.
|
| void | gfuiLabelInit (void) |
| |
| int | GfuiLabelCreateEx (void *scr, const char *text, float *fgColor, int font, int x, int y, int align, int maxlen) |
| | Create a new label (extended version). More...
|
| |
| int | GfuiLabelCreate (void *scr, const char *text, int font, int x, int y, int align, int maxlen) |
| | Add a label to a screen. More...
|
| |
| int | GfuiTipCreate (void *scr, const char *text, int maxlen) |
| | Add a Tip (generally associated with a button). More...
|
| |
| int | GfuiTitleCreate (void *scr, const char *text, int maxlen) |
| | Add a Title to the screen. More...
|
| |
| void | gfuiSetLabelText (tGfuiObject *curObject, tGfuiLabel *label, const char *text) |
| |
| void | GfuiLabelSetText (void *scr, int id, const char *text) |
| | Change the text of a label. More...
|
| |
| void | GfuiLabelSetColor (void *scr, int id, float *color) |
| | Change the color of a label. More...
|
| |
| void | gfuiDrawLabel (tGfuiObject *obj) |
| |
| void | gfuiReleaseLabel (tGfuiObject *obj) |
| |
GUI labels management.
- Author
- Eric Espie
- Version
- $Id$
Definition in file guilabel.cpp.
◆ gfuiDrawLabel()
◆ gfuiLabelInit()
| void gfuiLabelInit |
( |
void |
| ) |
|
◆ gfuiReleaseLabel()
◆ gfuiSetLabelText()
◆ GfuiTipCreate()
| int GfuiTipCreate |
( |
void * |
scr, |
|
|
const char * |
text, |
|
|
int |
maxlen |
|
) |
| |
Add a Tip (generally associated with a button).
- Parameters
-
| scr | Screen where to add the label |
| text | Text of the label |
| maxlen | Maximum length of the button string (used when the label is changed) |
- Returns
- label Id
- See also
- GfuiSetLabelText
Definition at line 155 of file guilabel.cpp.