nw::lyt::TextBox::TextBox Constructor

Syntax

explicit TextBox(
     u16 allocStrLen = 0
);

TextBox(
     u16 allocStrLen,
     const wchar_t*                  str,
     const font::Font * pFont
);

TextBox(
     u16 allocStrLen,
     const wchar_t*                  str,
     u16 strLen,
     const font::Font * pFont
);

TextBox(
     const res::TextBox * pBlock,
     const ResBlockSet & resBlockSet
);

List of Overloaded Member Functions

TextBox ( u16 ) Constructor.
TextBox ( u16, const wchar_t *, const font::Font * ) Constructor.
TextBox ( u16, const wchar_t *, u16, const font::Font * ) Constructor.
TextBox ( const res::TextBox *, const ResBlockSet & ) Constructor.

Description of TextBox ( u16 )

Allocates a text buffer and creates an object. If 0 is specified for allocStrLen, a text buffer is not allocated.

Description of TextBox ( u16, const wchar_t *, const font::Font * )

Sets str as the initial text string.

Sets the font given by pFont as the font to be drawn.

Description of TextBox ( u16, const wchar_t *, u16, const font::Font * )

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.

Description of TextBox ( const res::TextBox *, const ResBlockSet & )

Creates an object from a resource.


CONFIDENTIAL