Offset | Contents | Default |
---|---|---|
+ 0 | Menu title (if null, then the menu is untitled) | |
+12 | Title foreground and frame colour | 7 |
+13 | Title background colour | 2 |
+14 | Work area foreground colour | 7 |
+15 | Work area background colour | 0 |
+16 | Width of menu items | |
+20 | Height of menu items | 44 |
+24 | Vertical gap between items | 0 |
+28 | Menu Items (24 bytes each) |
To enable menu windows to open on the other alternate side of the menu window, the menu title should be prefixed with ‘\’. This also reverses the sides that ticks and sub-menu arrows appear, and reverse the text alignment settings.
Work area colours do not need to be defined, unless the vertical gap value at offset 24 is greater than 0.
If the Menu title is not indirected (set within the menu items), then the length can be no greater than 12 characters. The title must also be terminated by use of a control code.