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

Page "Martin Hansen (393)" does not exist. Please create it now, or hit the "back" button in your browser.

Colour Translation Table

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» SWI Calls
» Wimp_ReadPixTrans
» Colour Translation Table

Colour Translation Table

  Sprite Colour Colour Mode
Offset 2 4 16
+0 0 0 0 0
+1 1 7 2 1
+2 2 - 4 2
+3 3 - 7 3
+4 4 - - 4
+5 5 - - 5
+6 6 - - 6
+7 7 - - 7
+8 8 - - 8
+9 9 - - 9
+10 10 - - 10
+11 11 - - 11
+12 12 - - 12
+13 13 - - 13
+14 14 - - 14
+15 15 - - 15

Notes

Sprites that were created with less than four bits per pixel, have their pixels mapped onto the Wimp’s greyscale colours as can be see above.

As an example, a sprite

No colour mapping is required for sprites with more than 16 colours.

See also

  • Wimp_ReadPixTrans
  • ScaleFactors
Created on June 10, 2009 00:16:32 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: Wimp_ReadPixTrans, Scale Factors, Select Table Flags, ColourTrans_SelectGCOLTable

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