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 | The amount of magnification for each side of the pane. | |
|---|---|---|
| frameNum | The number of frames. | |
| padding | (Not used.) | |
| contentOffset | The offset to content (from the start of the data block). |
|
| frameOffsetTableOffset | Offset to frameOffsetTable (from the start of the data block). | |
| blockHeader | Header.(Inherited from Pane. |
|
| flag | A flag. (lyt::PaneFlag)(Inherited from Pane. |
|
| basePosition | Base position. (lyt::HorizontalPosition * HORIZONTALPOSITION_MAX + lyt::VerticalPosition)。(Inherited from Pane. |
|
| alpha | Alpha value.(Inherited from Pane. |
|
| name | Pane name.(Inherited from Pane. |
|
| userData | User data.(Inherited from Pane. |
|
| translate | Translation value.(Inherited from Pane. |
|
| rotate | Rotation value.(Inherited from Pane. |
|
| scale | The scale value.(Inherited from Pane. |
|
size
|
Size.(Inherited from Pane. |
nw::lyt::res::Pane
nw::lyt::res::Window
CONFIDENTIAL