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

Icon Flags

Programmer's Reference Manuals
» Part 7 - The Desktop
» The Window Manager
» SWI Calls
» Wimp_CreateIcon
» Wimp_CreateIcon (window syntax)
» Icon Block
» Icon Flags

Icon Flags

Bit Meaning when set
0 Icon contains text
1 Icon is a sprite
2 Icon has a border
3 Contents are centred horizontally
4 Contents are centred vertically within the box
5 Icon has a filled background
6 Text is an anti-aliased font1
7 Wimp cannot redraw icon by itself
8 Icon data is indirected
9 Text is right-justified
10 If selected with Adjust button, don’t cancel others in the same ESG
11 Display sprite at half size
12-15 Icon Button Type
16-19 Exclusive Selection Group
20 Text is numeric and must not be reversed (useful in territories with right-to-left alphabet)
21 Icon is selected by the user, and is inverted
22 Icon is disabled (shaded)
23 Icon is deleted
24-27 Foreground colour of icon1
28-31 Background colour of icon1, or
24-31 Font handle1

1 Bit 6 determines the the purpose of Bits 24 – 31. If set, bits 24-31 is the font handle, otherwise, it contains the (non 24-bit) icon colour information.

See also

  • Wimp_CreateWindow
  • Wimp_CreateIcon
Revised on June 28, 2009 14:21:20 by Alan Robertson (52)? (127.0.0.1)
Edit | Back in time (5 revisions) | See changes | History | Views: Print | Source | Linked from: The Window Manager Icons, Menu Items, Window Block, Icon Block, Icon Button Types, Lose_Caret, Gain_Caret, Wimp_SetIconState, Wimp_WhichIcon, Validation String C

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