TextBox(
u16 allocStrLen,
const wchar_t* str,
u16 strLen,
const font::Font * pFont
);
| Name | Description | |
|---|---|---|
| allocStrLen | Number of characters to be allocated to the text string buffer. | |
| str | The text string. | |
| strLen | The text string length. | |
| pFont | Pointer to a font. |
Constructor.
Allocates a text buffer and creates an object. If 0 is specified for allocStrLen, a text buffer is not allocated.
Sets str as the initial text string. The length of the text string must always be the value specified by strLen. The NULL terminator (0000h) is not detected.
Sets the font given by pFont as the font to be drawn.
CONFIDENTIAL