13 #include <boost/shared_ptr.hpp>
14 #include <boost/unordered_map.hpp>
15 #include <boost/smart_ptr.hpp>
22 typedef boost::shared_ptr<DtFont>
DtFontSP;
42 void addTextureListForDeletion(
const std::vector<unsigned int>& textures );
46 void releaseResouces();
49 void flushTextureList();
52 typedef std::pair<std::string,float>
FontId;
53 typedef boost::unordered_map< FontId, DtFontWP >
FontMap;
FontMap myMap
Definition: DtFontManager.h:55
std::string myFontPath
Definition: DtFontManager.h:56
voidpf void uLong size
Definition: ioapi.h:39
Manages instances of fonts, the font will be kept in memory unless the manager is cleared...
Definition: DtFontManager.h:28
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
boost::unordered_map< FontId, DtFontWP > FontMap
Definition: DtFontManager.h:53
A class with encapsulated a font loaded from disk with a given size.
Definition: DtFont.h:29
boost::weak_ptr< DtFont > DtFontWP
Definition: DtFontManager.h:23
boost::shared_ptr< DtFont > DtFontSP
Definition: DtFontManager.h:20
std::vector< unsigned int > myTextures
Definition: DtFontManager.h:54
std::pair< std::string, float > FontId
Definition: DtFontManager.h:52