SGATMItem Class Reference

A DisplayTree node for ATM fonts in the Fonts SuperGallery. More...

#include <sgfonts.h>

Inheritance diagram for SGATMItem:

SGDisplayPreviewFonts SGDisplayItem SGDisplayNode CCObject SimpleCCObject List of all members.

Public Member Functions

 SGATMItem ()
 ~SGATMItem ()
 SGATMItem (KernelBitmap *PreviewFontsToDisplay, String_64 *Name, INT32 IL=0, PLOGFONT lpelf=NULL, UINT32 TheID=0)
virtual void GetFullInfoText (String_256 *Result)
 Returns the full-info text for this item, to support simple searching operations, and redraw methods for font items. Notes:.
virtual BOOL CreateThumbnail (KernelBitmap **Bitmap)
 Creates a bitmap for this font We assume the item contains a valid logfont structure.

Private Member Functions

 CC_DECLARE_DYNAMIC (SGATMItem)

Detailed Description

A DisplayTree node for ATM fonts in the Fonts SuperGallery.

Author:
Richard_Millican (Xara Group Ltd) <camelotdev@xara.com>
Date:
07/10/95
See also:
FontsSGallery; SuperGallery; SGDisplayItem

Definition at line 303 of file sgfonts.h.


Constructor & Destructor Documentation

SGATMItem::SGATMItem  ) 
 

SGATMItem::~SGATMItem  ) 
 

SGATMItem::SGATMItem KernelBitmap PreviewFontsToDisplay,
String_64 Name,
INT32  IL = 0,
PLOGFONT  lpelf = NULL,
UINT32  TheID = 0
 


Member Function Documentation

SGATMItem::CC_DECLARE_DYNAMIC SGATMItem   )  [private]
 

virtual BOOL SGATMItem::CreateThumbnail KernelBitmap **  Bitmap  )  [virtual]
 

Creates a bitmap for this font We assume the item contains a valid logfont structure.

Author:
Richard_Millican (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/2/95
Parameters:
- [INPUTS]
*Bitmap contains the bitmap on exit [OUTPUTS]
Returns:
TRUE if the bmp was created successfully FALSE if it was not
Notes: Only works with 8 and 32 bpp bmps at the mo.

Reimplemented from SGDisplayPreviewFonts.

virtual void SGATMItem::GetFullInfoText String_256 Result  )  [virtual]
 

Returns the full-info text for this item, to support simple searching operations, and redraw methods for font items. Notes:.

Author:
Richard_Millican (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/3/95
Parameters:
[INPUTS] 
Result - String to place resulting text in [OUTPUTS]
Returns:
The display mode type to use (position of text, and size of thumb)
See also:

Reimplemented from SGDisplayPreviewFonts.


The documentation for this class was generated from the following file:
Generated on Sat Nov 10 04:00:56 2007 for Camelot by  doxygen 1.4.4