RISC OS Open
A fast and easily customised operating system for ARM devices
ROOL
Home | News | Downloads | Bugs | Bounties | Forum | Documents | Photos | Contact us
Account

HAL_VideoWritePaletteEntry

Hardware Abstraction Layer
HAL entry points from RISC OS
ยป HAL_VideoWritePaletteEntry

HAL_VideoWritePaletteEntry

(HAL entry #40)
void HAL_VideoWritePaletteEntry(uint type, uint pcolour, uint index)
Entry
type 0 for normal palette entry
1 for border colour
2 for pointer colour
>=3 reserved
pcolour Palette entry colour in BBGGRRSS format (Blue,Green,Red,Supremacy)
index Index of entry
Exit
-

Use

This is an internal call for OS use only and should not be used by user software. User software should use GraphicsV instead of interacting with the HAL directly.

Indices are in the range 0..255 for normal, 0 for border, 0..3 for pointer colours. Note that RISC OS only makes calls using 1..3 for the pointer, and pointer colour 0 is assumed to be transparent.

See also

  • HAL Video API
Information source: Kernel.Docs.HAL.HAL_API in CVS
Revised on July 4, 2012 22:41:58 by Sprow (202)? (91.85.43.229)
Edit | Back in time (2 revisions) | See changes | History | Views: Print | Source | Linked from: HAL entry points from RISC OS, HAL entry points by number, HAL Video API

Search the Wiki

Social

Follow us on and

ROOL Store

Buy RISC OS Open merchandise here, including SD cards for Raspberry Pi and more.

Donate! Why?

Help ROOL make things happen – please consider donating!

RISC OS IPR

RISC OS is an Open Source operating system owned by RISC OS Developments Ltd and licensed primarily under the Apache 2.0 license.

Navigation

  • Home Page
  • All Pages
  • Recently Revised
  • Authors
  • Feeds
Site design © RISC OS Open Limited 2018 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