Documentation: Wimp_PlotIcon
Programmer’s Reference Manuals
» Part 7 – The Desktop
» The Window Manager
» SWI Calls
» Wimp_PlotIcon
Wimp_PlotIcon
(SWI &400E2)
| Entry | |
|---|---|
| R1 | Icon Block |
| R4 | X offset (if used outside of update/redraw loop) |
| R5 | Y offset (if used outside of update/redraw loop) |
| Exit | |
|---|---|
| R0 | Corrupt |
Use
The purpose of this call is to display a ‘virtual’ icon.
Notes
The main use for this call is within a redraw or update loop, so that an application can display any virtual icons required.
The call can be used outside of a redraw or update loop, however, in this instance R4 and R5 must be used to specify screen co-ordinates where the icon will be displayed, rather than the co-ordinates passed within the Icon Block itself.
If used outside the redraw/update loop, the graphic area will be reset to the current screen mode. This is not good if outputting to a sprite.