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    <style type="text/css"><!--
8      span.static_style
9      {
10        font-size			: 8pt;
11        color				: white;
12        font-weight			: bold;
13        background			: #44f;
14        border-left			: solid 1px #aaf;
15        border-top			: solid 1px #aaf;
16        border-right		: solid 1px #00c;
17        border-bottom		: solid 1px #00c;
18        padding-left		: 2px;
19        padding-right		: 2px;
20      }
21      span.virtual_style
22      {
23        font-size			 : 8pt;
24        color				 : white;
25        font-weight			: bold;
26        background			: #0a0;
27        border-left			: solid 1px #0f0;
28        border-top			: solid 1px #0f0;
29        border-right		: solid 1px #060;
30        border-bottom		: solid 1px #060;
31        padding-left		: 2px;
32        padding-right		: 2px;
33      }
34      span.protected_style
35      {
36        font-size			 : 8pt;
37        color				 : white;
38        font-weight			: bold;
39        background			: #444;
40        border-left			: solid 1px #ccc;
41        border-top			: solid 1px #ccc;
42        border-right		: solid 1px #222;
43        border-bottom		: solid 1px #222;
44        padding-left		: 2px;
45        padding-right		: 2px;
46      }
47        --></style>
48<title>nn::font::CTR::DispStringBuffer</title>
49  </head>
50  <body>
51<h1><CODE><a href="../../../../nn/Overview.html">nn</a>::<a href="../../../../nn/font/Overview.html">font</a>::<a href="../../../../nn/font/CTR/Overview.html">CTR</a>::DispStringBuffer</CODE> Structure</h1>
52<h2>Syntax</h2>
53    <div class="section">
54<pre class="definition">struct DispStringBuffer
55{
56   u16 charCount;
57   u16 drawCharCount;
58   u8 generatedCommand;
59   u8 * drawFlags;
60   u32 * commandBuffer;
61   u32 commandBufferSize;
62   u32 commandBufferCapacity;
63   u32 textColorCommandOffset;
64};
65</pre>
66    </div>
67<h2>Description</h2>
68    <div class="section">
69<p>A class that manages a buffer for displaying strings.</p><!-- write here --></div>
70    <a name="constant" id="constant">
71<h2>Member Constants</h2>
72      <div class="section">
73        <table class="members">
74          <tr>
75            <td width="100"> </td>
76            <th>
77<span class="argument"><CODE>charCountMax</CODE></span>
78            </th>
79<td width="100"><CODE>const u32</CODE></td>
80<td>Number of characters that can be stored.</td>
81          </tr> </table>
82      </div>
83    </a> <a name="variable" id="variable">
84<h2>Member Variables</h2>
85      <div class="section">
86        <table class="members">
87          <tr>
88            <td width="100"> </td>
89            <th>
90<span class="argument">charCount</span>
91            </th>
92<td width="100">u16</td>
93<td>The number of stored characters.</td>
94          </tr>
95          <tr>
96            <td width="100"> </td>
97            <th>
98<span class="argument">drawCharCount</span>
99            </th>
100<td width="100">u16</td>
101<td>The number of characters for which to generate rendering commands.</td>
102          </tr>
103          <tr>
104            <td width="100"> </td>
105            <th>
106<span class="argument">generatedCommand</span>
107            </th>
108<td width="100">u8</td>
109<td>Commands were generated.</td>
110          </tr>
111          <tr>
112            <td width="100"> </td>
113            <th>
114<span class="argument">drawFlags</span>
115            </th>
116<td width="100">u8*</td>
117<td>An array of flags.</td>
118          </tr>
119          <tr>
120            <td width="100"> </td>
121            <th>
122<span class="argument">commandBuffer</span>
123            </th>
124<td width="100">u32 *</td>
125<td>A command buffer.</td>
126          </tr>
127          <tr>
128            <td width="100"> </td>
129            <th>
130<span class="argument">commandBufferSize</span>
131            </th>
132<td width="100">u32</td>
133<td>The command buffer size that is in use.</td>
134          </tr>
135          <tr>
136            <td width="100"> </td>
137            <th>
138<span class="argument">commandBufferCapacity</span>
139            </th>
140<td width="100">u32</td>
141<td>The command buffer capacity.</td>
142          </tr>
143          <tr>
144            <td width="100"> </td>
145            <th>
146<span class="argument">textColorCommandOffset</span>
147            </th>
148<td width="100">u32</td>
149<td>Offset to the text color command.</td>
150          </tr> </table>
151      </div>
152    </a> <a name="function" id="function">
153<h2>Member Functions</h2>
154      <div class="section">
155        <table class="members">
156          <tr>
157            <td width="100">  </td>
158            <th>
159<a href="../../../../nn/font/CTR/DispStringBuffer/GetCharAttrs.html"><CODE>GetCharAttrs</CODE></a>
160            </th>
161<td>Vertex attribute array.</td>
162          </tr>
163          <tr>
164            <td width="100">  </td>
165            <th>
166<a href="../../../../nn/font/CTR/DispStringBuffer/DispStringBuffer.html"><CODE>DispStringBuffer</CODE></a>
167            </th>
168<td>Constructor.</td>
169          </tr>
170          <tr>
171            <td width="100">  </td>
172            <th>
173<a href="../../../../nn/font/CTR/DispStringBuffer/ClearCommand.html"><CODE>ClearCommand</CODE></a>
174            </th>
175<td>Clears a command.</td>
176          </tr>
177          <tr>
178            <td width="100">  </td>
179            <th>
180<a href="../../../../nn/font/CTR/DispStringBuffer/IsGeneratedCommand.html"><CODE>IsGeneratedCommand</CODE></a>
181            </th>
182<td>Determines whether a command has already been generated.</td>
183          </tr>
184          <tr>
185            <td width="100">  </td>
186            <th>
187<a href="../../../../nn/font/CTR/DispStringBuffer/IsCommandEmpty.html"><CODE>IsCommandEmpty</CODE></a>
188            </th>
189<td>Determines whether a command is empty.</td>
190          </tr>
191          <tr>
192            <td width="100">  </td>
193            <th>
194<a href="../../../../nn/font/CTR/DispStringBuffer/GetDrawCharCount.html"><CODE>GetDrawCharCount</CODE></a>
195            </th>
196<td>Gets the number of characters for which to generate rendering commands.</td>
197          </tr>
198          <tr>
199            <td width="100">  </td>
200            <th>
201<a href="../../../../nn/font/CTR/DispStringBuffer/SetDrawCharCount.html"><CODE>SetDrawCharCount</CODE></a>
202            </th>
203<td>Sets the number of characters for which to generate rendering commands.</td>
204          </tr>
205          <tr>
206            <td width="100">  </td>
207            <th>
208<a href="../../../../nn/font/CTR/DispStringBuffer/ResetDrawCharCount.html"><CODE>ResetDrawCharCount</CODE></a>
209            </th>
210<td>Resets the number of characters for which to generate rendering commands.</td>
211          </tr> </table>
212      </div>
213    </a>
214<h2>Revision History</h2>
215    <div class="section">
216      <dl class="history">
217        <dt>2010/11/10</dt>
218<dd>Initial version.<br />
219        </dd>
220      </dl>
221    </div>
222  <hr><p>CONFIDENTIAL</p></body>
223</html>
224