Classes | Public Member Functions | Private Member Functions

font::manager Struct Reference

#include <font.hpp>

List of all members.

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.

Detailed Description

Definition at line 28 of file font.hpp.


Constructor & Destructor Documentation

font::manager::manager (  ) 

Definition at line 319 of file font.cpp.

References ERR_FT, error(), init(), and LOG_FT.

Here is the call graph for this function:

font::manager::~manager (  ) 

Definition at line 332 of file font.cpp.

References clear_fonts(), and deinit().

Here is the call graph for this function:


Member Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

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