home *** CD-ROM | disk | FTP | other *** search
- PROCshell_FontGetHandle()
- Params =>
- str font name
- real height of font (in points)
- real width of font (in points)
-
- This routine returns a handle for the specified
- font at the given size. It also causes the font
- to be cached for later use.
-
- Taken from BLibII library 'Draw' by Tom Hughes.
-
- --------------------------------------------------------
-
- PROCshell_FontForgetFont()
- Params =>
- str 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_FontSetColour()
- Params =>
- 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.
-
-
- --------------------------------------------------------
-
- PROCshell_AttachFontSubMenu()
- Params =>
- int item handle
- str function to call when menu_warning
- message is received (optional, may
- be "")
-
- This routine will attempt to load the necessary
- 'FontMenu' support module if it is not already
- loaded. It expects to find it in the
- EvntShellSystem$Path (usually in !ShellSys).
-
- User FN (PROCshell_AttachFontSubMenu)
- Params =>
- int window handle
- int icon handle
-
- <=
- int junk
-
- This function can be used to set the currently
- selected font in the menu about to be opened.
- Use PROCshell_FontMenuSelectFont to do this.
-
- --------------------------------------------------------
-
- FNshell_FontMenuGetLastSelectedFont
- Params =>
- None
-
- <=
- str font name (could be "")
-
- This routine should be used in the function
- called when a menu_select event has occurred to
- discover if font menu selection has been made,
- and if so the name of the font.
-
- If no valid font menu selection has been made
- the function will return "" and no action should
- be taken.
-
- --------------------------------------------------------
-
- PROCshell_FontMenuSelectFont()
- Params =>
- str name of font to select
-
- The font name is used by the library routines
- to decide which font name to select when the
- font menu opens. As the same font menu can be
- used by different applications it is important
- to set this up just before the menu opens.
-
- --------------------------------------------------------