Showing changes from revision #0 to #1:
Added | Removed | Changed
Entry | |
---|---|
R1 | Pointer to buffer for font menu, or 0 to find required size |
R2 | Counter and flags |
R3 | Size of buffer in R1 |
R4 | Pointer to buffer for indirected data, or 0 to find required size |
R5 | Size of buffer in R4 |
R6 | Pointer to identifier to tick, or 0 for none, or 1 for System Font |
Exit | |
---|---|
R2 | New count, or -1 if no more |
R3 | Required size of buffer in R1 if R1 = 0, or 0 if the menu is null, otherwise length of data placed in buffer |
R5 | Required size of buffer in R4 if R4 = 0, otherwise length of data placed in buffer |
Bit | Meaning |
---|---|
0-15 | Counter, or 0 for first call |
19 | Return menu definition in R1, indirected data in R4 |
20 | Place System Font at head of menu |
21 | Tick font in R6, and its parent |
22 | Return list of encodings rather than fonts |
23-31 | Reserved; must be 0 |
This call creates a list of fonts arranged as a menu.
For this form of the call, only bits 19-22 of the flags in R2 should be used. All other bits must be clear.
The returning definition is suitable for opening with Wimp_CreateMenu. Font_DecodeMenu can be used to work out which font was selected.