|
||
int font_get ( SS_FONT_INFO *fi )
SS_FONT_INFO *fi; // A pointer to an SS_FONT_INFO structure
|
|
|||
Synopsis |
#include "silver.h"
The font_get function retrieves information about the font used for the screen text functions, message area functions, and the internal editor.
|
|
||
Parameters |
fi is a pointer to an SS_FONT_INFO structure that will be filled with the properties of the current screen text font.
|
|
||
Return Value |
font_get returns TRUE if successful and FALSE if there was a problem retrieving the font information.
|
|
||
See Also |
font_set, screen text functions
|
|
||
Example |
The following example will save the current font, set it to a Courier font, fill the graphics screen with strings, then wait for the user to press ESCAPE. Afterward the original font will be restored.
|
|