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

Palette Block

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

Palette Block

Offset Description
+0 Wimp colour 0
+4 Wimp colour 1
+8 Wimp colour 2
+12 Wimp colour 3
+16 Wimp colour 4
+20 Wimp colour 5
+24 Wimp colour 6
+28 Wimp colour 7
+32 Wimp colour 8
+36 Wimp colour 9
+40 Wimp colour 10
+44 Wimp colour 11
+48 Wimp colour 12
+52 Wimp colour 13
+56 Wimp colour 14
+60 Wimp colour 15
+64 Border colour
+68 Pointer colour 0
+72 Pointer colour 1
+76 Pointer colour 2

Notes

The format of the colours are &BBGGRRLL (in order of highest to lowest).

The format of LL depends on the screen mode.

  • In 16 colour modes, LL stands for the logical colour.
  • In 256 colour modes, LL is actually in the format %TTGGGGGG, where T and G stands for Tint and GCOL colours respectively.

See also

  • Wimp_ReadPalette
Created on June 9, 2009 23:01:02 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: Wimp_ReadPalette, Wimp_SetPalette

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