h6. [[WindowManager]] h6(. » [[WindowManager SWI Calls|SWI Calls]] h6((. » Wimp_SetColourMapping h2. Wimp_SetColourMapping h5. (SWI &400F8) |_<^. Entry | | |/3<^. 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|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 | | |<^. - |<^. - | h4. Use The purpose of this call is to change the way the Wimp maps its own colours to physical colours. h4. Notes The palette in R1 is 16 words long and in the BBGGRRxx format. h4. See also * [[WindowManager Colour|Information on Colour]] * [[OS_SpriteOp|OS_SpriteOp]] * [[Wimp_SetColour|Wimp_SetColour]] * [[Wimp_SetPalette|Wimp_SetPalette]]