h6. [[WindowManager]] h6(. » [[WindowManager SWI Calls|SWI Calls]] h6((. » Wimp_PlotIcon h2. Wimp_PlotIcon h5. (SWI &400E2) |_<. Entry | | |<^. R1 |[[Icon Block|Icon Block]] | |<^. R2 |0 for safety (see [[Wimp_PlotIcon_extended|magic values]] for some OS versions) | |<^. R4 |X offset (if used outside of update/redraw loop) | |<^. R5 |Y offset (if used outside of update/redraw loop) | |_<. Exit | | |<^. R0 |Corrupt | h4. Use The purpose of this call is to display a 'virtual' icon. h4. 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|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. h4. See also * [[Wimp_RedrawWindow|Wimp_RedrawWindow]] * [[Wimp_UpdateWindow|Update_UpdateWindow]]