=> R0 = block as returned by Wimp_GetRectangle
R1 = redraw block (r_magx, r_magy, r_xsize, r_ysize)
<= R0 and flags corrupted
r_minx, r_miny, r_maxx, r_maxy, r_scrollx, r_scrolly filled in
This SWI should be used after calls to
Wimp_GetRectangle. It takes the redraw rectangle
block as returned by Wimp_RedrawWindow or Wimp_GetRectangle and uses it to
fill in the ZapRedraw block. The scroll offsets of the update rectangle are
in pixels. The y scroll offset is the amount 'down' from the work area origin
(inclusive), so negating will get the 'upward' scroll offset in pixels
(exclusive), and the shifting by r_magy will give the normal OS work area
scroll offset (which is exclusive).
|
|
|