Entry | |
---|---|
R0 | Pointer to Mode Selector Block describing the required properties of the overlay |
R1 | Aspect ratio to use when calculating returned min/max scale values |
Top 16 bits = width | |
Bottom 16 bits = height | |
R2 | Flags |
Bit 0: Overlay must support scaling | |
Bits 1-31 reserved, should be zero | |
R3 | Task handle |
Exit | |
---|---|
R0 | Overlay ID |
R1 | Flags: |
Bits 0-7: Overlay type (0 = Z-Order, 1 = Basic, 2+ reserved) | |
Bits 8-31: Reserved | |
R2 | Minimum width overlay can be scaled to |
R3 | Minimum height overlay can be scaled to |
R4 | Maximum width overlay can be scaled to |
R5 | Maximum height overlay can be scaled to |
- | All other registers preserved |
Creates a new overlay associated with the indicated Wimp task. If the task exits, the overlay will be automatically destroyed. For the overlay to become visible, it must be attached to a window via VideoOveray_SetWindow?.
See GraphicsV 20 for more details on overlay creation.