Showing changes from revision #2 to #3:
Added | Removed | Changed
void HAL_Video_WritePaletteEntry(uint 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 | |
---|---|
- |
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.