#include <font.h>
Collaboration diagram for FontManager:
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) |
Font * | get_font (const char *name) |
void | reset () |
Private Attributes | |
hash_map< const char *, Font *, hashstr, eqstr > | fonts |
Definition at line 79 of file font.h.
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 | ) |
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 | ( | ) |
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().