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

Validation String C

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» SWI Calls
» Wimp_CreateIcon
» Wimp_CreateIcon (window syntax)
» Icon Block
» Icon Data
» Validation Strings
» Validation String C

Validation String C

Use

Allow 24-bit colours to be specified for icons.

Notes

Six different aspects of an icon colour can be specified using this command.

All colours are in the form BBGGRR. If any colour is not included, then the colour used is as specified in Icon Flags.

Syntax

C[foreground]/[background]/[slabbed-in background]/
[moat]/[light 3D edge]/[dark 3D edge]

Examples

C008800/0080FF Foreground mid green, background orange
CFF00FF Foreground magenta, background as per icon flag setting
C/00FFFF Foreground as per icon flags setting, background yellow

See also

  • Validation Strings
  • Wimp_CreateWindow
  • Wimp_CreateIcon
Created on June 18, 2009 20:37:30 by Alan Robertson (52)? (127.0.0.1)
Edit | Views: Print | Source | Linked from: Extra Window Flags, Validation Strings

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