FontManager Class Reference

#include <font.h>

Collaboration diagram for FontManager:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FontManager ()
 ~FontManager ()
void add_font (const char *name, const char *archive, int index, int hlead=0, int vlead=1)
void remove_font (const char *name)
Fontget_font (const char *name)
void reset ()

Private Attributes

hash_map< const char *, Font *,
hashstr, eqstr
fonts

Detailed Description

Definition at line 79 of file font.h.


Constructor & Destructor Documentation

FontManager::FontManager (  ) 

Definition at line 582 of file font.cc.

FontManager::~FontManager (  ) 

Definition at line 586 of file font.cc.

References fonts.


Member Function Documentation

void FontManager::add_font ( const char *  name,
const char *  archive,
int  index,
int  hlead = 0,
int  vlead = 1 
)

Definition at line 591 of file font.cc.

References Font, fonts, and remove_font().

Referenced by BG_Game::BG_Game(), ExultMenu::ExultMenu(), and SI_Game::SI_Game().

Here is the call graph for this function:

void FontManager::remove_font ( const char *  name  ) 

Definition at line 600 of file font.cc.

References fonts.

Referenced by add_font().

Font * FontManager::get_font ( const char *  name  ) 

Definition at line 608 of file font.cc.

References fonts.

Referenced by ShapeBrowser::browse_shapes(), SI_Game::end_game(), BG_Game::end_game(), Game::journey_failed_text(), SI_Game::new_game(), BG_Game::new_game(), SI_Game::play_intro(), ExultMenu::run(), BG_Game::scene_butterfly(), BG_Game::scene_guardian(), BG_Game::scene_lord_british(), ExultMenu::setup(), SI_Game::show_credits(), BG_Game::show_credits(), SI_Game::show_quotes(), BG_Game::show_quotes(), and CheatScreen::show_screen().

void FontManager::reset (  ) 

Definition at line 613 of file font.cc.

References fonts.

Referenced by Init().


Member Data Documentation

hash_map<const char*, Font*, hashstr, eqstr> FontManager::fonts [private]

Definition at line 83 of file font.h.

Referenced by add_font(), get_font(), remove_font(), reset(), and ~FontManager().


The documentation for this class was generated from the following files:
Generated on Mon Jul 9 14:51:50 2007 for ExultEngine by  doxygen 1.5.1