1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7 <title>TextBox</title> 8 </head> 9 <body> 10 <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/lyt/Overview.html">lyt</a>::<a href="../../../nw/lyt/TextBox/Overview.html">TextBox</a>::TextBox</CODE> Constructor</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14explicit TextBox( 15 <span>u16</span> allocStrLen = 0 16); 17TextBox( 18 <span>u16</span> allocStrLen, 19 const wchar_t* str, 20 const <a href="../../../nw/font/Font/Overview.html">font::Font</a> * pFont 21); 22TextBox( 23 <span>u16</span> allocStrLen, 24 const wchar_t* str, 25 <span>u16</span> strLen, 26 const <a href="../../../nw/font/Font/Overview.html">font::Font</a> * pFont 27); 28TextBox( 29 const <a href="../../../nw/lyt/res/TextBox/Overview.html">res::TextBox</a> * pBlock, 30 const <a href="../../../nw/lyt/ResBlockSet/Overview.html">ResBlockSet</a> & resBlockSet 31); 32</pre> 33 </div> 34 <h2>List of Overloaded Member Functions</h2> 35 <div class="section"> 36 <table class="members"> 37 <tr> 38 <td> 39 <a href="./TextBox(0).html">TextBox ( u16 ) </a> 40 </td> 41 <td>Constructor.</td> 42 </tr> 43 <tr> 44 <td> 45 <a href="./TextBox(1).html">TextBox ( u16, const wchar_t *, const font::Font * ) </a> 46 </td> 47 <td>Constructor.</td> 48 </tr> 49 <tr> 50 <td> 51 <a href="./TextBox(2).html">TextBox ( u16, const wchar_t *, u16, const font::Font * ) </a> 52 </td> 53 <td>Constructor.</td> 54 </tr> 55 <tr> 56 <td> 57 <a href="./TextBox(3).html">TextBox ( const res::TextBox *, const ResBlockSet & ) </a> 58 </td> 59 <td>Constructor.</td> 60 </tr> </table> 61 </div> 62 <h2>Description of TextBox ( u16 )</h2> 63 <div class="section"><p>Allocates a text buffer and creates an object. If 0 is specified for <CODE>allocStrLen</CODE>, a text buffer is not allocated.</p></div> 64 <h2>Description of TextBox ( u16, const wchar_t *, const font::Font * )</h2> 65 <div class="section"><p>Sets <CODE>str</CODE> as the initial text string.</p><p>Sets the font given by <CODE>pFont</CODE> as the font to be drawn.</p></div> 66 <h2>Description of TextBox ( u16, const wchar_t *, u16, const font::Font * )</h2> 67 <div class="section"><p>Allocates a text buffer and creates an object. If 0 is specified for <CODE>allocStrLen</CODE>, a text buffer is not allocated.</p><p>Sets <CODE>str</CODE> as the initial text string. The length of the text string must always be the value specified by <CODE>strLen</CODE>. The NULL terminator (0000h) is not detected.</p><p>Sets the font given by <CODE>pFont</CODE> as the font to be drawn.</p></div> 68 <h2>Description of TextBox ( const res::TextBox *, const ResBlockSet & )</h2> 69 <div class="section"><p>Creates an object from a resource.</p></div> 70 <hr><p>CONFIDENTIAL</p></body> 71</html> 72