RISC OS Open

RISC OS  OPEN


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

Documentation: Wimp_CreateIcon (window syntax)

Programmer’s Reference Manuals
» Part 7 – The Desktop
» The Window Manager
» SWI Calls
» Wimp_CreateIcon
» Wimp_CreateIcon (window syntax)

Wimp_ CreateIcon (window syntax)

(SWI &400C2)

Entry
R0
R1 Pointer to block
+0 Window handle
+4 Icon Block

Exit
R0 Icon handle (unique within window)

Use

The purpose of this call is to create an icon that is part of a window. To display the icon, the window must first be updated by using Wimp_ForceRedraw.

Icon Block

The icon block contains all the information required to create the icon itself. The block starts at R1+4 for this call. A full detailed description can be found in the Icon Block page.

See also

   .