home *** CD-ROM | disk | FTP | other *** search
- FN_shell_Fonts_Init
- => None
-
- <= bool TRUE if module initialised correctly
- FALSE otherwise
-
- Normally called automatically when the library file
- is loaded by FNshell_InstallLib. If the library
- code is appended to the main program instead it will
- need to be called to initialise the fonts module.
-
- --------------------------------------------------------
-
- FNshell_Fonts_GetDeskTopFont
- => None
-
- <= int configured desktop font handle
-
- This routine only returns a meaningful value under
- RISC OS 3.5 or higher. The font handle should be
- re-read before any redraw which might involve the
- desktop font as the font can be changed at any time
- by the user.
-
- On older versions of RISC OS or if no DeskTop font
- is configured a value of 0 is returned to denote
- the 'system' font.
-
- --------------------------------------------------------
-
- FNshell_Fonts_FontIsAvailable()
- => str font name i.e. 'Trinity.Medium'
- real font width in pts
- real font height in pts
-
- <= bool TRUE font found, otherwise FALSE
-
- --------------------------------------------------------
-
- PROCshell_Fonts_FindFont()
- => str font name i.e. 'Trinity.Medium'
- real font width in pts
- real font height in pts
- int font handle (updated on return)
-
- This routine returns a handle for the specified
- font at the given size. It also causes the font
- to be cached for later use. If the font cannot
- be found the font handle is set to 0.
-
- Taken from BLibII library 'Draw' by Tom Hughes.
-
- --------------------------------------------------------
-
- PROCshell_Fonts_ForgetFont()
- => int font handle
-
- This routine should be called when a program
- has finished with a font. It tells the font
- manager that it may uncache the font if it
- wishes, as it is no longer being used.
-
- Taken from BLibII library 'Draw' by Tom Hughes.
-
- --------------------------------------------------------
-
- PROCshell_Fonts_SetColour()
- => int foreground colour
- int background colour
-
- This procedure sets the colours used for
- plotting outline fonts. Each of the
- specified colours is given as a word of
- the form &BBRRGG00.
-
- Taken from BLibII library 'Draw' by Tom Hughes.
-
- --------------------------------------------------------