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>nw::lyt::res::Window</title>
49  </head>
50  <body>
51    <h1><a href="../../../../nw/Overview.html">nw</a>::<a href="../../../../nw/lyt/Overview.html">lyt</a>::<a href="../../../../nw/lyt/res/Overview.html">res</a>::Window Structure</h1>
52    <h2>Syntax</h2>
53    <div class="section">
54      <pre class="definition">struct Window : public <a href="../../../../nw/lyt/res/Pane/Overview.html">nw::lyt::res::Pane</a>
55{
56   <a href="../../../../nw/lyt/InflationLRTB/Overview.html">InflationLRTB</a> inflation;
57   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> frameNum;
58   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> padding[3];
59   <a href="../../../../nw/ut/ResU32.html">ut::ResU32</a> contentOffset;
60   <a href="../../../../nw/ut/ResU32.html">ut::ResU32</a> frameOffsetTableOffset;
61   <a href="../../../../nw/ut/BinaryBlockHeader/Overview.html">ut::BinaryBlockHeader</a> blockHeader;
62   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> flag;
63   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> basePosition;
64   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> alpha;
65   char name[ResourceNameStrMax];
66   char userData[UserDataStrMax];
67   <a href="../../../../nw/lyt/res/Vec3/Overview.html">Vec3</a> translate;
68   <a href="../../../../nw/lyt/res/Vec3/Overview.html">Vec3</a> rotate;
69   <a href="../../../../nw/lyt/res/Vec2/Overview.html">Vec2</a> scale;
70   <a href="../../../../nw/lyt/Size/Overview.html">Size</a>            size;
71};
72</pre>
73    </div>
74    <h2>Description</h2>
75    <div class="section">
76      <p>Data block for defining a Window pane.</p><p><a href="../../../../nw/lyt/res/DATABLOCKKIND_WINDOW.html">res::DATABLOCKKIND_WINDOW</a> is specified for <CODE>kind</CODE> in <CODE>blockHeader</CODE>. </p><p>The following data structure follows this structure.</p><p>・ <a href="../../../../nw/lyt/res/WindowContent/Overview.html">WindowContent</a> content<br /> ・ <a href="../../../../nw/ut/ResU32.html">ut::ResU32</a> frameOffsetTable[frameNum]<br /> ・ <a href="../../../../nw/lyt/res/WindowFrame/Overview.html">WindowFrame</a> frame0<br /> ・ …</p><p>frameOffsetTable gives the offset to <a href="../../../../nw/lyt/res/WindowFrame/Overview.html">WindowFrame</a> (from the start of the data block).</p></div>
77    <a name="variable" id="variable">
78      <h2>Member Variables</h2>
79      <div class="section">
80        <table class="members">
81          <tr>
82            <td width="100"> </td>
83            <th>
84              <span class="argument">inflation</span>
85            </th>
86            <td width="100"><a href="../../../../nw/lyt/InflationLRTB/Overview.html">InflationLRTB</a></td>
87            <td>The amount of magnification for each side of the pane.</td>
88          </tr>
89          <tr>
90            <td width="100"> </td>
91            <th>
92              <span class="argument">frameNum</span>
93            </th>
94            <td width="100"><a href="../../../../nw/ut/ResU8.html">ut::ResU8</a></td>
95            <td>The number of frames.</td>
96          </tr>
97          <tr>
98            <td width="100"> </td>
99            <th>
100              <span class="argument">padding</span>
101            </th>
102            <td width="100"><a href="../../../../nw/ut/ResU8.html">ut::ResU8</a></td>
103            <td>(Not used.)</td>
104          </tr>
105          <tr>
106            <td width="100"> </td>
107            <th>
108              <span class="argument">contentOffset</span>
109            </th>
110            <td width="100"><a href="../../../../nw/ut/ResU32.html">ut::ResU32</a></td>
111            <td>The offset to <CODE>content</CODE> (from the start of the data block).</td>
112          </tr>
113          <tr>
114            <td width="100"> </td>
115            <th>
116              <span class="argument">frameOffsetTableOffset</span>
117            </th>
118            <td width="100"><a href="../../../../nw/ut/ResU32.html">ut::ResU32</a></td>
119            <td>Offset to frameOffsetTable (from the start of the data block).</td>
120          </tr>
121          <tr>
122            <td width="100"> </td>
123            <th>
124              <span class="argument">blockHeader</span>
125            </th>
126            <td width="100"><a href="../../../../nw/ut/BinaryBlockHeader/Overview.html">ut::BinaryBlockHeader</a></td>
127            <td>Header.(Inherited from <a href="../../../../nw/lyt/res/Pane/Overview.html"><CODE>Pane</CODE></a>.)</td>
128          </tr>
129          <tr>
130            <td width="100"> </td>
131            <th>
132              <span class="argument">flag</span>
133            </th>
134            <td width="100"><a href="../../../../nw/ut/ResU8.html">ut::ResU8</a></td>
135            <td>A flag. (<a href="../../../../nw/lyt/PaneFlag.html">lyt::PaneFlag</a>)(Inherited from <a href="../../../../nw/lyt/res/Pane/Overview.html"><CODE>Pane</CODE></a>.)</td>
136          </tr>
137          <tr>
138            <td width="100"> </td>
139            <th>
140              <span class="argument">basePosition</span>
141            </th>
142            <td width="100"><a href="../../../../nw/ut/ResU8.html">ut::ResU8</a></td>
143            <td>Base position. (<a href="../../../../nw/lyt/HorizontalPosition.html">lyt::HorizontalPosition</a> * HORIZONTALPOSITION_MAX + <a href="../../../../nw/lyt/VerticalPosition.html">lyt::VerticalPosition</a>)。(Inherited from <a href="../../../../nw/lyt/res/Pane/Overview.html"><CODE>Pane</CODE></a>.)</td>
144          </tr>
145          <tr>
146            <td width="100"> </td>
147            <th>
148              <span class="argument">alpha</span>
149            </th>
150            <td width="100"><a href="../../../../nw/ut/ResU8.html">ut::ResU8</a></td>
151            <td>Alpha value.(Inherited from <a href="../../../../nw/lyt/res/Pane/Overview.html"><CODE>Pane</CODE></a>.)</td>
152          </tr>
153          <tr>
154            <td width="100"> </td>
155            <th>
156              <span class="argument">name</span>
157            </th>
158            <td width="100"><CODE>char</CODE></td>
159            <td>Pane name.(Inherited from <a href="../../../../nw/lyt/res/Pane/Overview.html"><CODE>Pane</CODE></a>.)</td>
160          </tr>
161          <tr>
162            <td width="100"> </td>
163            <th>
164              <span class="argument">userData</span>
165            </th>
166            <td width="100"><CODE>char</CODE></td>
167            <td>User data.(Inherited from <a href="../../../../nw/lyt/res/Pane/Overview.html"><CODE>Pane</CODE></a>.)</td>
168          </tr>
169          <tr>
170            <td width="100"> </td>
171            <th>
172              <span class="argument">translate</span>
173            </th>
174            <td width="100"><a href="../../../../nw/lyt/res/Vec3/Overview.html">Vec3</a></td>
175            <td>Translation value.(Inherited from <a href="../../../../nw/lyt/res/Pane/Overview.html"><CODE>Pane</CODE></a>.)</td>
176          </tr>
177          <tr>
178            <td width="100"> </td>
179            <th>
180              <span class="argument">rotate</span>
181            </th>
182            <td width="100"><a href="../../../../nw/lyt/res/Vec3/Overview.html">Vec3</a></td>
183            <td>Rotation value.(Inherited from <a href="../../../../nw/lyt/res/Pane/Overview.html"><CODE>Pane</CODE></a>.)</td>
184          </tr>
185          <tr>
186            <td width="100"> </td>
187            <th>
188              <span class="argument">scale</span>
189            </th>
190            <td width="100"><a href="../../../../nw/lyt/res/Vec2/Overview.html">Vec2</a></td>
191            <td>The scale value.(Inherited from <a href="../../../../nw/lyt/res/Pane/Overview.html"><CODE>Pane</CODE></a>.)</td>
192          </tr>
193          <tr>
194            <td width="100"> </td>
195            <th>
196              <span class="argument"><CODE>size</CODE></span>
197            </th>
198            <td width="100"><a href="../../../../nw/lyt/Size/Overview.html">Size</a></td>
199            <td>Size.(Inherited from <a href="../../../../nw/lyt/res/Pane/Overview.html"><CODE>Pane</CODE></a>.)</td>
200          </tr> </table>
201      </div>
202    </a>
203    <h2>Inheritance Hierarchy</h2>
204    <div class="section">
205      <p class="hierarchy"><a href="../../../../nw/lyt/res/Pane/Overview.html">nw::lyt::res::Pane</a><br />  <b>nw::lyt::res::Window</b>
206      </p>
207    </div>
208    <h2>See Also</h2>
209    <div class="section">
210      <p class="reference"><a href="../../../../nw/lyt/res/Lyt/Overview.html">Lyt</a><br /><a href="../../../../nw/lyt/res/PaneBegin/Overview.html">PaneBegin</a><br /> </p>
211    </div>
212    <h2>Revision History</h2>
213    <div class="section">
214      <dl class="history">
215        <dt>2010/01/26</dt>
216        <dd>Initial version.<br />
217        </dd>
218      </dl>
219    </div>
220  <hr><p>CONFIDENTIAL</p></body>
221</html>
222