Showing changes from revision #5 to #6:
Added | Removed | Changed
Entry | |
---|---|
R1 | Pointer to block |
Block | |
+0 | Window handle |
+4 | Work area rectangle minimum x (inclusive) |
+8 | Work area rectangle minimum y (inclusive) |
+12 | Work area rectangle maximum x (exclusive) |
+16 | Work area rectangle maximum y (exclusive) |
Exit | |
---|---|
R0 |
The purpose of this call is to redraw the parts of a window that needs updating.
“Work area rectangle” means the area you wish to redraw given in user co-ordinates.
This call is similar to Wimp_GetRectangle, but with some important differences.
This call exits via Wimp_GetRectangle, which specifies the co-ordinates of the rectangular parts needing updating (one at a time).
An example of how to use this call is shown in pseudo code form below:
SYS"Wimp_UpdateWindow",,blk TO rectangles WHILE rectangles update the contents of the returned rectangle SYS"Wimp_GetRectangle",,blk TO rectangles ENDWHILE