#include <GTextLabel.h>
Inheritance diagram for GText:

Public Member Functions | |
| GText (int id, int x, int y, int cx, int cy, char *name) | |
| Constructor. | |
| bool | Name (char *n) |
| Set the text. | |
| bool | NameW (char16 *n) |
| Set the text with a wide string. | |
| void | SetFont (GFont *Fnt, bool OwnIt=false) |
| Sets the font used to render the text. | |
| int | Value () |
| Returns the numeric value of the text (atoi). | |
| void | Value (int i) |
| Sets the text to a number. | |
| char * | Name () |
| Gets the text. | |
| char16 * | NameW () |
| Gets the text as a wide string. | |
| COLOUR | Background () |
| Background colour. | |
| void | Background (COLOUR c) |
| Background colour. | |
| bool | GetWrap () |
| Word wrap. | |
| void | SetWrap (bool b) |
| Sets the use of word wrap. | |
| void | OnPaint (GSurface *pDC) |
| Called to paint the onscreen representation of the view. | |
| void | OnPosChange () |
| Called when the view position changes. | |
|
||||||||||||||||||||||||||||
|
Constructor.
|
1.4.1