OILEnumFonts Class Reference

A class which allows kernel level and tool functions to inherit the ability to enum fonts. The class will call each OIL level font manager to enum their own specific set of fonts and the results will be returned to the derived NewFont() function. More...

#include <fontbase.h>

Inheritance diagram for OILEnumFonts:

CCObject SimpleCCObject EnumAllFonts FontDropEnumFont TextInfoBarEnumFont CDRFontnameStoredItemEnumer List of all members.

Public Member Functions

 OILEnumFonts ()
 This function allows kernel routines to enumerate all the installed fonts in the system. It is currently used to build menus.
void Execute ()
virtual BOOL NewFont (FontClass Class, ENUMLOGFONT FAR *lpelf)

Detailed Description

A class which allows kernel level and tool functions to inherit the ability to enum fonts. The class will call each OIL level font manager to enum their own specific set of fonts and the results will be returned to the derived NewFont() function.

Author:
Mike_Kenny (Xara Group Ltd) <camelotdev@xara.com>
Date:
13/9/95

Definition at line 235 of file fontbase.h.


Constructor & Destructor Documentation

OILEnumFonts::OILEnumFonts  ) 
 

This function allows kernel routines to enumerate all the installed fonts in the system. It is currently used to build menus.

Author:
Mike_Kenny (Xara Group Ltd) <camelotdev@xara.com>
Date:
12/9/95

Definition at line 1552 of file fontbase.cpp.

01553 {
01554 }


Member Function Documentation

void OILEnumFonts::Execute  ) 
 

Definition at line 1556 of file fontbase.cpp.

01557 {
01558 PORTNOTE("text","We do not use TTFontMan in wxOil")
01559 #ifndef EXCLUDE_FROM_XARALX
01560     TTFontMan::EnumAllFonts(this);
01561 #endif
01562 PORTNOTE("text","We do not use ATMFontMan in wxOil")
01563 #ifndef EXCLUDE_FROM_XARALX
01564     ATMFontMan::EnumAllFonts(this);
01565 #endif
01566 #ifdef __WXGTK__
01567     FTFontMan::EnumAllFonts(this);
01568 #endif
01569     // Add any further OIL Level font managers here
01570 }

virtual BOOL OILEnumFonts::NewFont FontClass  Class,
ENUMLOGFONT FAR *  lpelf
[virtual]
 

Reimplemented in EnumAllFonts, TextInfoBarEnumFont, and FontDropEnumFont.


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 03:57:19 2007 for Camelot by  doxygen 1.4.4