| 72 | } |
| 73 | |
| 74 | UI::zFont::zFont(Engine::BaseEngine& e, const ZenLoad::zCFont::FontInfo& fontInfo) |
| 75 | : m_Engine(e) |
| 76 | , m_Font(fontInfo) |
| 77 | { |
| 78 | LogInfo() << "Loading font file: " << fontInfo.fontName; |
| 79 | |
| 80 | // Load the fonts texture |
| 81 | m_FontTexture = m_Engine.getEngineTextureAlloc().loadTextureVDF(fontInfo.fontName); |
| 82 | } |
| 83 | |
| 84 | UI::zFont::~zFont() |
| 85 | { |
nothing calls this directly
no test coverage detected