|
||
void pm_font ( char *message, char *buf )
char *message; // prompt string char *buf; // address of buffer to receive result
|
|
|||
Synopsis |
#include "silver.h"
The pm_font function adds a font prompt to the current panel, with prompt specified by message . buf can be initialized to an empty string, or can be initialized to a font script. After pm_execute , the resulting font script is returned in buf .
|
|
||
Parameters |
message is a null-terminated string containing the prompt message. buf should be at least 80 characters in length. The font script will specify either a TrueType font or a SilverScreen font. Formats for these two font types are illustrated below:
The format of the font script is designed to be used with the text property command (text insertion) and the set command (annotation).
|
|
||
Return Value |
none.
|
|
||
See Also |
|
|
||
Example |
|
|
||
|
|