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_ReadPalette

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

Wimp_ReadPalette

(SWI &400E5)
Entry
R1 Pointer to 20 word Palette Block
R2 “TRUE” (&45555254) to return true colour
Exit
R0 Corrupt
Block Updated with palette definitions

Use

The purpose of this call is read the palette and return the information in a designated block of memory.

Notes

The 20 word block of memory is updated to contain the palette information.

Applications should use this call to identify current Wimp palette settings.

If ‘TRUE’ is passed in R2, then true colour values are returned.

See also

  • Palette Block
Created on June 9, 2009 22:41:27 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: The Window Manager SWI Calls, Palette Block

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