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_SetColourMapping

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» SWI Calls
» Wimp_SetColourMapping

Wimp_SetColourMapping

(SWI &400F8)
Entry
R0 Pointer to palette to be used for converting Wimp colours, or
-1 to use default Wimp palette
0 to use palette defined by Wimp_SetPalette
R2 Pointer to 1bpp mapping array (2 bytes)
R3 Pointer to 2bpp mapping array (4 bytes)
R4 Pointer to 4bpp mapping array (16 bytes)
R5 0
R6 0
R7 0
Exit
- -

Use

The purpose of this call is to change the way the Wimp maps its own colours to physical colours.

Notes

The palette in R1 is 16 words long and in the BBGGRRxx format.

See also

  • Information on Colour?
  • OS_SpriteOp
  • Wimp_SetColour
  • Wimp_SetPalette
Created on June 12, 2009 00:39:27 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: The Window Manager SWI Calls, Wimp_SetColour

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