RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Software | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

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.

See also

  • Wimp_RedrawWindow
  • Update_UpdateWindow
Revised on June 28, 2009 14:13:11 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (1 revision) | See changes | History | Views: Print | Source | Linked from: The Window Manager SWI Calls, The Window Manager Icons

Search the Wiki

Commercial use

For commercial enquiries, please contact the owners of RISC OS, Castle Technology Ltd.

ROOL Store

The official C/C++ Development kit and more here.

Donate! Why?

Help ROOL make things happen – please consider donating!

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2011 except where indicated
The RISC OS Open Instiki theme is based on Insitki's default layout

Valid XHTML 1.0  |  Valid CSS

Instiki 0.19.1(MML+)
This site runs on Rails

Hosted by Arachsys