home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hand Held Organizer Toolkit
/
walnutcreekcdrom-handheldorganizertoolkit-march1998.iso
/
PalmPilot
/
development
/
pfc.sit
/
Src
/
CustomFonts.h
< prev
next >
Wrap
Text File
|
1997-04-25
|
992b
|
37 lines
/***********************************************************************
*
* Copyright ⌐ 1997 Ken Hancock
*
* PROJECT: CustomFonts support code
*
* FILE: CustomFonts.h
*
* DESCRIPTION: External headers for custom font support
*
* REVISION HISTORY:
* 4/8/97 KSH Initial version
*
**********************************************************************/
// CFInit should be called before any custom fonts are used.
void CFInit(void);
// CFSwapFont will replace the current system or custom font with
// one specified by the fontResID
Err CFSwapFont(FontID sysFont, Int fontResID);
// CFRestoreFont will restore the specified font to the system default
Err CFRestoreFont(FontID sysFont);
// CFRestoreAllFonts will restore any custom fonts back to the system defaults
Err CFRestoreAllFonts(void);
/*
The following are obsolete as of the 2.0 firmware
#define kCustomFontResBase 1000
#define kCustomFontBase 100
void InstallCustomFonts();
void RemoveCustomFonts();
*/