RISC OS Open

RISC OS  OPEN


A fast and easily customised operating system for devices using ARM processor cores.

Documentation: Wimp_GetRectangle

Programmer’s Reference Manuals
» Part 7 – The Desktop
» The Window Manager
» SWI Calls
» Wimp_GetRectangle

Wimp_GetRectangle

(SWI &400CA)

Entry
R1 Pointer to block to return result

Exit
R0 0 if no more rectangles
R1 Block is updated with Rectangle Data

Use

The purpose of this call is to return the details of the next rectangle of the work area to be drawn.

Notes

This call is used repeatedly immediately following a call of either Wimp_RedrawWindow or Wimp_UpdateWindow.

If this call follows an earlier Wimp_RedrawWindow, then the rectangles is also cleared to the background colour of the window. If, however, it follows a Wimp_UpdateWindow call, then the rectangle’s contents are preserved.

See also

   .