gedi::FontABO Class Reference

#include <Text.h>

Inherits gedi::DynABO.

Inheritance diagram for gedi::FontABO:

[legend]
Collaboration diagram for gedi::FontABO:
[legend]
List of all members.

Public Member Functions

 FontABO ()
 FontABO (gedi::Int32 iWidth, gedi::Int32 iHeight, LPSTR lpzFilename)
void LoadImage (LPSTR lpzDirectory)
gedi::Bool32 IsLoaded (void)
void SetColorKey (gedi::UInt8 iRed, gedi::UInt8 iGreen, gedi::UInt8 iBlue)

Detailed Description

Extended ABO class which handles fonts. Instances of this class are contained by gedi::Text class.


Constructor & Destructor Documentation

gedi::FontABO::FontABO (  ) 

Constructor.

gedi::FontABO::FontABO ( gedi::Int32  iWidth,
gedi::Int32  iHeight,
LPSTR  lpzFilename 
)

Constructor

Parameters:
iWidth Font width assumed fixed.
iHeigh Font height assumed fixed.
lzFilename Name of the file bitmap in BMP format.


Member Function Documentation

void gedi::FontABO::LoadImage ( LPSTR  lpzDirectory  ) 

Loads font image prefixed by the directory path.

Parameters:
lpzDirectory Directory of the font bitmap.

gedi::Bool32 gedi::FontABO::IsLoaded ( void   )  [inline]

Returns true if this font has already been loaded.

Returns:
gedi::True if the font has been loaded, gedi::False otherwise.

void gedi::FontABO::SetColorKey ( gedi::UInt8  iRed,
gedi::UInt8  iGreen,
gedi::UInt8  iBlue 
) [inline]

Sets the color key for the font image, default is 255,0,255.

Parameters:
Red Red.
iGreen Green.
iBlue Blue.


The documentation for this class was generated from the following files: