Showing changes from revision #7 to #8:
Added | Removed | Changed
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 itself2 |
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.
2 Bit 7 is useful when an icon’s purpose is to display a sprite. By setting this bit, the OS will clear the contents of the icon when the icon is refreshed. Very useful, when the sprite has changed, as the remains of the previous sprite will be removed on screen, before the new sprite is displayed.