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_SetPalette

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

Wimp_SetPalette

(SWI &400E4)
Entry
R1 Pointer to Palette Block (20 word size)
Exit
R0 Corrupt

Use

The purpose of this call is to edit the Wimp palette values.

Notes

In 16 colour screen modes the video palette is also edited, and in other modes the Wimp’s colour lookup table may change.

For the change to take affect, the screen must be redrawn.

It causes Service_WimpPalette to be issued.

See also

  • Information on Colour?
  • Palette Block
  • Service_WimpPalette
  • Wimp_SetColour
Created on June 12, 2009 00:48:35 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: The Window Manager SWI Calls, Service_WimpPalette, Wimp_SetColourMapping, *WimpPalette, *Desktop_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