Pyrogenesis trunk
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
CFontManager Class Reference

Font manager: loads and caches bitmap fonts. More...

#include <FontManager.h>

Public Member Functions

std::shared_ptr< CFontLoadFont (CStrIntern fontName)
 

Private Types

using FontsMap = std::unordered_map< CStrIntern, std::shared_ptr< CFont > >
 

Private Member Functions

bool ReadFont (CFont *font, CStrIntern fontName)
 

Private Attributes

FontsMap m_Fonts
 

Detailed Description

Font manager: loads and caches bitmap fonts.

Member Typedef Documentation

◆ FontsMap

using CFontManager::FontsMap = std::unordered_map<CStrIntern, std::shared_ptr<CFont> >
private

Member Function Documentation

◆ LoadFont()

std::shared_ptr< CFont > CFontManager::LoadFont ( CStrIntern  fontName)

◆ ReadFont()

bool CFontManager::ReadFont ( CFont font,
CStrIntern  fontName 
)
private

Member Data Documentation

◆ m_Fonts

FontsMap CFontManager::m_Fonts
private

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