qdosmsq:pe:outl
IOP.OUTL
This trap sets a window's outline
Call Parameters | Return Parameters |
D0.B | $7A | D0.L | Error returns |
D1.L | x,y shadow widths | D1.L | Corrupted |
D2.L | Contents code | D2.L | Preserved |
D3.W | Timeout | D3.L | Preserved |
A0.L | Window channel ID | A0.L | Preserved |
A1.L | Pointer to window definition block | A1.L | Preserved |
Errors
ERR_NO | Channel not open |
ERR_OR | Window not within screen |
Notes
All registers not mentioned above are unused and preserved.
The contents code in D2.L is 1 to keep the contents and 0 otherwise.
The window definition block to which A1 points has the same meaning as in
IOP.SVPW.
This trap makes the window a genuine managed window defining its outline, its hit area and shadow. The hit area is that defined by the window block to which A1 points. The shadow widths are added to that area to make the outline and are drawn by the trap.
Further calls to IOP.OUTL can be used to move the window together with its contents. In this case the size of the window as defined in the window block must be the same as before and D2.L should be 1.
For secondary windows the trap saves the area beneath thew window obviating the need for
IOP.WSAV and
IOP.WRST.
qdosmsq/pe/outl.txt · Last modified: 2011/02/19 12:11 by george.gwilt