neo::resource::FontManager Class Reference

#include <resource/font.h>

Inheritance diagram for neo::resource::FontManager:

Inheritance graph
[legend]
Collaboration diagram for neo::resource::FontManager:

Collaboration graph
[legend]
List of all members.

Detailed Description

Storage and management of fonts loaded from font library chunk files The font manager is a singleton object managing fonts
Author:
Mattias Jansson (mattias@realityrift.com)


Protected Member Functions

 FontManager ()
virtual ~FontManager ()
virtual gui::FontPtr clone (gui::FontPtr p_res)
virtual gui::FontPtr toType (core::Resource *p_resource)
virtual core::ResourcefromType (gui::FontPtr p_resource)


Constructor & Destructor Documentation

neo::resource::FontManager::FontManager (  )  [protected]

Protected, singleton objects are not allocated directly

virtual neo::resource::FontManager::~FontManager (  )  [protected, virtual]

Protected, singleton objects are not deallocated directly


Member Function Documentation

virtual gui::FontPtr neo::resource::FontManager::clone ( gui::FontPtr  p_res  )  [protected, virtual]

Clone new loaded resource

Parameters:
p_res Resource
Returns:
Cloned resource

Implements neo::resource::Manager< gui::FontPtr >.

virtual gui::FontPtr neo::resource::FontManager::toType ( core::Resource p_resource  )  [protected, virtual]

Type check and convert resource

Parameters:
p_resource Resource
Returns:
Resource of current type

Implements neo::resource::Manager< gui::FontPtr >.

virtual core::Resource* neo::resource::FontManager::fromType ( gui::FontPtr  p_resource  )  [protected, virtual]

Type check and convert resource

Parameters:
p_resource Resource of current type
Returns:
Resource

Implements neo::resource::Manager< gui::FontPtr >.


The documentation for this class was generated from the following file:
Generated on Sat Feb 17 20:51:07 2007 for NeoEngine 2 - Evolution by  doxygen 1.5.1