home *** CD-ROM | disk | FTP | other *** search
/ Hand Held Organizer Toolkit / walnutcreekcdrom-handheldorganizertoolkit-march1998.iso / PalmPilot / development / pfc.sit / Src / CustomFonts.h < prev    next >
Text File  |  1997-04-25  |  992b  |  37 lines

  1. /***********************************************************************
  2.  *
  3.  *    Copyright ⌐ 1997 Ken Hancock
  4.  *
  5.  * PROJECT: CustomFonts support code
  6.  *
  7.  * FILE: CustomFonts.h
  8.  *
  9.  * DESCRIPTION: External headers for custom font support
  10.  *
  11.  * REVISION HISTORY:
  12.  *      4/8/97    KSH        Initial version
  13.  *
  14.  **********************************************************************/
  15.  
  16. //    CFInit should be called before any custom fonts are used.
  17. void    CFInit(void);
  18.  
  19. //    CFSwapFont will replace the current system or custom font with
  20. //        one specified by the fontResID
  21. Err     CFSwapFont(FontID sysFont, Int fontResID);
  22.  
  23. //    CFRestoreFont will restore the specified font to the system default
  24. Err     CFRestoreFont(FontID sysFont);
  25.  
  26. //    CFRestoreAllFonts will restore any custom fonts back to the system defaults
  27. Err     CFRestoreAllFonts(void);
  28.  
  29. /*
  30.     The following are obsolete as of the 2.0 firmware
  31.     
  32. #define    kCustomFontResBase    1000
  33. #define    kCustomFontBase        100
  34.  
  35. void        InstallCustomFonts();
  36. void        RemoveCustomFonts();
  37. */