Changes
Jump to navigation
Jump to search
no edit summary
* Opcode: '''0x2F'''
* Short name: '''WSIZW'''
* Long name: Window Resize
==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x2F
! width="40" | ''I''
! width="80" | ''X''
! width="80" | ''Y''
! width="80" | ''W''
! width="80" | ''H''
|}
==== Arguments ====
* '''const UByte''' ''I'': [[FF7/Field/Script/Opcodes/50 WINDOW|WINDOW]] ID to resize.
* '''const UShort''' ''X'': X-coordinate of the window.
* '''const UShort''' ''Y'': Y-coordinate of the window.
* '''const UShort''' ''W'': Width of the window.
* '''const UShort''' ''H'': Height of the window.
==== Description ====
Resizes and/or repositions the window, after it has been created with the [[FF7/Field/Script/Opcodes/50 WINDOW|WINDOW]] opcode. On the next [[FF7/Field/Script/Opcodes/40 MESSAGE|MESSAGE]] or [[FF7/Field/Script/Opcodes/48 ASK|ASK]], the window will be positioned and sized with the new properties.
* Short name: '''WSIZW'''
* Long name: Window Resize
==== Memory layout ====
{| border="1" cellspacing="1" cellpadding="3" style="border: 1px solid black; border-collapse: collapse;"
! width="40" | 0x2F
! width="40" | ''I''
! width="80" | ''X''
! width="80" | ''Y''
! width="80" | ''W''
! width="80" | ''H''
|}
==== Arguments ====
* '''const UByte''' ''I'': [[FF7/Field/Script/Opcodes/50 WINDOW|WINDOW]] ID to resize.
* '''const UShort''' ''X'': X-coordinate of the window.
* '''const UShort''' ''Y'': Y-coordinate of the window.
* '''const UShort''' ''W'': Width of the window.
* '''const UShort''' ''H'': Height of the window.
==== Description ====
Resizes and/or repositions the window, after it has been created with the [[FF7/Field/Script/Opcodes/50 WINDOW|WINDOW]] opcode. On the next [[FF7/Field/Script/Opcodes/40 MESSAGE|MESSAGE]] or [[FF7/Field/Script/Opcodes/48 ASK|ASK]], the window will be positioned and sized with the new properties.