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_SetColour

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

Wimp_SetColour

(SWI &400E6)
Entry
R0 Colour Value (1 byte see below)
Bits
0-3 Wimp Colour
4-6 GCOL action
7 0 for foreground
1 for background
Exit
R0 Corrupt

Use

The purpose of this call is to set the current graphic foreground or background colour and action to one of the Wimp’s 16 standard colours.

Notes

When used in non-16 colour screen modes, the Wimp will translate the colours to the closest approximation. More details on this can be found in the Colour section.

See also

  • Information on Colour?
  • OS_SpriteOp
  • Wimp_SetColourMapping
Created on June 11, 2009 23:51:33 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: The Window Manager SWI Calls, Wimp_SetPalette, Wimp_SetColourMapping, Wimp_SetFontColours, ColourTrans Miscellaneous

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