Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

BFontManager Class Reference

#include <BFontManager.h>

List of all members.


Detailed Description

Font management master class (singleton).

You cannot create BFontManager instances yourself. There is only one instance, accessed using the get() method.


Public Member Functions

void addFont (BFont *font)
void scanDirectory (const std::string &dir)
int numFonts ()
const std::vector< std::string > & fontNames ()
std::vector< int > sizesForFont (const std::string &name)
bool hasFont (const std::string &name, int size, bool bold, bool oblique)
BFontfont (const std::string &name, int size, bool bold, bool oblique)

Static Public Member Functions

BFontManager * get ()

Protected Member Functions

void fontIsDeleted (BFont *font)

Friends

class BFont


Member Function Documentation

void BFontManager::addFont BFont   font
 

BFont* BFontManager::font const std::string &    name,
int    size,
bool    bold,
bool    oblique
 

void BFontManager::fontIsDeleted BFont   font [protected]
 

const std::vector<std::string>& BFontManager::fontNames   [inline]
 

BFontManager* BFontManager::get   [static]
 

bool BFontManager::hasFont const std::string &    name,
int    size,
bool    bold,
bool    oblique
 

int BFontManager::numFonts   [inline]
 

void BFontManager::scanDirectory const std::string &    dir
 

std::vector<int> BFontManager::sizesForFont const std::string &    name
 


Friends And Related Function Documentation

friend class BFont [friend]
 


The documentation for this class was generated from the following file:
Generated on Sat Dec 29 10:00:21 2007 for DSGUI by doxygen1.3-rc3