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
22      span.virtual_style
23      {
24        font-size			 : 8pt;
25        color				 : white;
26        font-weight			: bold;
27        background			: #0a0;
28        border-left			: solid 1px #0f0;
29        border-top			: solid 1px #0f0;
30        border-right		: solid 1px #060;
31        border-bottom		: solid 1px #060;
32        padding-left		: 2px;
33        padding-right		: 2px;
34      }
35
36      span.protected_style
37      {
38        font-size			 : 8pt;
39        color				 : white;
40        font-weight			: bold;
41        background			: #444;
42        border-left			: solid 1px #ccc;
43        border-top			: solid 1px #ccc;
44        border-right		: solid 1px #222;
45        border-bottom		: solid 1px #222;
46        padding-left		: 2px;
47        padding-right		: 2px;
48      }
49        --></style>
50    <title>nw::lyt::res::Window</title>
51  </head>
52  <body>
53    <h1>nw::lyt::res::Window Structure</h1>
54    <h2>Syntax</h2>
55    <div class="section">
56      <pre class="definition">struct Window : public <a href="../../../../nw/lyt/res/Pane/Overview.html">nw::lyt::res::Pane</a>
57{
58   <a href="../../../../nw/lyt/InflationLRTB/Overview.html">InflationLRTB</a> inflation;
59   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> frameNum;
60   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> padding[3];
61   <a href="../../../../nw/ut/ResU32.html">ut::ResU32</a> contentOffset;
62   <a href="../../../../nw/ut/ResU32.html">ut::ResU32</a> frameOffsetTableOffset;
63   <a href="../../../../nw/ut/BinaryBlockHeader/Overview.html">ut::BinaryBlockHeader</a> blockHeader;
64   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> flag;
65   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> basePosition;
66   <a href="../../../../nw/ut/ResU8.html">ut::ResU8</a> alpha;
67   char name[ResourceNameStrMax];
68   char userData[UserDataStrMax];
69   <a href="../../../../nw/lyt/res/Vec3/Overview.html">Vec3</a> translate;
70   <a href="../../../../nw/lyt/res/Vec3/Overview.html">Vec3</a> rotate;
71   <a href="../../../../nw/lyt/res/Vec2/Overview.html">Vec2</a> scale;
72   <a href="../../../../nw/lyt/Size/Overview.html">Size</a>            size;
73};
74</pre>
75    </div>
76    <h2>Description</h2>
77    <div class="section">
78      <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>
79    <a name="variable" id="variable">
80      <h2>Member Variables</h2>
81      <div class="section">
82        <table class="members">
83          <tr>
84            <td width="100"> </td>
85            <th>
86              <span class="argument">inflation</span>
87            </th>
88            <td>The amount of magnification for each side of the pane.</td>
89          </tr>
90          <tr>
91            <td width="100"> </td>
92            <th>
93              <span class="argument">frameNum</span>
94            </th>
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>(Not used.)</td>
103          </tr>
104          <tr>
105            <td width="100"> </td>
106            <th>
107              <span class="argument">contentOffset</span>
108            </th>
109            <td>The offset to <CODE>content</CODE> (from the start of the data block).</td>
110          </tr>
111          <tr>
112            <td width="100"> </td>
113            <th>
114              <span class="argument">frameOffsetTableOffset</span>
115            </th>
116            <td>Offset to frameOffsetTable (from the start of the data block).</td>
117          </tr>
118          <tr>
119            <td width="100"> </td>
120            <th>
121              <span class="argument">blockHeader</span>
122            </th>
123            <td>Header.(Inherited from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>Pane</CODE></a>.</td>
124          </tr>
125          <tr>
126            <td width="100"> </td>
127            <th>
128              <span class="argument">flag</span>
129            </th>
130            <td>A flag. (<a href="../../../../nw/lyt/PaneFlag.html">lyt::PaneFlag</a>)(Inherited from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>Pane</CODE></a>.</td>
131          </tr>
132          <tr>
133            <td width="100"> </td>
134            <th>
135              <span class="argument">basePosition</span>
136            </th>
137            <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/gfx/SceneNode/Overview.html"><CODE>Pane</CODE></a>.</td>
138          </tr>
139          <tr>
140            <td width="100"> </td>
141            <th>
142              <span class="argument">alpha</span>
143            </th>
144            <td>Alpha value.(Inherited from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>Pane</CODE></a>.</td>
145          </tr>
146          <tr>
147            <td width="100"> </td>
148            <th>
149              <span class="argument">name</span>
150            </th>
151            <td>Pane name.(Inherited from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>Pane</CODE></a>.</td>
152          </tr>
153          <tr>
154            <td width="100"> </td>
155            <th>
156              <span class="argument">userData</span>
157            </th>
158            <td>User data.(Inherited from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>Pane</CODE></a>.</td>
159          </tr>
160          <tr>
161            <td width="100"> </td>
162            <th>
163              <span class="argument">translate</span>
164            </th>
165            <td>Translation value.(Inherited from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>Pane</CODE></a>.</td>
166          </tr>
167          <tr>
168            <td width="100"> </td>
169            <th>
170              <span class="argument">rotate</span>
171            </th>
172            <td>Rotation value.(Inherited from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>Pane</CODE></a>.</td>
173          </tr>
174          <tr>
175            <td width="100"> </td>
176            <th>
177              <span class="argument">scale</span>
178            </th>
179            <td>The scale value.(Inherited from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>Pane</CODE></a>.</td>
180          </tr>
181          <tr>
182            <td width="100"> </td>
183            <th>
184              <span class="argument"><CODE>size</CODE></span>
185            </th>
186            <td>Size.(Inherited from <a href="../../../nw/gfx/SceneNode/Overview.html"><CODE>Pane</CODE></a>.</td>
187          </tr> </table>
188      </div>
189    </a>
190    <h2>Inheritance Hierarchy</h2>
191    <div class="section">
192      <p class="hierarchy"><a href="../../../../nw/lyt/res/Pane/Overview.html">nw::lyt::res::Pane</a><br />  <b>nw::lyt::res::Window</b>
193      </p>
194    </div>
195    <h2>See Also</h2>
196    <div class="section">
197      <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>
198    </div>
199    <h2>Revision History</h2>
200    <div class="section">
201      <dl class="history">
202        <dt>2010/01/26</dt>
203        <dd>Initial version.<br />
204        </dd>
205      </dl>
206    </div>
207  <hr><p>CONFIDENTIAL</p></body>
208</html>