struct Window : public nw::lyt::res::Pane { InflationLRTB inflation; ut::ResU8 frameNum; ut::ResU8 padding[3]; ut::ResU32 contentOffset; ut::ResU32 frameOffsetTableOffset; ut::BinaryBlockHeader blockHeader; ut::ResU8 flag; ut::ResU8 basePosition; ut::ResU8 alpha; char name[ResourceNameStrMax]; char userData[UserDataStrMax]; Vec3 translate; Vec3 rotate; Vec2 scale; Size size; };
Data block for defining a Window pane.
res::DATABLOCKKIND_WINDOW is specified for kind in blockHeader.
The following data structure follows this structure.
・ WindowContent content
・ ut::ResU32 frameOffsetTable[frameNum]
・ WindowFrame frame0
・ …
frameOffsetTable gives the offset to WindowFrame (from the start of the data block).
| inflation | InflationLRTB | The amount of magnification for each side of the pane. | |
|---|---|---|---|
| frameNum | ut::ResU8 | The number of frames. | |
| padding | ut::ResU8 | (Not used.) | |
| contentOffset | ut::ResU32 | The offset to content (from the start of the data block). |
|
| frameOffsetTableOffset | ut::ResU32 | Offset to frameOffsetTable (from the start of the data block). | |
| blockHeader | ut::BinaryBlockHeader | Header.(Inherited from Pane.) |
|
| flag | ut::ResU8 | A flag. (lyt::PaneFlag)(Inherited from Pane.) |
|
| basePosition | ut::ResU8 | Base position. (lyt::HorizontalPosition * HORIZONTALPOSITION_MAX + lyt::VerticalPosition)。(Inherited from Pane.) |
|
| alpha | ut::ResU8 | Alpha value.(Inherited from Pane.) |
|
| name | char |
Pane name.(Inherited from Pane.) |
|
| userData | char |
User data.(Inherited from Pane.) |
|
| translate | Vec3 | Translation value.(Inherited from Pane.) |
|
| rotate | Vec3 | Rotation value.(Inherited from Pane.) |
|
| scale | Vec2 | The scale value.(Inherited from Pane.) |
|
size
|
Size | Size.(Inherited from Pane.) |
nw::lyt::res::Pane
nw::lyt::res::Window
CONFIDENTIAL