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

OS_SetColour

Programmer's Reference Manuals
» Part 15 – SWI Calls
» OS
» OS_SetColour

OS_SetColour

(SWI &61)
Entry
R0 Flag word
R1 Pointer to ECF pattern (if R0 bit5 is set), or
Colour number (if R0 bit5 clear)
Exit
- -

Use

The purpose of this call is to set or read the text and graphics colours.

Notes

When writing colours, graphics colours may be set using a pattern block, text colours must be specified as a colour number.

When reading the colours, text colours are returned as a colour number in R1, but you must supply a pattern block to read the graphics colours.

See also

  • ColourTrans_ReturnColourNumber
  • OS_SetColour Flags
Created on December 2, 2009 20:20:36 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: OS SWI Calls, OS_SetColour Flags, Graphic Plotting Actions

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