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

Font_SetPalette

Programmer's Reference Manuals
» Part 8 - Non-kernel input/output
» The Font Manager
» SWI Calls
» Font_SetPalette

Font_SetPalette

(SWI &40093)
Entry
R1 Background logical colour
R2 Foreground logical colour
R3 Foreground colour offset
R4 Background physical colour
R5 Foreground physical colour
R6 &65757254 (‘TRUE’, to use 24-bit colours in R4 and R5)
Exit
- -

Use

The purpose of this call is to set the anti-alias palette.

Notes

This call should be not used by any application that runs within the windowing environment (desktop). Instead, the Wimp_SetFontColours or ColourTrans_SetFontColours should be used instead.

If R6 = TRUE (&65757254) then R4 and R5 have their top nibbles copied to their bottom nibbles, so &12345678 becomes &11335500.

See also

  • ColourTrans_SetFontColours
  • Wimp_SetFontColours
Created on October 24, 2009 22:09:27 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: The Font Manager SWI Calls, Font_ReadColourTable, Font_SetFontColours

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