#include <font.hpp>
Classes | |
| struct | error |
Public Member Functions | |
| manager () | |
| ~manager () | |
| void | update_font_path () const |
| Updates the font path, when initialized it sets the fontpath to game_config::path. | |
Private Member Functions | |
| void | init () const |
| Initializes the font path. | |
| void | deinit () const |
| Deinitializes the font path. | |
Definition at line 28 of file font.hpp.
| font::manager::manager | ( | ) |
| font::manager::~manager | ( | ) |
Definition at line 332 of file font.cpp.
References clear_fonts(), and deinit().

| void font::manager::deinit | ( | ) | const [private] |
Deinitializes the font path.
Definition at line 368 of file font.cpp.
References ENTIRE_FILE_PATH, get_binary_paths(), get_files_in_dir(), and game_config::path.
Referenced by update_font_path(), and ~manager().


| void font::manager::init | ( | ) | const [private] |
Initializes the font path.
Definition at line 346 of file font.cpp.
References ENTIRE_FILE_PATH, ERR_FT, error(), get_binary_paths(), get_files_in_dir(), and game_config::path.
Referenced by manager(), and update_font_path().


| void font::manager::update_font_path | ( | ) | const |
Updates the font path, when initialized it sets the fontpath to game_config::path.
When this path is updated, this function should be called.
Definition at line 340 of file font.cpp.
References deinit(), and init().
Referenced by game_controller::game_controller().


| Generated by doxygen 1.7.1 on Fri May 25 2012 01:19:43 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |