2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 17:44:56 +00:00

Set up editor for font cache test

This commit is contained in:
Jack Andersen
2015-11-22 22:47:57 -10:00
parent 64d62220fe
commit 63069c34ac
4 changed files with 11 additions and 4 deletions

View File

@@ -24,7 +24,11 @@ struct Application : boo::IApplicationCallback
m_clearColor = cvar->toColor(); m_clearColor = cvar->toColor();
} }
Application() : m_fileMgr(_S("rude")), m_fontCache(m_fileMgr), m_rootView(m_fontCache), m_cvarManager(m_fileMgr){} Application() :
m_fileMgr(_S("rude")),
m_fontCache(m_fileMgr),
m_rootView(m_fontCache),
m_cvarManager(m_fileMgr){}
int appMain(boo::IApplication* app) int appMain(boo::IApplication* app)
{ {
@@ -36,6 +40,9 @@ struct Application : boo::IApplicationCallback
if (tmp) if (tmp)
tmp->addListener(listen); tmp->addListener(listen);
boo::IGraphicsDataFactory* gf = m_mainWindow->getMainContextDataFactory();
m_fontCache.prepMainFont(gf);
while (m_running) while (m_running)
{ {
m_cvarManager.update(); m_cvarManager.update();

2
NODLib

Submodule NODLib updated: 7429c9b682...d94e89990f

2
hecl

Submodule hecl updated: 52b3252c2c...e0f1c2ee10