The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Public Member Functions | Private Member Functions | List of all members
font::manager Struct Reference

#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. More...
 

Private Member Functions

void init () const
 Initializes the font path. More...
 
void deinit () const
 Deinitializes the font path. More...
 

Detailed Description

Definition at line 30 of file font.hpp.

Constructor & Destructor Documentation

font::manager::manager ( )

Definition at line 365 of file font.cpp.

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

font::manager::~manager ( )

Definition at line 378 of file font.cpp.

References clear_fonts(), and deinit().

Member Function Documentation

void font::manager::deinit ( ) const
private
void font::manager::init ( ) const
private
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 386 of file font.cpp.

References deinit(), and init().

Referenced by game_launcher::game_launcher().


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