RISC OS Open

RISC OS  OPEN


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

Documentation: Wimp_ForceRedraw (mark invalid area syntax)

Programmer’s Reference Manuals
» Part 7 – The Desktop
» The Window Manager
» SWI Calls
» Wimp_ForceRedraw
» Wimp_ForceRedraw (mark invalid area syntax)

Wimp_ForceRedraw (mark invalid area syntax)

(SWI &400D1)

Entry
R0 Window handle, or
-1 for absolute screen co-ordinates
-2 for icon bar
R1 Minimum x of area
R2 Minimum y of area
R3 Maximum x of area
R4 Maximum y of area

Exit
R0 Corrupt

Use

This syntax form marks an area of a screen as invalid, so it can be redrawn later.

Notes

Co-ordinates are relative to the window’s work area, unless R0 = -1 on entry, in which case absolute screen co-ordinates should be provided.

This call should not be used for animation, or other temporary changes. Under these circumstances Wimp_UpdateWindow should be used instead.

Under the nested wimp, windows belonging to other applications can be marked as invalid.

See also

   .